🚀 Nuxt module that automatically configures Nitro for
bun build --compile, generating a standalone executable binary from your Nuxt app — zero runtime dependencies needed.
Step 1: Install the module
bun nuxt add nuxt-bun-compileStep 2: Build your binary
bun run -b buildIf you encounter memory issues during build
Step 3: Run your binary
./nuxtbin
# Listening on http://localhost:3000Done! Your standalone binary is ready.
That's it. One binary. No node_modules. No runtime. Just your app.
- 🎯 What It Does
- ⚙️ Options
- 📦 Default External Packages
⚠️ Native Dependencies in Alpine Linux- 🏗️ Architecture
- 📚 Usage Examples
- 🧑💻 Development
- 🛠️ Tech Stack
- 📝 Notes
- Bun 1.3.9+ (for the
--compilestep) - Nuxt 3.x / 4.x
- Node 24+ (when not using Bun as runtime)
MIT
