Hero Light

Welcome to Alchemy, a modern, batteries included web framework for Swift. You can use it to build a production ready backend for your next mobile app, cloud project or website.

struct App: Application {
    func boot() {
        get("/hello") { req in
            "Hello, \(req["name"])!"

Why Alchemy?

Swift on the Server is exciting but relatively nascant ecosystem. Building a backend with it can be daunting and the pains of building in a new ecosystem can get in the way. Alchemy gives you modern, robust, Swifty APIs for everything you need to build a production-ready backend such asโ€ฆ

  • ๐Ÿšฆ Simple, fast routing engine.
  • ๐Ÿ“ฆ Powerful dependency injection container & plugins.
  • ๐Ÿš€ Robust background job queues.
  • ๐Ÿ˜ Database agnostic ORM with migrations & extensible relationships.
  • โฑ๏ธ Cron-like task scheduler.
  • ๐Ÿ“„ Clean, declarative service configurations.
  • ๐Ÿงช Expressive testing APIs.

Alchemy is powered by SwiftNIO and the blazingly fast Hummingbird framework so that out of the box you can integrate existing Swift on the Server code. Stay focused on building your next amazing project in modern, Swifty style without sweating the details.

Start Building

To get setup with Alchemy, check out the Quickstart. If youโ€™d rather dive right into some code, take a look at the examples repo.