Hi HN,
Package repositories don't need to be complicated. They're just static files: metadata indexes and the packages themselves. Yet somehow hosting your own feels like you need dedicated infrastructure and deep knowledge of obscure tooling.
repogen is an SSG for package repos. Point it at your .deb/.rpm/.apk files, it generates the static structure, you upload to S3 or any web host. Done. $0.02/month to host packages for your whole team.
It supports Debian, RPM, Alpine, Pacman, and Homebrew. Has incremental mode for updating repos without redownloading everything. Handles signing. Very alpha, but it works. Would love to get feedback!
Very cool! I've definitely dreaded trying to make sense of the diverse infra every time we've needed to do this in the past. Several of these are quite simple, but every extra tooling combo in CI can be a real PITA.
How does the debian support compare to just using apt-ftparchive? (The swiss-army-knife aspect is interesting, but while I've needed different kinds of private repo building I've never really needed more than one at a time...)
Is there any demo for the project?
nice! I made github.com/frostyard/plow last week with a serverless take on this (just for debian repos though). Being served by gh-pages means no git-lfs support though. repogen might be a better option if any packages get too big.
Really cool! Any chance this could support docker images? I'm thinking of this if it could be a sort of artifactory replacement.