Getting started
On this page
Getting started#
Build the executable as described in installation, then initialize a publishing project:
vaw init my-notes
vaw build --config my-notes/vaw.yaml
vaw serve --config my-notes/vaw.yaml
Open my-notes/content/ in Obsidian. The sample homepage is public. Add publish: true to other notes you intend to publish, and link them with [[Note Name]] or folder-qualified wikilinks. Run vaw check before building; strict builds reject unresolved or unsupported public references.
To use an existing vault, initialize a separate publishing project with vaw init publishing --vault /path/to/vault. Source notes are never rewritten. Keep output outside the vault. Review publishing, especially the distinction between website filtering and public Git history.
The generated site goes to dist/ by default. Serve it through any ordinary static HTTP host. The built-in preview watches for source, config, and theme changes and reloads after successful builds. A failed build keeps the previous complete output.
Before connecting a content repository to Git-based hosting, run vaw upgrade --version TAG with a published release tag, review and commit vaw.lock, and use bash build.sh as the build command. The initial lock deliberately fails closed until configured. Do not replace its integrity fields with placeholders. See the deployment guides for provider setup and validation status.