chatbot uses web search mixed with powerful integrations to produce a simple and informative result
Table Of Contents |
---|
How to install |
Coming Soon |
Due to security issues with exposed API keys, you're now going to have to run it yourself.
- Make sure Git is installed
- Run the command
git clone https://github.com/connorjarrett/chatbot.git
- Navigate to the "chatbot" directory that was just created
To start, you're only going to need 1 key, and that is the Google API
π Google
You'll need:- A Google account
- Navigate to the Google Cloud Console
- Create a project
- In the navigation menu, go to
APIs & Services > Library
- Search for "Custom Search API"
- Click "Enable"
- In the navigation menu, go to
APIs & Services > Credentials
- Under "API keys" click the first one
- Copy the key and paste it into
src/keys.js
π΅ Spotify
You'll need:- A Spotify Account
- Navigate to Spotify Developers
- Click "Create App"
- Set the app name and description to whatever you want
- You do not need to fill the
Website
field - Set
Redirect URI
to any valid URL, such as "https://connorjarrett.com", it will not be used later. - In your app, click "Settings"
- Copy the "Client ID" into
src/keys.js
underspotify.clientID
- Click "View client secret" and copy it into
src/keys.js
underspotify.clientSecret
Make sure that src/keys.js.example
is renamed to just src/key.js
To run open src/index.html
in your browser.
- 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.