Awesome Bun
A curated list of awesome things related to Bun
Bun is an incredibly fast JavaScript runtime, bundler, transpiler and package manager – all in one.
Contents
Essentials
Articles
- Exploring Bun
- Scaffolding your bun project
- Bun Tutorial – Getting Started Guide With Examples
- Create a react app with bun
- Let's create a next.js app with bun
- Bun: A Complete Overhaul of the JavaScript Ecosystem
Boilerplates
- Bun on Railway - Starter
- Bun Quick-starter for VS Code Remote - Containers and GitHub Codespaces
- Create Bun Boilerplates
- React Bun Template for Gitpod
- React-Typescript template
- Bun Lib Starter
- tRPC + Bun
- remix-bun
- Bun Template for Gitpod
- Nixpacks Bun web server
- sveltekit-bun-template
- react-nostalgia-boilerplate
Extensions
Frameworks
- Bao.js -
🥟 A fast, minimalist web framework for the Bun JavaScript runtime. - Oily.js - A blazingly fast Bun.js filesystem router, with an unpleasantly smooth experience!
- bun-bakery - Bun-Bakery is a web framework for Bun. It uses a file based router in style like svelte-kit. No need to define routes during runtime.
- Hono - Ultrafast web framework for Cloudflare Workers, Deno, and Bun. Fast, but not only fast.
- ElysiaJS - Fast, and friendly Bun web framework.
- bun-framework-next - Lets you use Next.js 12 with bun.
- Appetit - Create universal web applications following the PRPL pattern, with web components.
- Colston.js - Fast, lightweight and zero dependency framework for bunjs
🚀 . - nbit - A nano-sized, zero-dependency, strongly-typed web framework for Bun.
- Bagel.js - Tiny and expressive web framework for Bun, inspired by Express.
- Chopstick.ts -
🥢 A Typescript first web framework running on Bun - Shumai - Fast differentiable tensor framework for machine learning in Bun.
- Yoga Server - A fast, fully featured GraphQL Framework that runs on Bun, Cloudflare Workers, Deno, and any JS environment.
- GraphQL Mesh - Gateway that takes any source API and exposes GraphQL. Runs on Bun, Cloudflare Workers, Deno, and any JS environment.
- buxt - Lightweight filesystem REST API router written for Bun.
- Zarf - Fast, Bun-first, Web API framework with full Typescript support.
- Stric - Fast and lightweight web framework for Bun.
- Buchta - Full-Stack Framework Powered by Bun.
Libraries
- hattip - Set of JavaScript packages for building HTTP server applications, with Bun support.
- hyperbun - HTTP routing library built on top of Bun's built in HTTP solution.
- siopao - Minimal routing library. Based on Radix Tree.
- fastify-edge - An experimental lightweight worker version of Fastify.
- burm - A simple, fast, reliable Object Relationship Manager for Bun.
- Melonpan -
⚡️ A minimalistic and sweet router for blazing fast bun. - bunrest - An express-like API for bun server
Utilities
- serve-static-bun - Serve static files using Bun.serve or Bao.js.
- bun-types - Typescript with Bun.
- bun-utilities - Bindings for useful functions for bun.
- bun-livereload - Automatically reload any imports.
- bun-html-live-reload - Automatically reload html when Bun server hot reloads.
- bun-wifi-name - Get current wifi name in Bun.
- bun-promptx - Terminal prompt library based on bubbles via bun:ffi.
- blipgloss - Style definitions for nice terminal layouts
👄 . - Lyra -
🌌 Fast, in-memory, typo-tolerant, full-text search engine written in TypeScript. - bnx - zx inspired shell for Bun/Node.
- bun-aws-lambda - Hacky attempt to get bun to run on AWS Lambda
- postgres-bun - fast postgres bindings for bun runtime (libpq ffi)
Adapters
- svelte-adapter-bun - Adapter for SvelteKit apps that generates a standalone Bun server.
- kysely-bun-sqlite - Kysely with SQLite, running on Bun.
- fable-bun - Fable bindings for Bun.sh.
- duckdb -
🦆 fast duckdb bindings for bun runtime. - bun-readline - GNU-Readline kind library for the Bun runtime.
- bunray - Simple bun bindings for raylib.
Videos
[EN]
- JavaScript just got way faster - Fireship
- What is Bun
- Install Bun JS In Windows - Faster JavaScript
- Install and Run Bun JS In Real Server
- How to create and run Next.js App on Bun JavaScript Runtime
- How to create and run React App on Bun JavaScript Runtime
- Bun server is FASTER than Node.js - HTTP Throughput
- New JS runtimes Deno & Bun - Shawn Swyx Wang
[ES]
Tools
- bun.new - Instant Bun playground in browser.
- sublime-bun - Bun binary files viewer and other Bun-related stuff for Sublime Text editor.
- Shumai - A delicious new outlook on command line argument handling with Bun.
- asdf-bun - asdf version manager plugin for installing Bun.
- setup-bun - Set up your GitHub Actions workflow with a specific version of Bun.
- action-setup-bun - Setup GitHub Actions workflow with a specific version of Bun.
- bun-discord-bot - Interaction Discord bot written in JS and TS using Bun runtime environment.
- bun-discord-bot(serverless) - Official serverless discord bot for bun discord server.
- bunbot - Native cross-platform GUI automation for the Bun runtime. Supports Mac and Windows for now.
- Discall - A async functional discord API wrapper written in bun.
- bun-doc - A procedural documentation and website generator written in Bun.
- VS Code Bun extension - VS Code extension to execute JavaScript .js file or TypeScript .ts file by Bun.
- bkg - Package Bun apps into a single executable. bkg is a CLI tool that can generate self-sufficient binaries from your Bun code for multiple platforms.
Community
- Discord
- Bun tagged NPM packages
- Benchmarks
- Framework benchmarks
- Bun HTTP Framework Benchmark - Compare throughput benchmark from various Bun HTTP framework
- sveltekit-adapter-bun
Contributing
This repository is built for the community. Submit packages, articles, blogs, videos and more that utilizes Bun to share with the developer community. Please refer to CONTRIBUTING.md for details.