Android Repository Bot is a bot made for @AndroidRepo (Telegram channel), it was initially thought only to update the Magisk modules in the channel, but we will improve it over time.
Developed in Python using the MTProto library Pyrogram.
Every open source project lives from the
generous help by contributors that sacrifices
their time and AndroidRepo
is no different.
- Clone this Git repository locally:
git clone https://github.com/AndroidRepo-OSS/Bot
- Create a virtualenv (This step is optional, but highly recommended to avoid dependency conflicts)
python3 -m venv .venv
(You don't need to run it again). .venv/bin/activate
(You must run this every time you open the project in a new shell)
- Install dependencies:
python3 -m pip install .
- Use
python3 -m pip install .[fast]
to install optional dependencies.
- Use
- Create
config.py
fromconfig.py.example
:cp config.py.example config.py
- Follow the instructions in the
config.py
file. - Start the bot:
python3 -m androidrepo
.
- Use black and isort (with black profile).
- Don't forget to add the SPDX-License-Identifier header.
- Try to resolve any problems identified by our CI.
BSD-3-Clause © 2022 AndroidRepo-OSS