A general-purpose starting point for building sites with EmDash on Cloudflare Workers. Includes posts, pages, categories, and tags with minimal styling -- designed as a base you can build on rather than a finished theme.
- Posts with category and tag archives
- Static pages via slug routing
- Seed data with demo content
- D1 database and R2 storage pre-configured
- Dark/light mode support
| Page | Route |
|---|---|
| Homepage | / |
| All posts | /posts |
| Single post | /posts/:slug |
| Category archive | /category/:slug |
| Tag archive | /tag/:slug |
| Static pages | /:slug |
| 404 | fallback |
- Runtime: Cloudflare Workers
- Database: D1
- Storage: R2
- Framework: Astro with
@astrojs/cloudflare
pnpm install
pnpm bootstrap
pnpm devpnpm deployOr click the deploy button above to set up the project in your Cloudflare account.
- Node.js variant -- same template using SQLite and local file storage
- All templates
- EmDash documentation