- 🚄 Lightning-fast performance with Bun integration
- 🔧 Easy setup - get started in minutes
- 🔄 Seamless compatibility with Astro projects
- 🛠️ Unix socket support - easily run your Bun server with Unix sockets
- 🛠️ Flexible configuration options
- Install the package:
npm install @hedystia/astro-bun
- Add it to your Astro config:
import { defineConfig } from "astro/config";
import bun from "@hedystia/astro-bun";
export default defineConfig({
// ... other config options
adapter: bun(),
});
- Build your Astro project:
astro build
- Run your project with Bun:
bun run ./dist/server/entry.mjs
Customize your setup with these options:
import { defineConfig } from "astro/config";
import bun from "@hedystia/astro-bun";
export default defineConfig({
adapter: bun(),
output: "static",
server: {
"host": "0.0.0.0",
"port": 3000,
}
});
- Blazing Fast: Harness the speed of Bun for your Astro projects
- Modern Development: Stay ahead with cutting-edge web technologies
- Optimized Performance: Fine-tuned for efficiency and speed
This project is licensed under the MIT License.