Telegram bot that notifies about relevant price changes of subscribed gas stations using the Tankerkönig API.
Currently only the German language is supported.
- API_KEY - API Token for Tankerkoenig
- DB_URL - Mongo database URL
- SERVER_PORT - Server port
- WEBHOOK_HOST - URL of webhook host (e.g. https://example.org)
- TELEGRAM_TOKEN - Telegram bot token
- UPDATE_CYCLE - Minutes until prices are updated
- SEARCH_RADIUS - Search radius in km for gas stations
If the WEBHOOK_HOST
is set, the bot runs in webhook mode. Otherwise polling mode is activated.
$ npm run dev
- Copy
mongo-init.js_template
tomongo-inits.js
and set MongoDB password in it - Copy
env_template
andenv-db_template
accordingly and set the correct variables in them - Run
docker-compose up