/telegram-bot-protests-in-berlin

The purpose of this code base is to facilitate access to the protests registered in Berlin on berlin.de. Users can access protests based on their distinguishing features, such as location, date, theme, and route.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

telegram-bot-protests-in-berlin

The purpose of this code base is to facilitate access to the protests registered in Berlin on berlin.de. Users can access protests based on their distinguishing features, such as location, date, theme, and route.

Telegram bot: @ProtestsBerlinBot:

Usage

After exporting the environmental variables IP_ADDRESS and TG_BOT_TOKEN, the docker instance is spawned by running docker compose up --build -d.

PORT USAGE
443 Establish a connection with telegram server
9051 Send a request to tor control for a new ip

IP rotation can be automated using crontab (in this case every 24 hours):
0 */24 * * * echo -e 'AUTHENTICATE ""\r\nsignal NEWNYM\r\nQUIT' | nc localhost 9051

Documentation

The documentation can be found here: Docs

Donation

My ton coin wallet address: UQAqLrv2LMWy0gD6obOSCX9C5g_YCRvjjDqo7Ui1JYPz6aOh