Inspired by Oski, the best collegiate mascot in America
Created at CalHacks 6.0, won the Cisco API Challenge and Major League Hacking Transposit API Challenge
Devpost Project Link: https://devpost.com/software/oskibot-uc-berkeley-course-recommendation-chatbot
-
From a Mac/Linux bash shell:
git clone https://github.com/mbzhu1/oskibot cd oskibot npm install
-
Create a Bot account at 'Webex for Developers', and copy your bot's access token to the clipboard. Set the ACCESS_TOKEN in the .env file to your bot's access token
-
Set up a Azure Account and download Visual Studio Code
-
Install the Azure App Service Extension in VS Code
-
Follow the instructions at https://docs.microsoft.com/en-us/azure/app-service/app-service-web-get-started-nodejs#deploy-to-azure to deploy your app to azure.
-
If you browse the URL given by Azure, you may find that there is an error page. Don't panic, this is expected. After recieving a URL from Azure, replace the PUBLIC_URL in the .env file with your web app's URL. Save the changes and redeploy your chatbot.
-
The URL given to you by Azure should now display a JSON file with the health status report about the chatbot. If you are on Chrome, you can download JSON VIEWER to view the file in a more readable format
-
Now you have your bot deployed onto the web and you can start talking with your bot in Cisco Webex Teams!
-
From a Mac/Linux bash shell:
git clone https://github.com/mbzhu1/oskibot cd oskibot npm install
-
Launch ngrok to expose port 3000 of your local machine to the internet:
./ngrok http 3000
And keep this running in the background
-
Change the PUBLIC_URL in the .env file to be the url given by ngrok and make sure to pick the HTTPS address that ngrok is now exposing. Note that ngrok exposes HTTP and HTTPS protocols, make sure to pick the HTTPS address.
-
Create a Bot account at 'Webex for Developers', and copy your bot's access token to the {your bots access token}
ACCESS_TOKEN={your bots access token} node bot.js
-
Now you have your bot running!
-
Go to the Cisco Webex Teams application, search up your chat bot using the Bot's username, and start chatting!
OskiBot can currently give you course reccomendations, set Google Calendar reminders, and show online lecture videos
If you ask OskiBot to recommend courses, he will help you filter courses based on graduation requirments
If you ask OskiBot to set a reminder, he we direct you to https://midterm-reminders-s8d1h.transposit.io which uses Transposit to connect to the Google Calendar API
If you ask OskiBot to show you online lectures, he will direct you to https://mbzhu1.github.io/cs61a-eluvio-trial/ which is currently using the Eluvio API to deliver video content via blockchain technology.