Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iBug/deb-github
Build a Debian APT repository from packages on GitHub
https://github.com/iBug/deb-github
Last synced: about 8 hours ago
JSON representation
Build a Debian APT repository from packages on GitHub
- Host: GitHub
- URL: https://github.com/iBug/deb-github
- Owner: iBug
- License: mit
- Created: 2024-05-08T09:55:05.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-10-24T23:39:53.000Z (14 days ago)
- Last Synced: 2024-10-25T03:44:58.713Z (14 days ago)
- Language: Python
- Homepage:
- Size: 670 KB
- Stars: 12
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# deb-github
Build a Debian APT repository from packages on GitHub.
## Usage
Add one line to `/etc/apt/sources.list.d/ibug.list`:
```shell
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`](main.py).
It fetches the packages from configured repositories and produce APT indices (`Release` and `Packages` files).
Then along with the [`_redirects`](output/_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](.github/workflows/build.yml) that automates all of these.
## Packages
Indexed repositories are listed in [`config.yml`](config.yml).