# PerfectlySoft/Perfect

Server-side Swift. The Perfect core toolset and framework for Swift Developers. (For mobile back-end development, website and API development, and more…)

Repository: https://github.com/PerfectlySoft/Perfect
Canonical: https://ross.abutalabs.com/products/perfect
Homepage: https://www.perfect.org
Language: Swift
License: Apache-2.0
License Family: permissive
Topics: swift, server-side-swift, web-application-framework, swift-framework, swift-perfect-community, perfect
Last push: 2024-02-03T15:38:39+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3988, "days_push": 942, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 13742, forks 926 (observed 2026-08-28T04:11:04.721773+00:00)

## What it is
Perfect is a server-side Swift framework and application server providing an HTTP/HTTPS server, routing, WebSockets, templating, and a suite of tools for building web apps and REST services entirely in Swift. It includes database connectors (MySQL, PostgreSQL, MongoDB, SQLite, Redis), an ORM (StORM), and authentication modules, running on macOS and Linux.

## Use cases
- build a REST API backend for an iOS app in Swift
- create a website with server-side Swift
- serve WebSockets for a real-time app
- connect a Swift server to MySQL or PostgreSQL
- build a mobile backend using one language for client and server
- deploy a Swift web server on Linux

## When to choose
- your team already knows Swift and wants to share code between iOS clients and the server
- you need a full-featured Swift web framework with database connectors, sessions, and templating
- you want to deploy Swift services on Linux or macOS

## When to avoid
- you need a framework with a large, actively evolving ecosystem - development activity has slowed significantly
- you need cutting-edge Swift toolchain support (it targets Swift 5.2 / Xcode 11)
- you prefer mainstream options like Vapor with a larger community

## Facets
- artifact type: framework
- maturity: maintenance
- function: web-framework, http-server, routing, templating, websocket, orm, auth, logging, serialization
- domain: web-development, backend, mobile-development, apis, developer-tools
- platform: -
- tags: server-side-swift, rest-services, fastcgi, mustache-templates, database-connectors, application-server, macos, linux, swift, ios

## Member repositories
- PerfectlySoft/Perfect (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:04.721773+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:13:04.345852+00:00, confidence not recorded.
  - readme: https://github.com/PerfectlySoft/Perfect (fetched 2026-08-28T04:11:04.721773+00:00, sha a18b93802d06)
  - homepage: https://www.perfect.org (fetched 2026-08-29T08:07:33.250878+00:00, sha daa06c9c9303)
  - site_page: https://perfect.org/about.html (fetched 2026-08-29T08:07:33.259887+00:00, sha 62b7fdbd88b9)
  - site_page: https://perfect.org/docs (fetched 2026-08-29T08:07:33.265594+00:00, sha e206de5799de)
  - site_page: https://perfect.org/docs/gettingStarted.html (fetched 2026-08-29T08:07:33.268127+00:00, sha 8477c79e4f44)
  - site_page: https://perfect.org/faqs.html (fetched 2026-08-29T08:07:33.262390+00:00, sha c370c4669675)
- Data as of 2026-08-30T08:39:29.467469+00:00.
