parse_fdroid_index
Introduction
A few CLIs to use the F-Droid index (available at https://f-droid.org/repo/index-v2.json).
Installation
Building from source
To build from source, install Crystal and Shards. It is convenient to install them with Mise, with one command:
mise use -g crystal
Then:
git clone https://github.com/ch1c0t/parse_fdroid_index/ && cd parse_fdroid_index && shards build --release
Which should create 3 binaries in the ./bin
directory:
json-outline
save-metadata-from-fdroid-index
clone-fdroid-packages-to
One way to add them to $PATH
temporarily is to run export PATH=bin:$PATH
.
Usage
json-outline
is to outline the structure of a JSON file.
save-metadata-from-fdroid-index
is to save metadata from the F-Droid index to an SQLite database.
clone-fdroid-packages-to
is to clone source codes of F-Droid packages to a directory.
Each binary has a help message explaining how to use it. To access it, run a binary without arguments or with --help
. For example, to get the help message for json-outline
, run json-outline
or json-outline --help
.
parse_fdroid_index
- 0
- 0
- 0
- 0
- 1
- 4 months ago
- February 17, 2025
MIT License
Sun, 20 Jul 2025 07:44:30 GMT