2024-02-08 18:23:46 +00:00
|
|
|
# Hackerspace Wroclaw Alarm Bot
|
|
|
|
|
|
|
|
[![builds.sr.ht status](https://builds.sr.ht/~michalr/hswro-alarm-bot.svg)](https://builds.sr.ht/~michalr/hswro-alarm-bot?)
|
|
|
|
|
|
|
|
Warning: this is a proof of concept, don't rely on it
|
|
|
|
|
|
|
|
I didn't even test it yet so no idea if it works
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
$ TELEGRAM_APITOKEN=YOUR_API_TOKEN ./alarm_bot --satel_addr=127.0.0.1 --satel_port=31337 --tg_chat_id=YOUR_CHAT_ID_FROM_BOTFATHER
|
2024-02-09 22:32:32 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## Debugging
|
|
|
|
|
|
|
|
Set the `OMIT_TG` environment variable to, well, omit sending anything over to Telegram and just see the logs instead.
|