Writing a static site generator in Go
kite is my minimal, blazingly fast SSG: Markdown in, HTML out. No JS bundler, no 900 deps. (And yes — this very site is built with it.)
Design
- Frontmatter + Markdown rendered through
html/template - Single binary:
kite buildandkite serve(with live reload) - Themeable via plain HTML templates — no new templating language to learn
$ kite build
Compiling Writing a static site generator in Go (2ms)
All files processed!
Home page written to output/index.html
It also powers bonsai, my minimal git frontend.