F-Droid Downloader is a Python script that automates the process of downloading APKs from the F-Droid repository. It fetches the F-Droid index, extracts package names, and downloads the APKs using the apkeep tool.
- Downloads the F-Droid index JAR file.
- Extracts package names from the index JSON file.
- Downloads APKs for the extracted package names.
- Tracks download progress and resumes from where it left off.
- Python 3.x
requestslibraryapkeeptool (requires Rust)
-
Install Python 3.x if you haven't already.
-
Install the required Python library:
pip install requests
-
Install
apkeepusing Rust:cargo install apkeep
To run the script, use the following command:
python fdown.py--refreshor-r: Refresh the F-Droid package list by downloading the latest index.
python fdown.py --refresh- Download the JAR file: The script downloads the F-Droid index JAR file from the specified URL.
- Extract the JAR file: The script extracts the contents of the JAR file to a specified directory.
- Extract package names: The script processes the extracted JSON file to extract package names and saves them to
packages.txt. - Download APKs: The script reads the package names from
packages.txtand downloads the APKs usingapkeep. It tracks the download progress and saves it todownload_tracker.json.
This project is licensed under the Apache License, Version 2.0. See the LICENSE file for details.