Reincarnation of a dead python project on rust.
Telegram bot for surfing/parsing AUR and compiling packages and then adding them to a personal repository as binary.
- Specify the token of the Telegram bot
$ export TELOXIDE_TOKEN=<Your token>
- Specify a password for authorization
$ export PASS=<Password>
- Add GPG key for signing (optional)
$ gpg --list-keys --keyid-format=long
rsa4096/D8DDA4AE70FAD33E
copy the key ID (here its: D8DDA4AE70FAD33E)$ export GPGKEY=<ID ключа>
- Start the bot
./aur_builder_bot
- Create a symlink to your local repository
ln -s /path/to/bot_dir/repo /path/to/repo
GPG signing currently not working with docker setup
docker-cli
docker run \
--name AUR_Builder_Bot \
--restart=unless-stopped \
-v /path/to/repo:/opt/aur_build/repo \
-e TELOXIDE_TOKEN="<Your_token_here>"
-d orudoca/aur_builder_bot:latest
docker-compose
services:
aur_builder_bot:
image: orudoca/aur_builder_bot:latest
container_name: AUR_Builder_Bot
volumes:
- /path/to/repo/:/opt/aur_builder/repo
restart: 'unless-stopped'
environment:
TELOXIDE_TOKEN: "<Your_token_here>"
docker compose up -d
-
Search for packages in AUR
/search <package name> <number of packets displayed 1-255>
-
Adding packages to the repository
/upload <package name>