Emotion Enhanced Chat
The idea is to detect the user emotion using live EEG feed and enable emotion sharing over the chat room by gestures like emojis next to chat line and color changes according to peer's mode.
Procfileis required to run the nodejs app on Heroku
package.jsoncontains all npm modules to run the app
app.jscontains all server side code
config.jscontains configurations: TokBox credentials, p2p mesh support, Redis support, reserved rooms, etc.
libfolder contains all the code to handle configurations: p2p mesh support, Redis support, reserved rooms, etc.
viewsfolder contains the html template for the app
public/cssfolder contains all the css for the app.
Look for files with
.cssfiles are generated from sass.
public/jscontains the front end code and interactions with OpenTok SDK.
How to run the app:
- Clone this repo
- Get my API Key and Secret from TokBox
OTSECRETwith your corresponding API Key and Secret in
config.jsor by setting your env variables
npm installto install the necessary packages
- Start the server with
How to use:
- In the chat main screen (usaly localhost:9393) enter a room name (anything would do)
- type in the chat /help to get a list of configurations available
- To link the NeuroSteer headset with the current chat user type
/user <last 6 digits of the headset serial #>