https://github.com/joachimprinzbach/db-ontime
Telegram Bot that sends messages for train delays
https://github.com/joachimprinzbach/db-ontime
bahn db delay telegram-bot train
Last synced: 8 months ago
JSON representation
Telegram Bot that sends messages for train delays
- Host: GitHub
- URL: https://github.com/joachimprinzbach/db-ontime
- Owner: joachimprinzbach
- Created: 2017-10-29T16:28:41.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T08:46:51.000Z (almost 3 years ago)
- Last Synced: 2025-01-03T21:13:16.255Z (9 months ago)
- Topics: bahn, db, delay, telegram-bot, train
- Language: HTML
- Homepage:
- Size: 502 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# db-ontime
[](https://greenkeeper.io/)
[](https://travis-ci.org/joachimprinzbach/db-ontime)Telegram Bot that sends messages for train delays
## Hacking on db-ontime
You only need to have node.js (>= 8.4.0) installed.### Installing node.js:
- [Node.js](http://nodejs.org) >= 8.4.0
### Configuring telegram
Edit the config.json file to configure the application.- Contact [@BotFather](http://telegram.me/BotFather) on Telegram to create and get a bot token.
- ChatId: See https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id for information how to obtain the chatId of a chat### Installing dependencies
```sh
$ npm install
```### Run the application locally
```sh
$ node index
```