Settings

Theme

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

github.com

38 points by tlar 2 months ago · 7 comments · 1 min read

Reader

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!

eichin 2 months ago

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...)

tekacs 2 months ago

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.

Jabihjo 2 months ago

Really cool! Any chance this could support docker images? I'm thinking of this if it could be a sort of artifactory replacement.

bketelsen 2 months ago

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.

maxloh 2 months ago

Is there any demo for the project?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection