Skip to content

Simple Telegram bot using Google DialogFlow to search for fitness training videos.

License

Notifications You must be signed in to change notification settings

ggwadera/dio-telegram-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dio-telegram-bot

Project made available by Digital Innovation One where a bot for Telegram that sends videos of training and exercises requested by the user is developed using Node.js and DialogFlow from Google for natural language processing.

How to use

  1. Clone this repository
git clone https://github.com/ggwadera/dio-telegram-bot.git
cd dio-telegram-bot
  1. Install the npm packages
npm install
  1. Configure your API keys for Telegram, Youtube and DialogFlow
  • For Telegram, save a file in the root directory named token.jsonwith the following contents:
{
  "token": "YOUR-TELEGRAM-TOKEN-HERE"
}
  • For Youtube, save a file in the root directory named youtube-key.jsonwith the following contents:
{
  "key": "YOUR-YOUTUBE-API-KEY-HERE"
}
  • For DialogFlow, download the key file for your project as JSON in your Google Cloud Platform service accounts and save it in the root directory with the name dialogflow-config.js

About

Simple Telegram bot using Google DialogFlow to search for fitness training videos.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published