#307307th of 358 in Backends, databases and hosting

perfect

Index of server-side Swift packages: HTTP server, ORM, sessions, OAuth

Releases and problems feed (RSS)

Stars
13.7k
License
Apache-2.0
Last commit
Oct 2026
Last release
Mar 2016
Stars, last 29 weeks+17
6 May 2026: 13,699 stars13 May 2026: 13,699 stars20 May 2026: 13,699 stars27 May 2026: 13,699 stars3 Jun 2026: 13,699 stars10 Jun 2026: 13,699 stars17 Jun 2026: 13,699 stars24 Jun 2026: 13,699 stars1 Jul 2026: 13,699 stars8 Jul 2026: 13,702 stars15 Jul 2026: 13,704 stars22 Jul 2026: 13,704 stars29 Jul 2026: 13,705 stars5 Aug 2026: 13,706 stars12 Aug 2026: 13,707 stars19 Aug 2026: 13,707 stars26 Aug 2026: 13,708 stars2 Sept 2026: 13,709 stars9 Sept 2026: 13,709 stars16 Sept 2026: 13,710 stars23 Sept 2026: 13,711 stars30 Sept 2026: 13,711 stars7 Oct 2026: 13,711 stars14 Oct 2026: 13,711 stars21 Oct 2026: 13,711 stars28 Oct 2026: 13,714 stars4 Nov 2026: 13,714 stars11 Nov 2026: 13,715 stars18 Nov 2026: 13,716 stars25 Nov 2026: 13,716 stars

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
Also in Backends, databases and hosting
RankProjectScore
#305sanicAsync Python web server and framework with a built-in CLI runner18.6k starsMIT48 out of 100
#306pouchdbJavaScript document database for browsers and Node.js that syncs with CouchDB17.6k starsApache-2.048 out of 100
#308faas-netesOpenFaaS provider that runs serverless functions on Kubernetes2.2k starscustom license48 out of 100
#309cnosdbDistributed time-series database in Rust with SQL and line-protocol writes1.8k starsAGPL-3.048 out of 100
#310gardenKubernetes dev, test and CI automation driven by garden.yml action graphs3.6k starsMPL-2.047 out of 100