My blog that will live on cbraaten.dev
Focused on fast loads, targeting sub 128KB pages with all assets bundled and an AppShell model for even faster client navigation. Powered by Bun.
Mount JSX server side templating for blog posts. Send AppShell conditionally. Maintain support for HMR via HTMLbundles using Bun's native fullstack dev server under an /hmr path. This is only mounted in development and is supported by the onImport Bun plugin. Add DB creation on startup and load pages based on those records. |
||
|---|---|---|
| bun_plugins | ||
| content | ||
| src | ||
| temp | ||
| .gitignore | ||
| bun.lock | ||
| bunfig.toml | ||
| index.tsx | ||
| markdown.d.ts | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
Elysia with Bun runtime
Getting Started
To install dependencies run:
bun install
Development
To start the development server run:
bun run dev
Open http://localhost:3000/ with your browser to see the result.