Build a Debian APT repository from packages on GitHub
MIT License
Build a Debian APT repository from packages on GitHub.
Add one line to /etc/apt/sources.list.d/ibug.list
:
deb [trusted=yes] https://deb-github.ibugone.com/ stable main
Then run the usual apt update
commands.
The core feature lies with main.py
.
It fetches the packages from configured repositories and produce APT indices (Release
and Packages
files).
Then along with the _redirects
file, everything is uploaded to a Cloudflare Pages site.
From this point, Cloudflare Pages will serve the index files, while the _redirects
file will redirect actual package downloads back to GitHub.
There's a GitHub Actions workflow that automates all of these.
Indexed repositories are listed in config.yml
.