selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

F-Droid logo

Self-host F-Droid

ReleaseOpen SourceAGPL-3.0
sudo apt-get install fdroidserver
Updated5 months ago
LanguagePython
Setup difficultyAdvanced
F-Droid screenshot 1

What is F-Droid?

F-Droid Server provides a comprehensive set of tools to manage and publish Android app repositories. It is designed to assist in creating, testing, and submitting metadata to the F-Droid repository. The tools can be used to set up custom repositories, build apps from source, and manage the entire lifecycle of app distribution. F-Droid Server is widely used to maintain the official F-Droid repository and can be adapted for personal or organizational use.

F-Droid alternatives

All self-hosted alternatives to Google Play Store →

Should you self-host F-Droid?

F-Droid scores 58/100 on selfhost.directory (how scoring works) and ranks #54 of 167 in Developer Tools. It has 439 GitHub stars.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is advanced: plan for several services and some ongoing maintenance. It is AGPL-3.0-licensed and written mostly in Python.

Its closest alternative on selfhost.directory is openhands (87/100, 93 396 stars). It scores higher overall, so compare the two before you pick. See F-Droid vs openhands side by side.

Features

  • Build Automation
  • Localization
  • Metadata Management
  • Package Management
  • Repository Setup
  • Security

F-Droid README

How to install F-Droid

Install F-Droid with Linux

To install F-Droid Server on Linux, you can use the following steps:

  1. Debian/Ubuntu/Mint/etc: Install the fdroidserver package from the standard OS package repository:

    sudo apt-get install fdroidserver
    

    If the version in the standard repository is outdated, you can use the F-Droid PPA or backports:

    sudo add-apt-repository ppa:fdroid/fdroidserver
    sudo apt-get update
    sudo apt-get install fdroidserver
    
  2. Fedora/Archlinux: Use a virtual environment to install the dependencies and then install fdroidserver:

    python3 -m venv env
    source env/bin/activate
    pip install -e .
    
  3. Guix: Install using the Guix package manager:

    guix install fdroidserver
    
  4. Homebrew: Install using Homebrew on macOS:

    brew install fdroidserver
    
  5. Windows Subsystem for Linux: Enable WSL and install fdroidserver using the F-Droid PPA:

    sudo add-apt-repository ppa:fdroid/fdroidserver
    sudo apt-get update
    sudo apt-get install fdroidserver
    
  6. Docker Executable Image: Use the Docker executable image provided by F-Droid:

    docker pull fdroid/fdroidserver
    
  7. Installing from Source: Clone the repository and install using pip:

    git clone https://gitlab.com/fdroid/fdroidserver.git
    cd fdroidserver
    pip install -e .
    

For detailed instructions, refer to the official documentation.

How to configure F-Droid

  • sdk_path$ANDROID_HOMECustom path to the Android SDK.

    values: Any valid path

  • ndk_pathsPaths to installed versions of the Android NDK.

    values: Any valid path

  • cachedir~/.cache/fdroidserverDirectory to store downloaded tools in.

    values: Any valid path

  • java_pathsSpecify paths to each major Java release that you want to support.

    values: Any valid path

  • antantCommand or path to binary for running Ant.

    values: Any valid command or path

FAQ

How do I set up a custom F-Droid repository?

Setting up a custom F-Droid repository involves initializing the repository, adding APK files, and configuring the repository settings. Detailed steps are provided in the [official documentation](https://f-droid.org/docs/Setup_an_F-Droid_App_Repo).

Can I use F-Droid Server to build apps from source?

Yes, F-Droid Server provides tools to build Android apps from source code. This requires the Android SDK and other dependencies to be installed. Detailed instructions are available in the [official documentation](https://f-droid.org/docs/Building_Applications).

What are the system requirements for running F-Droid Server?

The system requirements vary depending on the platform and the scale of the repository. Generally, a modern Linux system with sufficient storage and memory is recommended. Specific requirements can be found in the [official documentation](https://f-droid.org/docs/Installing_the_Server_and_Repo_Tools).

How can I install F-Droid Server?

F-Droid Server can be installed on various platforms including Debian/Ubuntu, Fedora/Archlinux, Guix, Homebrew, and Windows Subsystem for Linux. Detailed installation instructions are available in the [official documentation](https://f-droid.org/docs/Installing_the_Server_and_Repo_Tools).

What is F-Droid Server?

F-Droid Server is a suite of tools designed to maintain an F-Droid repository system. It allows users to publish and manage collections of Android apps (APK files) and other packages.

More in Developer Tools

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…