Niles is a simple NodeJs telegram bot template, designed to run on PaaS (currently only works on Heroku).
Recently I had to deploy some simple telegram bots and, in order to simplify the development and deploy process, i created a simple nodejs template (based on telegraf framework ) with a deploy script for heroku.
I dubbed the project Niles, like the butler for the Sheffield family in the sitcom The Nanny: indeed, the first bot created using this template was a simple "personal assistant".
How to use it
First, clone the git repository :
Then customize the code on index.js and start deploy.sh passing bot token as argument:
When you make changes on code, deploy the changes with a git commit & push:
git commit -am "some code changes" && git push heroku master