Skip to content
This repository has been archived by the owner on Jan 7, 2022. It is now read-only.
/ repo-notifier Public archive

A Telegram bot that pushes AOSC OS repository update notifications

Notifications You must be signed in to change notification settings

AOSC-Archive/repo-notifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deprecated

Deploying

Create A Bot

Contact @BotFather to create a new bot, a bot token will be provided by BotFather.

Find the ZeroMQ Interface Address

The address is placed in the configuration file of p-vector (or other compatible software) The address looks like tcp://repo.aosc.io:xxxxx.

Compile the Bot

You will need the following packages:

rustc libssl-dev libzmq3-dev pkg-config build-essential

Then cargo build --release and install -Dm755 target/release/repository-notifier /usr/local/bin/repository-notifier.

Install systemd Services

install -Dm644 assets/repo-notifier.service /etc/systemd/system/repo-notifier.service
install -Dm644 assets/repo-notifier.conf /etc/repo-notifier.conf

Edit Configurations

Edit /etc/repo-notifier.conf and put the values you found in previous steps into the configuration file.

Launch the Bot

Enter sudo systemctl start repo-notifier.service.

About

A Telegram bot that pushes AOSC OS repository update notifications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages