DE

Gitpages: secure Git repository hosting

In order to share code publicly, I wanted a secure and minimal way to host Git repositories on OpenBSD. While more featureful solutions exist (e.g. gotwebd and cgit), I chose to keep things simple and use stagit, a static HTML generator for Git repositories.

Stagit works well, but it does not handle automation for setup or updates after Git pushes. To fill that gap, I wrote Gitpages: a small POSIX shell toolkit that mirrors bare repositories, generates the HTML output, and keeps everything updated through a queue-based workflow.

Feel free to use Gitpages and adapt it to your needs. The README explains how to set it up. I’ve tested it, but there may still be bugs, and I plan to keep improving it over time.

~

fg. 2026-06-08