Skip to content

US579/BeerChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Beer Chat

Implementation

  • code explanation
  • discussing with others about code and learning code from open source
  • signup
  • login
  • login status check
  • chatbox
  • connect to the chatbot
  • chat history sotred
  • UI design
  • hypertranslation (explain code , translation document to other languages)
  • hypertranslation switch on off

How to run

  1. Go to release download the latest release version

or

  1. Go to Terminal
  • git clone https://github.com/US579/507.git
  • cd 507

Frontend

  • open chrome
  • go to settings -> extensions
  • choose develope mode -> load unpacked
  • choose folder frontend
  • open any github pages(this app only access under github pages)

Backend

>> brew install virtualenv (only for mac)
>> virtualenv env
>> source env/bin/activate
>> pip install -r requirements.txt
>> python3 __init__.py

Open another terminal

>> node server.js

or

>> sh start_bk.sh

Attention

better use incognito window as normal window may block port

How to use the extension

  • Longin signup interface (Use signed name and password to login)
  • Chat interface(Clik the switch button to turn on the mentor mode which enables user to disscuss with other users)
  • Chatbot(Get the auto reply from the app)
  • Hypertranslation (two features)
  • code explaination (it is able to select the code to explain what this code means )
  • translation to chinese when you read the english document