Skip to content

connorjarrett/chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chatbot

chatbot uses web search mixed with powerful integrations to produce a simple and informative result


Table Of Contents
How to install
Coming Soon

How To Install

Due to security issues with exposed API keys, you're now going to have to run it yourself.

🖥️ Clone The Repository

  1. Make sure Git is installed
  2. Run the command git clone https://github.com/connorjarrett/chatbot.git
  3. Navigate to the "chatbot" directory that was just created

🔑 Get Your API Keys

To start, you're only going to need 1 key, and that is the Google API

🔎 Google You'll need:
  • A Google account
Steps:
  1. Navigate to the Google Cloud Console
  2. Create a project
  3. In the navigation menu, go to APIs & Services > Library
  4. Search for "Custom Search API"
  5. Click "Enable"
  6. In the navigation menu, go to APIs & Services > Credentials
  7. Under "API keys" click the first one
  8. Copy the key and paste it into src/keys.js
🎵 Spotify You'll need:
  • A Spotify Account
Steps:
  1. Navigate to Spotify Developers
  2. Click "Create App"
  3. Set the app name and description to whatever you want
  4. You do not need to fill the Website field
  5. Set Redirect URI to any valid URL, such as "https://connorjarrett.com", it will not be used later.
  6. In your app, click "Settings"
  7. Copy the "Client ID" into src/keys.js under spotify.clientID
  8. Click "View client secret" and copy it into src/keys.js under spotify.clientSecret

✅ Last Checks

Make sure that src/keys.js.example is renamed to just src/key.js To run open src/index.html in your browser.

Coming Soon

  • What's the time?
    I want to make it so the time can be told for any timezone, it only currently works for whichever timezone you're in. All I need is a way to convert a string such as "London, UK" into either a timezone, a timezone difference or set of coordinates.

Releases

No releases published

Packages

No packages published