Giter Site home page Giter Site logo

fdroid-dl's Introduction

fdroid-dl

Is a python based f-droid mirror generation and update utility. Point at one or more existing f-droid repositories and the utility will download the metadata (pictures, descriptions,..) for you and place it in your local system. Simply run fdroid-dl && fdroid update and you are set.

Motivation

The idea is to have an no internet local copy of one or more repositories, without the need to compile the thousands of apps on your own build server but rather download them like the android client does. So this tool came into existence to simply download a while repository and import the apps into your own locally installed one. At the time of writing a full offline copy including assets is ~7.5GB of the official repository of f-droid.org.

Installation

fdroid-dl is available via pip, simply run pip install fdroid-dl and you can use fdroid-dl on your command line.

Documentation

Can be found at fdroid-dl.readthedocs.io

Command Line Options

Configuration File

TODO

  • Create backend to crawl existing repos
  • Fetch info directly index.jar and index-v1.jar
  • Compatibility with old and new repo styles
  • Download multi threaded
  • Verify apk checksum
  • Local cache for index files
  • Source code download not implemented yet
  • Metadata update to do delta not full download all the time
  • Cleanup strategy for old apk files (maybe fdroid update does this already?)
  • Create a CLI python click
  • pip package packaging.python.org
  • CI builds for pip package
  • Documentation ;-)
  • Writing tests pytest

CHANGELOG

  • WIP: Documentation added
  • WIP: Test added
    • requests-mock ?

Ideas

  • requests-cache ?

Development

Requirements

  • python 3.x
  • pip 3.x
  • virtualenv 3.x

install locally

# git clone https://github.com/t4skforce/fdroid-dl.git
# cd fdroid-dl
# virtualenv .env
# source .env/bin/activate
# python setup.py install
# fdroid-dl --help

References

While this project was developed the following references where used

F-Droid

Python

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.