View the project at quasar.meteor.com
A real-time video chatroom app built with Meteor + React + Flux + WebRTC
FE: react + flux + webrtc BE: meteor
quasar works in browsers that support WebRTC and has so far been tested in Chrome and Firefox.
-
Clone the project
git clone https://github.com/srtucker22/quasar.git
-
Go to the primary directory
cd quasar
-
Add a settings.json to the primary directory
touch settings.json
-
Add your personal settings for the following services included in quasar (or remove the ones you don't want)
{ "facebook" : { "appId": "YOUR_APP_ID", "secret": "YOUR_APP_SECRET" }, "google" : { "clientId" : "YOUR_CLIENT_ID", "clientSecret" : "YOUR_CLIENT_SECRET" }, "kadira": { "appId": "YOUR_APP_ID", "appSecret": "YOUR_APP_SECRET } }
-
run the app with the settings
meteor --settings settings.json
-
enjoy!
Most of the WebRTC magic happens using communication via Meteor Streams. On the backend, the streams are managed in roomStream in room.stream.jsx and handled by RTCStore on the frontend in rtc.store.jsx.
Would love any code contributions, and please raise issues if you run into bugs or have feature requests, etc. Thanks!
My original motivation for quasar was to learn React, Flux, and WebRTC in one go and further my Meteor skill.
quasar makes for a solid example of how to integrate React + Flux in a Meteor app, and how to get a WebRTC video chatroom up and running.
- Meteor 1.2 upgrade --> waiting on the meteor-packages react 0.14 PR to get finalized and merged :)
- React Native / Meteor iOS app that works with quasar on the web
- Whatever else the people want
The MIT License
Copyright (c) 2015 Glipcode http://glipcode.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.