This project is in beta! Please consider helping to bring it to reality faster..
Meteor Relay Chat (MRC) is a Meteor chat implementation modeled after IRC. This is a complete solution and is customizable but not intended as an embedded solution in to an existing site.
Demo: http://mrc.meteor.com
- Note: The code for the demo is inside this github under the
demofolder.
- Create a new meteor project and go to it via
meteor create projectName | cd projectName - Add the MRC package via
meteor add alisalaah:mrc - Remove autopublish and insecure packages
meteor remove autopublish insecure - Add your desired account services (at least 1 required), ie:
meteor add accounts-password accounts-facebook - Add
{{> mrc}}within your body tags - Create a settings.json (remove lines for anything not use like analytics)
- If wish to use Kadira add it
meteor add meteorhacks:kadirawith details in settings.json - Start your application using the json
meteor --settings settings.json
- Note: MRC is intended for a blank Meteor application. See the Demo for a functional example.
Example: https://github.com/alisalaah/meteor-mrc/blob/master/demo/settings.json
The above is an example of the settings json. You would remove (or add) for any login services you have. If not using Kadira remove that. Add analytics or remove them. The owner should be the email that associates with your Facebook, Google or Github account so that once you login the first time using those auth services you will automatically be made owner. If you are not using one of those 3 services you will have to manually claim ownership after signing in for the first time - and you will NOT use this field (delete it). To manually claim ownership login to the site and then open the JavaScript console and type claimOwner() and hit enter. If there is no owner for the site yet you will become the owner with your current logged in account. This is first come first serve so make sure you do this before anyone else. You can always manually change this via mongo console but all in site permissions will protect the owner from being removed or changed for security.
MRC is highly configurable through built in settings. Default settings make it ready to go but pre-deployment settings can be set via your projects JavaScript or declare some custom templates or styling as well.
This project is still in development and more will be written when it is made available.
If you wish to help please contact me via Meteor's IRC, Forums or @alicamarata
- Mute/Ban working with some bugs
- Disconnect warnings to users
- Fixed message display bugs for old users
- Startup procedure with settings.json
- Analytics and Kadira implemented
- Start mod controls like banning
- Restructure
- Use of roles package
- Signup procedure
- Extra permissions and hooks on collections
- Basic functionality
- Admin area
- Edit profile area (in progress)
- Initial version and start of code