Bun Runtime for Vercel Serverless Functions

I created a custom Bun runtime for Vercel serverless functions by implementing Vercel’s Runtime API interface.

Unlike the existing custom Bun runtime, this one integrates seamlessly into Vercel’s GitHub webhook deployment integrations, and is easily deployable alongside a Next.js application with only a few additional lines in your project’s vercel.json.

The repository is here: GitHub - johnny-woodtke/vercel-bun: Bun runtime for Vercel serverless functions

I have a simple example deployed here: https://vercel-bun-nine.vercel.app

Feedback would be much appreciated! I felt the documentation on developing a runtime was a bit sparse, so I know there are still optimizations to be made and bugs to be squashed.

1 Like

Thanks for sharing this alternative runtime!

1 Like