Welcome to vāk

Jan 01, 2025 Getting started

This is a blog powered by vāk, a minimal static blog generator.

What is vāk?

vāk is a simple tool that takes your Markdown posts and turns them into a static blog. No databases, no servers, just plain HTML files you can host anywhere.

Why vāk?

I wrote vāk for a few reasons:

Try it yourself

You're looking at the example folder right now. Here's how to build this blog:

  1. Download vāk.cjs from the releases page
  2. Place it in this folder
  3. Run the build:
export SITE_URL=https://example.com
export SITE_NAME="My Blog"
./vaak.cjs build

This creates a public folder with your generated blog. To preview it locally:

npx serve public

Then open http://localhost:3000 in your browser.

Create your next post

This very post comes from posts/start-here.md. Want to add another?

./vaak.cjs new my-next-post

This creates posts/my-next-post.md. Edit it, then rebuild:

./vaak.cjs build

Your new post will appear in the public folder.

What's next?