Skip to content

DZamataev/kitchen-timer-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Bot in Node.JS, using Telegraf, for setting up multiple timers for cooking

(Demo gif)

How to use existing bot

Find @kitchen_timer_bot on Telegram or follow this link.

How to run your own

  • Open Telegram app and create your own bot and aquire HTTP_API_TOKEN from @botfather
  • Clone the repo into desired folder (git clone https://github.com/DZamataev/kitchen-timer-bot)
  • Navigate to abot folder (cd abot)
  • Create file named config.js (touch config.js)
  • Paste the following snippet into the config and replace YOUR_TOKEN_HERE with your previously aquired token.
module.exports = {
    HTTP_API_TOKEN: process.env.HTTP_API_TOKEN || 'YOUR_TOKEN_HERE'
};
  • Make sure that you have Node.js and Docker installed and execute npm run deploy
  • Optionally consider using npm run undeploy and npm run dev if you want to tear down installation or make changes

About

Telegram Bot in Node.JS, using Telegraf, for setting up multiple timers for cooking

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published