Skip to content

Telegram bot including web panel with updates in real time (using websockets), based on Cat API.

Notifications You must be signed in to change notification settings

kotru21/cat-api-telegraf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cat bot, made with telegraf.js. Using Cat API.

Deploy Run on Replit

Deploying on Heroku

Fill in Config Vars:
API_KEY and CAT_API_TOKEN
API_KEY is your telegram API key.
more about config vars on Heroku

Deploying on Replit

For replit, fill in the env variables using the UI.

Deploying on local machine

to make everything work, run npm install
then, create the .env file and fill in your telegram bot token: API_KEY=YourTelegramBotTokenHere
to increase cat API ratelimits, fill in your CatAPI token: CATAPI_KEY=YourCatApiTokenHere

Web part of the bot

Telegram part of the bot

image