A web-based collaborative LaTeX editor
CoffeeScript JavaScript
Clone or download
ShaneKilkelly Merge pull request #570 from sharelatex/sk-unlisted-projects
add migration for token-based access indexes
Latest commit 808da2a Aug 2, 2018



ShareLaTeX is an open-source online real-time collaborative LaTeX editor. We run a hosted version at http://www.sharelatex.com, but you can also run your own local version, and contribute to the development of ShareLaTeX.

If you want help installing and maintaining ShareLaTeX at your university or workplace, we offer an officially supported version called ShareLaTeX Server Pro. It also comes with extra security and admin features. Click here to find out more!

Keeping up to date

Sign up to the mailing list to get updates on ShareLaTeX Releases and development


We have detailed installation instructions in our wiki:


If you are upgrading from a previous version of ShareLaTeX, please see the Release Notes section on the Wiki for all of the versions between your current version and the version you are upgrading to.

Other repositories

This repository does not contain any code. It acts a wrapper and toolkit for managing the many different ShareLaTeX services. These each run as their own Node.js process and have their own Github repository. These are all downloaded and set up when you run grunt install

The different services are:

web Build Status

The front facing web server that serves all the HTML pages, CSS and JavaScript to the client. Also contains a lot of logic around creating and editing projects, and account management.

document-updater Build Status

Processes updates that come in from the editor when users modify documents. Ensures that the updates are applied in the right order, and that only one operation is modifying the document at a time. Also caches the documents in redis for very fast but persistent modifications.

CLSI Build Status

The Common LaTeX Service Interface (CLSI) which provides an API for compiling LaTeX documents.

docstore Build Status

An API for performing CRUD (Create, Read, Update and Delete) operations on text files stored in ShareLaTeX.

realtime Build Status

The websocket process clients connect to

filestore Build Status

An API for performing CRUD (Create, Read, Update and Delete) operations on binary files (like images) stored in ShareLaTeX.

track-changes Build Status

An API for compressing and storing the updates applied to a document, and then rendering a diff of the changes between any two time points.

chat Build Status

The backend API for storing and fetching chat messages.

tags Build Status

The backend API for managing project tags (folders).


An API for running server-side spelling checking on ShareLaTeX documents.


Please see the CONTRIBUTING file for information on contributing to the development of ShareLaTeX. See our wiki for information on setting up a development environment and how to recompile and run ShareLaTeX after modifications.



The code in this repository is released under the GNU AFFERO GENERAL PUBLIC LICENSE, version 3. A copy can be found in the LICENSE file.

Copyright (c) ShareLaTeX, 2014.