# togetherjs **Repository Path**: mirrors_firebase/togetherjs ## Basic Information - **Project Name**: togetherjs - **Description**: A service for your website that makes it surprisingly easy to collaborate in real-time. - **Primary Language**: Unknown - **License**: MPL-2.0 - **Default Branch**: develop - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2025-12-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README TogetherJS + Firebase ===================== [TogetherJS](http://togetherjs.com) is a service for your website that makes it surprisingly easy to collaborate in real-time. Learn more at the [original Github repository](https://github.com/mozilla/togetherjs). This repository lets you use Firebase as the backend for your TogetherJS sessions. Try it out! ### Benefits There are two benefits to using Firebase with TogetherJS: * Persistence - Sessions are automatically persisted, which allows for easy replay of sessions (cursor movements, chat history, etc) if required. Note this is not enabled by default, see the comment on line 240 in channel.js to enable. * Scalability - Firebase is a robust service and is built to automatically scale with your usage. ### Usage Include the modified version of TogetherJS along with Firebase. You may also (optionally) set the HUB URL to your own Firebase: ```html ``` Then use TogetherJS as you normally would: ```html ``` If you want to build your own version of the JavaScript libraries, don't forget to set `HUB_URL` to a valid Firebase URL (`https://together.firebaseio-demo.com` by default) while running grunt. For example: ```bash HUB_URL="https://.firebaseio.com/" grunt --base-url="/togetherjs" devwatch ```