PiGram is a Pi Bash in Telegram Bot.
Create your private Telegram Bot using Bot Father and get your tokens. Get more info here.
Download the source using git
or directly.
git clone https://github.com/derogab/pigram
In the pigram folder, install all dependencies.
npm install
Create configuration files: config.js
and pm2.json
.
You can easily copy template files (.tmpl
) and then edit them with your configurations.
Finally, start the bot.
node bot.js
Or, if you prefer, use PM2:
npm install -g pm2
pm2 start pm2.json