TogetherJS features collaboration on your site with a line of code

Tools like Google Docs include real-time collaboration features that allow multiple users to work on the same document simultaneously. There are also tools for sharing , like join.me or Chrome Remote Desktop for example.
But let's look at the code mentioned in the title of this article. You can easily add chat and other real-time collaboration features to the web your with the library TogetherJS.

coding site TogetherJS

Site Chat is real time

TogetherJS is a project of his which will add such collaboration features to the website, with almost no coding required. Once enabled, visitors to your website will be able to interact with each other on your website in real time.

You'll be able to see the other's cursor (like in Google Docs), highlight clicks, and screen content remain synced. Visitors to the site will also be able to chat with text and audio (using WebRTC) with any other visitor currently in your website. All this and more with just one line of code.

Add TogetherJS to your website

To get started, all you have to do is place a JavaScript bar anywhere on your site. There are several configuration parameters available in the widget, but we will use the default settings to make it easy for you.


The above code will add a small widget to your website that will display with its own window to all your visitors. They can click the widget's "+" button to create a unique TogetherJS URL. Anyone who clicks on this URL will be able to interact with each other on your page in real time. It's very simple

Add TogetherJS to any Website

There is something else. You can add TogetherJS features to any web site with the help of a bookmark.

TogetherJS Bookmarklet
javascript:(function(e,t,n){var%20r=function(){var%20t=function(e){e=e||10;var%20t='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUV0123456789′;var%20;for(var%20r=0;r

 This bookmarklet will load the TogetherJS library on the current web page and you can give your chat a unique name. If someone else runs the bookmarklet on the same page from theirs , and type the same session name you will be connected directly.

You can browse together, watch the activities of the other, or chat at the top of the page.

iGuRu.gr The Best Technology Site in Greecefgns

every publication, directly to your inbox

Join the 2.087 registrants.

Written by Dimitris

Dimitris hates on Mondays .....

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).