Package list website
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
static
views
.gitignore
LICENSE
Makefile
README.md
bottle_sqlite.py
deb822.py
debian_support.py
dpkgrepo.py
main.py
rawquery.py
requirements.txt
test_allpages.tcl
test_report.py
test_vercomp.py
update.sh
utils.py
vercomp.c

README.md

packages-site

Package list website. https://packages.aosc.io/

For more information, see: https://wiki.aosc.io/developers/packages-site

Dependencies

  • C compiler (gcc)
  • git
  • fossil
  • requirements.txt
  • (for testing) tcl, tdom, tcl sqlite binding

Deploy

git clone https://github.com/AOSC-Dev/abbs-meta.git
git clone https://github.com/AOSC-Dev/packages-site.git
cd packages-site
sudo apt install libsqlite3-dev
make
pip3 install -r requirements.txt
bash ./update.sh

Then use your WSGI compatible web servers.

API

Add ?type=json to (almost) every endpoints, or send the X-Requested-With: XMLHttpRequest HTTP header, then you will get an json response.

On listings that have multiple pages, use ?page=n to get each page. Use ?page=all to avoid paging. The /list.json gives a full list of packages.

You can download the abbs-meta SQLite database from /data/abbs.db.