Skip to content

An telegram bot for compiling and uploading aur packages to your repository

Notifications You must be signed in to change notification settings

Listum/aur_builder_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aur Builder Bot

Description

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.

Setup

Standalone

  1. Specify the token of the Telegram bot
$ export TELOXIDE_TOKEN=<Your token>
  1. Specify a password for authorization
$ export PASS=<Password>
  1. Add GPG key for signing (optional)
  • $ gpg --list-keys --keyid-format=long
  • rsa4096/D8DDA4AE70FAD33E copy the key ID (here its: D8DDA4AE70FAD33E)
  • $ export GPGKEY=<ID ключа>
  1. Start the bot
./aur_builder_bot
  1. Create a symlink to your local repository
ln -s /path/to/bot_dir/repo /path/to/repo

Docker

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

Usage

  1. Search for packages in AUR /search <package name> <number of packets displayed 1-255>

  2. Adding packages to the repository /upload <package name>

Third-party libraries

About

An telegram bot for compiling and uploading aur packages to your repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published