📦 Command-line interface for installing Debian packages provided via GitHub releases
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
MANIFEST.in
Makefile
Pipfile
Pipfile.lock
README.rst
__version__.py
debi.py
debi_test.py
setup.py

README.rst

Debi


Debi provides a quick and easy way to install Debian packages provided via GitHub releases.

Here's some programs you can install using Debi:

  • Atom
  • Brave
  • Keeweb
  • Webtorrent Desktop

Features

  • Finds the latest release of project and install it.
  • Caches every downloaded releases so you don't have to download them twice.
  • Supports multiple release channels: stable (by default) and beta (--beta).
  • Supports multiple architectures: 32-bits (--thirtytwo) and 64-bits (by default).

Usage

$ debi --help
Usage: debi [OPTIONS] OWNER REPO

  Installing Debian packages via GitHub releases.

Options:
  --beta        Install the beta version of the package
  --thirtytwo   Install the 32-bits version (instead of the 64-bits)
  --help        Show this message and exit.
$ debi atom atom
Finding the latest release for atom/atom
Fetching https://github.com/atom/atom/releases/download/v1.18.0/atom-amd64.deb
Installing atom v1.18.0
✔ Successfully installed!
$ debi atom atom --beta
Finding the latest release for atom/atom
Fetching https://github.com/atom/atom/releases/download/v1.19.0-beta4/atom-amd64.deb
Installing atom v1.19.0-beta4
✔ Successfully installed!

By default, Debi will look for the 64-bits version (based on the name of the release). If you want to install the 32-bits version instead, add the flag --thirtytwo.

$ debi webtorrent webtorrent-desktop --thirtytwo
Finding the latest release for webtorrent/webtorrent-desktop
Fetching https://github.com/webtorrent/webtorrent-desktop/releases/download/v0.18.0/webtorrent-desktop_0.18.0-1_i386.deb
Installing webtorrent-desktop v0.18.0
✔ Successfully installed!

Install

$ pip install debi

Enjoy!