These packages are available as a package collection, usable in Xcode or SwiftPM.
A small, dependency-free HTTP/1.1 server framework in Swift for macOS, iOS and tvOS. Run a web server inside your app or tool: routing, JSON, forms and uploads, file serving, cookies and WebSockets, plus an HTML builder. Safe defaults (loopback only, limits, timeouts) and an option to run everything on one thread.
1 package.