- π 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.