/styrene

LaTeX editor and compiler for the browser.

Primary LanguageJavaScriptMIT LicenseMIT

Styrene

Write and Compile LaTeX in the browser.

Self-hosting

Docker

docker run -d --name=styrene -p 8080:8080 quantumsheep/styrene

Installing every LaTeX libraries

This procedure requires ~3GB of storage. That's why it isn't included in the original Docker image.

Assuming that your container is named styrene - Connect to the container's shell:

docker exec -it styrene sh

Once in the container, execute this command:

apk add texmf-dist-full

Why is the image so heavy (~670MB)?

I used texlive alpine package to run pdflatex with all the LaTeX packages needed, which are very large because of all the dependencies and sub packages used.

From sources

First, clone the repository to the specified directory and install the required npm modules.

git clone https://github.com/quantumsheep/styrene
cd styrene
npm install

To start the server, use the start script.

npm start

Screenshots

Because pictures speak louder than words.