Repository navigation
Vefna v1.1.0 adds a built-in preview server, a watch mode, and draft pages — the things
you reach for while actually writing a site. It's built with Torvik v1.4.0 and uses
Torvik's new std::net for serving.
New
vefna serve [port] — build the site and host it at http://127.0.0.1:8000 (or a
port you choose), rebuilding automatically when a source file changes before the next
request. Binary assets stream intact.
vefna new myblog
cd myblog
vefna serve
vefna watch (and vefna build --watch) — rebuild continuously as sources change,
until you stop it.
Draft pages — a page with draft: true (also yes / 1) in its front matter is
skipped by default; pass --drafts to build, watch, or serve to include drafts. The
default build reports how many were skipped.
Install / upgrade
Re-run the installer to get the latest (it always fetches the newest release):
# Linux
curl -fsSL https://raw.githubusercontent.com/torvik-lang/vefna/main/linux/install.sh | sh
# Windows (PowerShell)
iwr -useb https://raw.githubusercontent.com/torvik-lang/vefna/main/windows/install.ps1 | iex
Or grab a binary from the assets below and put it on your PATH.
Links
- Changelog: https://github.com/torvik-lang/vefna/blob/main/CHANGELOG.md
- README (full command reference and template guide): https://github.com/torvik-lang/vefna
- Built with Torvik: https://github.com/torvik-lang/torvik