ShareLaTeX
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.
Keeping up to date
Sign up to the mailing list to get updates on ShareLaTeX Releases and development
Installation
We have detailed installation instructions in our wiki:
Upgrading
If you are upgrading from a previous version of ShareLaTeX, please see the [Release Notes section on the Wiki] (https://github.com/sharelatex/sharelatex/wiki/Home) 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](https://camo.githubusercontent.com/09022b654410ea1d8ffa1b87417f9ac781f83b9e249b1030dfea3b900461a9cb/68747470733a2f2f7472617669732d63692e6f72672f73686172656c617465782f7765622d73686172656c617465782e706e673f6272616e63683d6d6173746572)
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](https://camo.githubusercontent.com/36a2f08dfdac93fea87e0b3c482a446a8644e5958e2830e58aad4e766f57c32e/68747470733a2f2f7472617669732d63692e6f72672f73686172656c617465782f646f63756d656e742d757064617465722d73686172656c617465782e706e673f6272616e63683d6d6173746572)
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](https://camo.githubusercontent.com/540dc115a0f011ed956dd1dececbfb6da02c4caffad00590e80cf56b269f2002/68747470733a2f2f7472617669732d63692e6f72672f73686172656c617465782f636c73692d73686172656c617465782e706e673f6272616e63683d6d6173746572)
The Common LaTeX Service Interface (CLSI) which provides an API for compiling LaTeX documents.
docstore ![Build Status](https://camo.githubusercontent.com/6fc521b024c5ced3e58f4409b808e2ff523ba4c90e8781bab34f84d6ab458c5f/68747470733a2f2f7472617669732d63692e6f72672f73686172656c617465782f646f6373746f72652d73686172656c617465782e706e673f6272616e63683d6d6173746572)
An API for performing CRUD (Create, Read, Update and Delete) operations on text files stored in ShareLaTeX.
realtime ![Build Status](https://camo.githubusercontent.com/3f1e4757099a025873accc2589bf480f2cba18bdba890ba3bc75aba6fc52c947/68747470733a2f2f7472617669732d63692e6f72672f73686172656c617465782f7265616c2d74696d652d73686172656c617465782e706e673f6272616e63683d6d6173746572)
The websocket process clients connect to
filestore ![Build Status](https://camo.githubusercontent.com/96c17d93f8baa9cdbfc478cf9896cc123f2e1837b8a1f2d0723b83ea374644ce/68747470733a2f2f7472617669732d63692e6f72672f73686172656c617465782f66696c6573746f72652d73686172656c617465782e706e673f6272616e63683d6d6173746572)
An API for performing CRUD (Create, Read, Update and Delete) operations on binary files (like images) stored in ShareLaTeX.
track-changes ![Build Status](https://camo.githubusercontent.com/784ba124d7068a2353d1c42b87767f5eeb6ae94bc10d02b4411036d73f5dd95e/68747470733a2f2f7472617669732d63692e6f72672f73686172656c617465782f747261636b2d6368616e6765732d73686172656c617465782e706e673f6272616e63683d6d6173746572)
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](https://camo.githubusercontent.com/c40a6520a79efbbe5a5b0537fa918a3c1ec666725c4dfa80626cea2ce4f70821/68747470733a2f2f7472617669732d63692e6f72672f73686172656c617465782f636861742d73686172656c617465782e706e673f6272616e63683d6d6173746572)
The backend API for storing and fetching chat messages.
tags ![Build Status](https://camo.githubusercontent.com/6334b19a46f214ae30e8a93009710c4b0eb2d8515c1bcfec353e43c318e9c087/68747470733a2f2f7472617669732d63692e6f72672f73686172656c617465782f746167732d73686172656c617465782e706e673f6272616e63683d6d6173746572)
The backend API for managing project tags (folders).
spelling
An API for running server-side spelling checking on ShareLaTeX documents.
Contributing
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.
Authors
License
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.