https://github.com/andreafortuna/niles-tg-bot-nodejs
Simple NodeJs telegram bot template, designed to run on PaaS (currently only on Heroku)
https://github.com/andreafortuna/niles-tg-bot-nodejs
heroku nodejs paas telegraf-bots telegram-bot
Last synced: about 2 months ago
JSON representation
Simple NodeJs telegram bot template, designed to run on PaaS (currently only on Heroku)
- Host: GitHub
- URL: https://github.com/andreafortuna/niles-tg-bot-nodejs
- Owner: andreafortuna
- Created: 2019-12-27T17:14:55.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-08T22:17:55.000Z (over 6 years ago)
- Last Synced: 2025-04-09T02:21:53.393Z (about 1 year ago)
- Topics: heroku, nodejs, paas, telegraf-bots, telegram-bot
- Language: JavaScript
- Homepage:
- Size: 23.4 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Niles: telegram bot template for PaaS
Simple NodeJs telegram bot template, designed to run on PaaS (currently only works on Heroku)
## Requisites
- Heroku-Cli installed and configured (https://devcenter.heroku.com/articles/heroku-cli)
- A telegram bot token (https://core.telegram.org/bots#6-botfather)
## How to use it

First, clone the repository:
```
git clone https://github.com/andreafortuna/niles-tg-bot-nodejs
```
Then customize the code on index.js and start deploy.sh passing bot token as argument:
```
./deploy.sh XXXXXXXXXXXXXXXXXXX
```
When you make changes on code, deploy the changes with a git commit & push:
```
git commit -am "some code changes" && git push heroku master