Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Minimalist digital garden and wiki starter for Astro with zero-config folder routing, local Pagefind search, and SEO.
Veka is a minimalist digital garden and personal wiki starter for Astro that turns folders of Markdown files into a navigable static wiki with automatic sidebar routing, local full-text search, and SEO meta tags.
Veka is an open-source Astro starter template that accepts Markdown and MDX notes placed in src/content/wiki/ and outputs a static site with auto-generated nested navigation, a table of contents, and search. It runs on Astro 3.0+ and uses Tailwind CSS v4 for styling and Pagefind for static search indexing. The template is distributed as a GitHub repository (masmuss/veka) and can be cloned with degit; live demos are hosted at demo-veka.khoirul.me and wiki.khoirul.me.
src/content/wiki/ (for example, koding/arsitektur/) and the sidebar navigation and URLs are generated automatically — no route registration in a config file.astro build; no third-party search service or API keys are required.src/content/config.ts, so missing titles or malformed dates surface as build errors instead of broken pages.growthStage property with values seedling, budding, or evergreen to reflect how mature the content is.WebSite for all pages, Article for wiki notes).pnpm run build runs astro build and then triggers the Pagefind integration, and the output deploys to Vercel, Netlify, or Cloudflare Pages.isPinned, and search the full knowledge base via the static Pagefind index.datePublished, dateModified, and keywords) for better search visibility.src/content/wiki/koding/arsitektur/ and Veka builds a URL and sidebar entry for it automatically.BaseLayout and WikiLayout (a 3-column grid of navigation, content, and table of contents) so every note looks the same.src/lib/site-config.ts to change the site name, default description, author, canonical base URL, Open Graph image, and favicon; these feed all SEO tags and JSON-LD.Clone the repository with pnpm dlx degit masmuss/veka my-wiki, install dependencies with pnpm install, and run pnpm run dev. Write notes as .md or .mdx files in src/content/wiki/ with the required frontmatter fields (title, description, createdAt, updatedAt, tags, isPinned, and growthStage). Because Pagefind reads the static build output, local search testing requires running pnpm run build followed by pnpm run preview rather than relying on the dev server.
No. Veka is a static site generator — all content lives in Markdown or MDX files under src/content/wiki/, and the output is plain static HTML with a local search index.
Every note must include title, description, createdAt, updatedAt, tags, isPinned, and growthStage. The growthStage field accepts seedling, budding, or evergreen, and the schema is enforced with Zod during the build.
Pagefind indexes the static build output, so search will not work on the dev server. Run pnpm run build followed by pnpm run preview to see and test the full-text search locally.
Edit src/lib/site-config.ts. It contains the site name, default title, description, author, canonical base URL, Open Graph image path, and favicon path; these values populate the title, meta description, OG tags, Twitter Card tags, and JSON-LD output.
Veka is an open-source template distributed through GitHub under the repository masmuss/veka. The quick-start instructions use degit to copy the repository, and there are no paid tiers or licensing fees mentioned in the documentation.
