Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Mamdasn/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.
https://github.com/Mamdasn/telegram-bot-protests-in-berlin
api bot docker-compose open-source protest-events telegram-api telegram-bot
Last synced: 2 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/Mamdasn/telegram-bot-protests-in-berlin
- Owner: Mamdasn
- License: gpl-3.0
- Created: 2023-03-31T11:13:43.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-18T22:55:39.000Z (3 months ago)
- Last Synced: 2024-08-19T11:43:39.800Z (3 months ago)
- Topics: api, bot, docker-compose, open-source, protest-events, telegram-api, telegram-bot
- Language: Python
- Homepage:
- Size: 3.13 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:](https://t.me/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](https://mamdasn.github.io/telegram-bot-protests-in-berlin/)## Donation
My ton coin wallet address: UQAqLrv2LMWy0gD6obOSCX9C5g_YCRvjjDqo7Ui1JYPz6aOh