Skip to content

derogab/pigram

Repository files navigation

PiGram

GitHub package.json version GitHub stars GitHub forks GitHub issues Patreon Ko-Fi

PiGram is a Pi Bash in Telegram Bot.

Create a Bot

Create your private Telegram Bot using Bot Father and get your tokens. Get more info here.

Download

Download the source using git or directly.

git clone https://github.com/derogab/pigram

Install dependencies

In the pigram folder, install all dependencies.

npm install

Configure

Create configuration files: config.js and pm2.json.
You can easily copy template files (.tmpl) and then edit them with your configurations.

Run

Finally, start the bot.

node bot.js

Or, if you prefer, use PM2:

Install PM2 globally
npm install -g pm2 
Run using PM2
pm2 start pm2.json