# Vapor

💧 A server-side Swift HTTP web framework.

Repository: https://github.com/vapor/vapor
Canonical: https://ross.abutalabs.com/products/vapor
Homepage: https://vapor.codes
Language: Swift
License: MIT
License Family: permissive
Topics: vapor, swift, server-side-swift, web-framework, server, framework, http, http2
Last push: 2026-08-26T13:09:22+00:00
Link (homepage): https://vapor.codes
Link (site_page): https://docs.vapor.codes
Link (site_page): https://api.vapor.codes
Link (site_page): https://api.vapor.codes/

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

## Adoption (not part of the score)
Stars 26192, forks 1523 (observed 2026-08-28T04:11:38.865697+00:00)

## What it is
Vapor is a server-side HTTP web framework written in Swift, built on SwiftNIO with a non-blocking, event-driven architecture. It includes an ecosystem of packages such as Fluent (ORM), JWT (authentication), Leaf (templating), and WebSocketKit, enabling full backend, API, and web app development in Swift.

## Use cases
- build a REST API in Swift
- create an HTTP server backend for an iOS app team
- serve JSON endpoints with routing and middleware
- build a website with server-side templating
- add JWT authentication to a Swift backend
- query a database with an ORM without writing SQL
- handle websocket connections server-side

## When to choose
- your team already knows Swift and wants to reuse it for the backend
- you want a type-safe, performant, async/await-based web framework
- you need a full-stack Swift ecosystem including ORM, JWT, and templating

## When to avoid
- your team primarily works in another language and has no Swift expertise
- you need a framework with a much larger middleware/job-market ecosystem like Node or Rails
- you rely on libraries or hosting tooling that only support mainstream server languages

## Facets
- artifact type: framework
- maturity: stable
- function: web-framework, http-server, routing, orm, auth, templating, websocket, middleware
- domain: web-development, backend, apis, developer-tools
- platform: cross-platform
- tags: server-side-swift, swift-nio, http2, fluent, jwt, leaf, async-await, swift, linux, macos, web-server

## Member repositories
- vapor/vapor (main) score 99
- vapor/fluent (plugin) score 70

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:38.865697+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-29T16:55:55.282930+00:00, confidence not recorded.
  - readme: https://github.com/vapor/vapor (fetched 2026-08-28T04:11:38.865697+00:00, sha 97520c130aa5)
  - homepage: https://vapor.codes (fetched 2026-08-29T07:52:23.754598+00:00, sha f4c8465d1adb)
  - site_page: https://docs.vapor.codes (fetched 2026-08-29T07:52:23.779960+00:00, sha cf06f9b25950)
  - site_page: https://api.vapor.codes (fetched 2026-08-29T07:52:23.789848+00:00, sha 315326336361)
  - site_page: https://api.vapor.codes/ (fetched 2026-08-29T07:52:23.792817+00:00, sha 315326336361)
- Data as of 2026-08-30T08:39:29.467469+00:00.
