Skip to content

Architecture

sawdust/
├── projects/
│ ├── doc-site/ # this site (Astro + Starlight)
│ └── ... # other workspace packages
├── bun.lock
└── package.json
LayerChoiceWhy
Package mgrBunFast install, native TS
Web serverBun.serveBuilt-in, no Express
DB driverBun.sqlNative Postgres
Doc siteAstro + StarlightVite bundler, ESM-first
  1. bun install resolves workspace deps.
  2. Each package runs its own build script.
  3. Static output deploys independently.
flowchart LR
A[Markdown source] --> B[Astro build]
B --> C[Static HTML]
C --> D[CDN]
D --> E[User browser]