A curated collection of interesting, tricky, and educational programming websites.
This entire website is a static site generated using pure Nix. There are no static site generators (like Hugo or Jekyll) involved, just Nix expression language generating HTML strings, managed via Flakes.
Why Nix? Because I can.
To build and develop this project, you need:
If you have direnv installed:
direnv allowOtherwise, manually enter the Nix shell:
nix developThis will compile the Nix expressions into HTML files and output them to the ./result directory.
just build
# OR
nix buildAfter building, you can open result/index.html in your browser to view the site.
You can run the project locally with a small Python script and automatic change detection.
just run
# OR
nix runThis project uses just as a command runner. Run just to see all available commands.
To add a new website, add a new attribute set in src/content.nix
{
title = "Name of Website";
link = "https://example.com";
description = "A brief description of what makes this site cool.";
tags = [
"tag1"
"tag2"
];
}- Language: Nix
- Templating: Nix String Interpolation (
src/lib/elements.nix) - Styling: CSS (src/style.css)
- CI/CD: GitHub Actions (configured in
.github/workflows/quality.yaml)
Credit where credit is due.