#307307th of 358 in Backends, databases and hosting
perfect
Index of server-side Swift packages: HTTP server, ORM, sessions, OAuth
- Stars
- 13.7k
- License
- Apache-2.0
- Last commit
- Oct 2026
- Last release
- Mar 2016
13,699 on 6 May 202613,716 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Perfect is a map to separate server-side Swift 6 packages: a SwiftNIO-based HTTP(S) server (Perfect-NIO), a Codable ORM with MySQL, MariaDB, PostgreSQL and SQLite drivers, sessions, OAuth 2.0 sign-in, SMTP, APNs and FileMaker clients. The repository itself holds no code; the old PerfectLib framework lives on a legacy branch. PerfectTemplate is the suggested starting point.
Who it is for: Swift developers building HTTP servers and database-backed services
Strengths
- Each package is released and tested separately, with minimal dependencies
- Clients for MySQL, MariaDB, PostgreSQL, SQLite, MongoDB and Redis
- Perfect-NIO offers typed routes, WebSockets and per-domain TLS on SwiftNIO
- Migration table maps old PerfectLib packages to current replacements
Weaknesses
- This repository is only an index; the code lives in separate repos
- Requires Swift 6.2 or later; macOS 12+ and Linux only
- PerfectLib is unmaintained, so older projects must migrate
- Perfect-Mustache, Perfect-Markdown and Perfect-LDAP are still under review
What it needs
- no GPU
- Needs Swift 6.2+, SwiftNIO, MySQL, PostgreSQL, SQLite, MongoDB or Redis (per package)
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Also in Backends, databases and hosting
See all 358| Rank | Project | Score |
|---|---|---|
| #305 | sanicAsync Python web server and framework with a built-in CLI runner | 48 out of 100 |
| #306 | pouchdbJavaScript document database for browsers and Node.js that syncs with CouchDB | 48 out of 100 |
| #308 | faas-netesOpenFaaS provider that runs serverless functions on Kubernetes | 48 out of 100 |
| #309 | cnosdbDistributed time-series database in Rust with SQL and line-protocol writes | 48 out of 100 |
| #310 | gardenKubernetes dev, test and CI automation driven by garden.yml action graphs | 47 out of 100 |