Skip to content

Ventorius/bot-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bot Server

Example server-side infrastructure for building and supporting conversational interfaces. If you want to find out more, check out my Medium post here.

This particular example of the server provides Spotify music recommendations when you talk to your bot. If you want to try the bot out without running the server, send a message to @HelloAriaBot on Telegram.

Installation

Node

Run $ npm install

Telegram

  1. Go into Telegram, talk to BotFather.
  2. Create a new bot.
  3. Take the telegram token and add it to your environment variables or update /config/index.js
  4. If you want to set your environment variable run $ export TELEGRAM_TOKEN=your_token_here

Spotify

  1. Go to developer.spotify.com
  2. Create a new app
  3. Get the client id and secret and add it to your environment variables or update /config/index.js
  4. Run $ export SPOTIFY_CLIENT_ID=your_client_id_here
  5. Run $ export SPOTIFY_CLIENT_SECRET=your_client_secret_here

Running

  1. Run $ npm start
  2. Text the bot you made during the installation process
  3. Enjoy Spotify music recommendations

Demo

Demo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%