EmoChat is the 1st place winner of a 2-days hackthon named Brainihack. This project is based on OpenTokRTC and enhances with emotion detection capabilities using NeuroSteer EEG headset.
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 Herokupackage.jsoncontains all npm modules to run the appapp.jscontains all server side codeconfig.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 apppublic/cssfolder contains all the css for the app.
Look for files with.scssextensions..cssfiles are generated from sass.public/jscontains the front end code and interactions with OpenTok SDK.
- Clone this repo
- Get my API Key and Secret from TokBox
- Replace
OTKEYandOTSECRETwith your corresponding API Key and Secret inconfig.jsor by setting your env variables - Run
npm installto install the necessary packages - Start the server with
node app.js
- 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 #>
- https://vimeo.com/122224388 - presentation at Brainihack final demo
- https://vimeo.com/122826001 - screen capture of a chat we did in Brainhack's final demo