This website’s generator
Although technologies like Hugo or Jekyll sound appealing, I wanted to use technologies I already know of and do it in a more DIY fashion, so I ended up using typix, which is a framework to use typst with nix.
This allows certain things like specifying fonts declaratively (not yet supported by typst at time of writing) and get me a formatter and an lsp by simply typing nix develop
Then since doing nix build give me a nix derivation. This derivation can then be installed in my nixos server and served with a webserver like nginx in around 10 lines of configuration.
Another advantage of this approach would be if I ever have coworkers on the project (hypothetically), they just know they can compile it using nix run, and there is no need to learn how the build tool works (in this case no need to learn the typst watch command).
And since I use typst, it will be easy to just use it’s ecosystem to create graphs and other visuals, as although I want the site simple, it doesn’t mean it can’t get cool visuals !
One of the goals is to be able to add tags, to sort the articles by interest, and maybe make the project multi files later on if performance requests it. (Aka file gets too big to be served fast)