Skip to content

clarityflowers/sitegen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Website Generator

A single-file Zig project to generate static html and gemini pages for my website from markdown-ish syntax.

View the documentation

This software is by no means stable and you shouldn't depend on it unless you're comfortable with editing the source yourself.

Installing

You will need to install zig.

Depends on zig-date as a submodule.

git clone --recurse-submodules https://github.com/clarityflowers/sitegen.git
cd sitegen
zig build

This will produce zig-cache/bin/sitegen. To install to, say, ~/bin, you could instead run zig-cache --prefix ~.

How to read the source

All of the code is inside src/main.zig. At the top of the file is a doc comment with some directions on where to find what you're looking for.

About

A tiny static site generator for html and gemini

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published