SkillAgentSearch skills...

Spritpreise

Interactive Telegram Fuel Price Bot

Install / Use

/learn @fpfuetsch/Spritpreise

README

Telegram Spritpreis Bot

Telegram bot that notifies about relevant price changes of subscribed gas stations using the Tankerkönig API.

<b>Currently only the German language is supported.<b>

Environment Variables

  • 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

Deployment

Telegram

If the WEBHOOK_HOST is set, the bot runs in webhook mode. Otherwise polling mode is activated.

Development

$ npm run dev

Docker-Compose

  1. Copy mongo-init.js_template to mongo-inits.js and set MongoDB password in it
  2. Copy env_template and env-db_template accordingly and set the correct variables in them
  3. Run docker-compose up
View on GitHub
GitHub Stars5
CategoryDevelopment
Updated8d ago
Forks1

Languages

TypeScript

Security Score

90/100

Audited on Mar 30, 2026

No findings