vsfexperts/latex-render-server

By vsfexperts

Updated almost 4 years ago

Simple REST service to render LaTeX documents. See https://github.com/vsfexperts/LaTeX for details.

Image

3.3K

vsfexperts/latex-render-server repository overview

Simple REST service to render LaTeX documents. See https://github.com/vsfexperts/LaTeX for details.

Dockerfile available at https://github.com/vsfexperts/LaTeX/blob/development/latex-docker/src/main/docker/Dockerfile Parameters are documented at https://github.com/vsfexperts/LaTeX as well.

Sample:

  1. Start with docker run -d -p 8080:8080 vsfexperts/latex-render-server

  2. Send LaTeX document via POST:

curl -X POST --data-binary @sample.tex -H "Content-Type: text/plain; charset=UTF-8" http://localhost:8080

Document must contain/embed all data. Additional files aren't supported atm. See github page for workarounds.

  1. Poll http://localhost:8080/ UUID was returned as json response in previous request. Status code is 400, if the document wasn't found/not yet created. PDF is returned otherwise.

  2. Admin URL at http://localhost:8080/admin/index.html Prometheus/Spring Boot Actuator/Jolokia have been integrated

Docker Pull Command

docker pull vsfexperts/latex-render-server