React Connect (A Google Chrome browser extension) is a chat app using http://material-ui.com/, http://facebook.github.io/flux/, http://facebook.github.io/react/ and http://socket.io/
Clone this repo and follow below steps to run the app
- Install NodeJS using http://nodejs.org/
- Go to
server
direcoty & runnpm install
using command line (installs node dependencis) - ๐And run command
node index.js
to start the servers - http (@ port 3003) and https (@ port 3004)
- Using command line
npm install
in the root directory of the project (installs node dependencies) - Run
npm start
in command line to start wathcer (createsdist/js/bundle.js
) - Use
dist
directory to pack as chrome extension- Open
chrome://extensions
in Google Chrome browser - Drag your
dist
directory from the file system and drop onchrome://extensions
page - Enable
Developer Mode
by clicking on checkbox - ๐ Copy
ID
of our droppedConnect
app & paste it at line no.44 inserver/contentframe.js
- Open
- SSL permission for localhost
- In a Chrome tab Open
https://localhost:3004/contentframe.html
- Click on
Advanced
- Click on
Proceed to localhost (unsafe)
- In a Chrome tab Open
- Enabling Microphone access
- On opening of
https://localhost:3004/contentframe.html
first time, Once you ssl permission is success, You will get a popup asking permission to access microphone - Click
Allow
- On opening of
- Open any website in chrome (except built in browser pages ๐ก)
- Click on
CONNECT
extension icon - Enter email address for the firsttime
- Click on
JOIN
button & Enjoy
NOTES:
- ๐ Eventually servers should be running in a public address so that users can chat across machines.
- ๐ This annoyance will be removed eventually
- ๐ก Injecting iframe to webpages(using content script) to use
WebkitSpeechRecognition
api. Since we cannot inject contentscripts to browser's default pages. We should be in a website to use extension's voice input.