A starter vault and template repository for Daybook, a minimalist static blog generator for Obsidian notes.
This template is configured for Cloudflare Workers Builds. Click the button above to automatically:
- Clone this repository to your GitHub account.
- Provision a D1 Database (for page-view statistics).
- Provision a Durable Object namespace (for realtime viewing presence).
- Build the static site and deploy the API worker to Cloudflare.
Subsequent git pushes to your repository will automatically trigger a new deployment.
- Open Obsidian and select Open folder as vault.
- Select the
vault/directory inside this repository. - Write your articles in
vault/notes/and place attachments invault/attachments/. - The global Daybook configuration remains at the repository root (
daybook.yaml), which is outside the Obsidian vault. - The built static site is output to
public/, completely separate from your source files.
To build the static site locally:
npm ci
npm run buildThe output will be generated in the public/ directory.
You can preview the site and the worker API locally using:
npm run devThe Daybook CLI version used for building the site is specified in the .daybook-version file at the root of this repository.
- By default, it is set to
latest, which will automatically fetch the latest stable release from GitHub. - If you want a reproducible build environment, you can pin it to a specific release tag (e.g.,
v2026.08.24.2).
Configure your site globally in daybook.yaml. Leave site.url empty if you don't want to enforce a specific domain initially. You can configure it later once your domain is set up on Cloudflare.