How to Easily Enable Real-time Collaboration on Your Site

2025-11-05

If you are a webmaster, you might be thinking of how you can make your website more interactive, or even allowing your visitors to collaborate with one another. Most of the time, implementing a collaborative function on your site can be a labour and time intensive process. However, with TogetherJS, you can now easily add a real-time collaboration feature to your site with minimal technical/coding skill.

TogetherJS is a free, open source collaboration tool created by Mozilla (the team behind the Firefox browser). The whole collaboration tool is wrapped in a Javascript library and all you need to do is to add the Javascript code to your site to enable real-time collaboration feature for your site.

Installation

To get started, all you have to do is to add the following line of code to your website theme/template, preferably at the end of the page, before the

tag:

<script src="https://togetherjs.com/togetherjs-min.js"></script>

To allow users to start a collaboration session, simply add a “Start Collaboration” button to your site. Paste the code to the position where you want the button to show up.

<button onclick="TogetherJS(this); return false;">Start Collaboration</button>

Alternatively, you can add a CSS class to the button so you can style it to suit your theme.

<button class="collaboration-btn" onclick="TogetherJS(this); return false;">Start Collaboration</button>

That’s all you need to do. Let’s look at how it performs.

Usage

When someone clicks on the “Start Collaboration” button, a popup window will show up.

togetherjs-popup

Clicking the right arrow in the popup will reveal a field for the user to enter his/her name and optionally, upload his/her profile photo.

togetherjs-user-profile

The next screen to the right shows the link that the user can share with his/her friends to get them to join in the session.

togetherjs-share-link

Lastly, click the “I’m ready” button to start the session.

togetherjs-sidebar

When invited guests click the link to go to your site, they will see a “Join Session” popup box. Once they join the session and setup their profile, their avatar will show up in the sidebar.

togetherjs-join-session

Things that you can do include:

Chat

togetherjs-chat

Audio Chat

The audio chat is an experimental feature and is subjected to the support of the browser.

togetherjs-audio-chat

Synchronized mouse movement and real-time changes

Below is a screencast where I place two browsers side by side and see how the mouse movement of one user show up in another user’s screen. I also typed in the comment field and the text show up immediately in the other browser.

togetherjs-screencast

Conclusion

The features shown above are only a small part of what you can do with TogetherJS. You can check out its documentation for more ways to extend its functionality. There are ton of things that you can do on your site with TogetherJS and with such a simple implementation, you are only restricted by your own creativity.

Comments on " How to Easily Enable Real-time Collaboration on Your Site" :

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    Related Article

    Why You Should Have Local Backups Of Your Cloud Backup
    INTERNET

    Why You Should Have Local Backups Of Your Cloud Backup

    Welcome to the cloud era, a point in our history where we think it’s a great idea to let data fly

    Forget Everything Else: Exclude Browsing History When Searching via Chrome’s Omnibox
    INTERNET

    Forget Everything Else: Exclude Browsing History When Searching via Chrome’s Omnibox

    As you may already know, in the Google Chrome web browser, the address bar and search bar is combine

    How to Copy All Links on a Web Page in Firefox
    INTERNET

    How to Copy All Links on a Web Page in Firefox

    Has there ever been a time where you wanted to copy all links on a web page while browsing? Or maybe

    How to Import your Instapaper Articles into Pocket
    INTERNET

    How to Import your Instapaper Articles into Pocket

    Instapaper and Pocket (formerly known as Read It Later) are two of the greatest services that offer

    How to Check Your Network Connection With Chrome Connectivity Diagnostics
    INTERNET

    How to Check Your Network Connection With Chrome Connectivity Diagnostics

    A lot of you out there could be regularly facing various network issues, and you might not be able t

    Pushbullet: Push Links and Files From Chrome or Firefox to Your Android Device
    INTERNET

    Pushbullet: Push Links and Files From Chrome or Firefox to Your Android Device

    Pushbullet is an extension/add-on for Chrome and Firefox that allows you to send links, notes and fi

    How to Organize History By Tags in Google Chrome
    INTERNET

    How to Organize History By Tags in Google Chrome

    The History tool in Google Chrome helps us track our browsing history, but the process is sometimes�

    Can People Really Spy on Your Webcam?
    INTERNET

    Can People Really Spy on Your Webcam?

    In December of 2013, many news outlets were reporting that the FBI has had the technology to spy on

    About Netverse

    We are a premier digital platform committed to delivering high-quality content to our readers. Our mission is to provide accurate, reliable, and engaging information that adds value to our audience's daily lives.

    Our team consists of experienced content creators and subject matter experts who uphold the highest standards of professionalism. In an era of information overload, we curate content with care, ensuring our users receive only the most relevant and trustworthy information.

    Beyond just reporting facts, we focus on depth and context. Through expert analysis, comprehensive research, and clear presentation, we help our audience gain meaningful insights and make informed decisions.

    We take pride in being a trusted information source for our growing community of readers. Our user-first approach means we continuously adapt to provide content that meets our audience's evolving needs and interests.

    Innovation and excellence drive everything we do. We're committed to improving our platform and services to deliver the best possible experience for our users.