Skip to content

🤖 Telegram bot created with Node.js that inform the available balance of any card.

Notifications You must be signed in to change notification settings

jbrizio/red-bus-telegram-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

red-bus-telegram-bot

Telegram bot created with Node.js that inform the available balance of any card.

Maintainability

Preview

Table of Contents

Installation

  1. Create your own bot using Telegram's BotFather and grab your token
  2. Clone this repository
  3. Go to the folder using cd ~/red-bus-telegram-bot
  4. Run npm install
  5. Set process.env.BOT_TOKEN to the value, you've got from the BotFather
  6. Run npm start
  7. Find your bot created before on Telegram and press the button /start to initialize the wizard

Note: The endpoint used to connect with the services of Red Bus, was taken from the Mobile App "Cuanto Tengo". For security reasons, this was set using environment variable.

Stack

  • Node.js - JavaScript runtime environment
  • Telegraf - Modern Telegram bot framework
  • Request - Simplified HTTP client

Contributing

Pull requests are always welcome!

About

🤖 Telegram bot created with Node.js that inform the available balance of any card.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published