Skip to content

Build a Debian APT repository from packages on GitHub

License

Notifications You must be signed in to change notification settings

iBug/deb-github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deb-github

Build a Debian APT repository from packages on GitHub.

Usage

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.

How it works

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.

Packages

Indexed repositories are listed in config.yml.

About

Build a Debian APT repository from packages on GitHub

Resources

License

Stars

Watchers

Forks

Languages