connorjarrett / chatbot

πŸ€– Chatbot powered by Google

Home Page:https://conjardev.github.io/chatbot/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

πŸ€– Chatbot powered by Google

https://conjardev.github.io/chatbot/

License:Apache License 2.0


Languages

Language:JavaScript 85.8%Language:HTML 7.7%Language:CSS 6.5%