Show HN: Repogen – a static site generator for package repositories

https://news.ycombinator.com/rss Hits: 3
Summary

Repogen - Universal Repository Generator ⚠️ Alpha Software Warning Repogen is alpha software and has not been extensively battle-tested in production environments. While it includes comprehensive test coverage and has been validated with package managers, use it with caution for critical infrastructure. Always verify generated repositories work correctly with your package manager before deploying to production. Repogen is a CLI tool that generates static repository structures for multiple package managers. It scans directories for packages, generates appropriate metadata files, and signs repositories with GPG/RSA keys. Supported Package Types Debian/APT (.deb packages) (.deb packages) Yum/RPM (.rpm packages) (.rpm packages) Alpine/APK (.apk packages) (.apk packages) Arch Linux/Pacman (.pkg.tar.zst, .pkg.tar.xz, .pkg.tar.gz) (.pkg.tar.zst, .pkg.tar.xz, .pkg.tar.gz) Homebrew (bottle files) Features Automatic Package Detection : Scans directories and auto-detects package types using magic bytes : Scans directories and auto-detects package types using magic bytes Metadata Generation : Creates all necessary index and metadata files for each repository type : Creates all necessary index and metadata files for each repository type Repository Signing : Signs repositories with GPG (Debian/RPM/Pacman) or RSA (Alpine) keys : Signs repositories with GPG (Debian/RPM/Pacman) or RSA (Alpine) keys Unsigned Repository Support : Always generates InRelease files (required by Debian Trixie) InRelease contains Release content without signature for unsigned repos Compatible with [trusted=yes] apt option : Static Output : Generates static file structures that can be served by any web server : Generates static file structures that can be served by any web server Simple Component Structure: Uses single component/pool structure for simplicity Installation From Source # Clone the repository git clone https://github.com/ralt/repogen cd repogen # Build go build -o repogen ./cmd/repogen # Option...

First seen: 2026-01-09 21:52

Last seen: 2026-01-09 23:52