my static site generator for developer blogs, built with rust.
- generator - rust (pulldown-cmark, tera, syntect, ammonia)
- frontend - vite 6, vanilla typescript, tailwind css v4
- hosting - cloudflare pages
npm install
npm run build && cargo run -- buildcargo run -- new "post title"
cargo run -- cleansrc/ # rust generator
frontend/ # vite + typescript + css
templates/ # tera html templates
content/posts/ # markdown posts
static/ # built css/js + assets
forge.toml # site config
output/ # generated site
posts live in content/posts/ as markdown with yaml frontmatter:
---
title: "my post"
description: "a short description"
date: 2026-03-08
tags: ["rust", "web"]
draft: false
---
post content here.MIT