An open API service indexing awesome lists of open source software.

https://github.com/morr0ne/telegraf-heroku-typescript-template

Telegram bot ready to be deployed as a Heroku app
https://github.com/morr0ne/telegraf-heroku-typescript-template

heroku heroku-bot heroku-deployment telegraf telegram telegram-bot

Last synced: 12 months ago
JSON representation

Telegram bot ready to be deployed as a Heroku app

Awesome Lists containing this project

README

          

# telegraf-heroku-typescript-template
### Telgram bot ready to be deployed as an heroku app

Make sure you have [nodejs](https://nodejs.org/) and [yarn](https://classic.yarnpkg.com/en/docs/install) installed first

Copy the template then just replace `'http:/your-app-name.herokuapp.com/'` with your actual app url and set TOKEN enviroment variable (You can configure that on heroku as show [here](https://devcenter.heroku.com/articles/config-vars))

To run localy cd into the folder and run
```bash
TOKEN= yarn dev
```
The bot should update automatically on each change