Skip to content

navya/sharelatex

 
 

Repository files navigation

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.

Installation

We have detailed installation instructions in our wiki:

If you have any problems, have a look at our page of Frequent Problems and Questions.

Please help us make ShareLaTeX as easy to install as possible by answering our quick survey about your system and needs

Dependencies

ShareLaTeX should run on OS X and Linux. You need:

  • Node.js 0.10 or greater. We recommend that you use nvm to install it.
  • The grunt command line tools (Run npm install -g grunt-cli to install them)
  • A local instance of Redis (version 2.6.12 or later) and MongoDB running on their standard ports.
  • TeXLive 2013 or later with the latexmk program installed.

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:

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.

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.

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

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

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

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.

The backend API for storing and fetching chat messages.

The backend API for managing project tags (folders).

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.

About

A web-based collaborative LaTeX editor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 49.6%
  • CoffeeScript 48.1%
  • Shell 2.3%