Awesome
<p align="center"> <br> <img width="160" src="./awesome-bun.png" alt="logo of awesome-bun repository"> <br> <br> </p> <h2 align='center'>Awesome Bun</h2> <p align='center'> A curated list of awesome things related to <a href='https://github.com/oven-sh/bun'>Bun</a> <br><br> <a href='https://github.com/sindresorhus/awesome'> <img src='https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg' alt='Awesome'> </a> </p>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
- Server-Side Rendering (SSR) With Bun and React
Courses & Books
Boilerplates
- Extro - open source browser extension starter kit
- Bun on Railway - Starter
- Bun on Dev Containers & 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
- Bun OpenAI Whisper Microservice with Docker
- DBest Stack
- 🐵 Xmonkey Userscript: Bun + TypeScript Boilerplate
Extensions
Frameworks
- Elysia - Fast, and friendly Bun web framework.
- Hono - Ultrafast web framework for Cloudflare Workers, Deno, and Bun. Fast, but not only fast.
- Vixeny - A fast, pure functional web framework for Bun and Deno.
- Grace - An innovative, type-safe and easy-to-use API framework.
- Primate - Expressive, minimal and extensible web framework.
- NBit - A zero-dependency, strongly-typed web framework for Bun, Node and Cloudflare workers.
- GraphQL Yoga - A fast, fully featured GraphQL Framework that runs on Bun, Cloudflare Workers, Deno, and any JS environment.
- Gamepadzilla A plug-and-play gamepad frontend framework for HTML5 mobile games, supporting both virtual and physical joysticks. No scripting required.
- BunWork - Simple, Fast and Minimalist Backend Framework with No Pain
- Brisa A full-stack web framework with Server Actions and Web Components with JSX + signals
Libraries
- @stricjs/utils - A set of blazingly fast, general-purpose web utilities.
- Hattip - Set of JavaScript packages for building HTTP server applications, with Bun support.
- Siopao - Minimal routing library. Based on Radix Tree.
- Fluxify - A neat little library powered by Bun for building apis.
- GraphQL Mesh - Gateway that takes any source API and exposes GraphQL. Runs on Bun, Cloudflare Workers, Deno, and any JS environment.
- bun-types - Typescript with Bun.
Utilities
- bun-fs-router-plugin - Bundler plugin to enable filesystem based routing at build time
- 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.
- serve-static-bun - Serve static files using Bun.serve or Bao.js.
- bun-promptx - Terminal prompt library based on bubbles via bun:ffi.
- blipgloss - Style definitions for nice terminal layouts 👄.
- Orama - 🌌 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)
- prerender-macro - Bun plugin to prerender JSX components using a kind of macro
- type-explorer - Runtime type inspection and schema generation for JS/TS.
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.
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
- New JS runtimes Deno & Bun - Shawn Swyx Wang
[ES] 🇪🇸
Tools
- bun.new - Instant Bun playground in browser.
- Bum - A fast Bun version manager written in Rust.
- 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.
Community
- Discord
- Bun tagged NPM packages
- Benchmarks
- Framework benchmarks - Comparing Bun HTTP frameworks.
- Bun HTTP Framework Benchmark - Compare throughput benchmark from various Bun HTTP frameworks.
- 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.