3 ms·
Show HN: Repogen – a static site generator for package repositories
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 9mo agoHow 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 9mo agoVery 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.
- bketelsen 9mo agonice! 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.
- pwdisswordfishy 9mo agoURLs won't be linked here if they're not really URLs.
- bketelsen 9mo agoI didn’t make it a real URL intentionally because i’m not trying to steal attention/clicks from OP’s interesting project.
- maxloh 9mo agoIs there any demo for the project?
- Jabihjo 9mo agoReally cool! Any chance this could support docker images? I'm thinking of this if it could be a sort of artifactory replacement.