Swift Runtime for Vercel Serverless Functions

Hey everyone,

I've been working on a Swift runtime + SPM plugin for Vercel that makes it trivial to deploy applications to their platform. I have it in a place where its fully functional so wanted to share:

Under the hood Vercel deploys to AWS Lambda so I was able to take advantage of their Build Output API and the AWSLambdaRuntime from swift-server. Feedback, suggestions and PRs are all welcome.

12 Likes

This is fantastic! I haven't used Vercel functions yet but this will get me to try them out.

1 Like