pdf-compiler is a simple LaTeX and HTML → PDF compiler over HTTP, written in Go. It supports compiling LaTeX documents using pdflatex and HTML documents using headless Chrome.
- Go 1.24+
swag, see here for installation instructionsdocker
The default make target will run swag and build the application.
makeTo run the application, use the following command:
./pdf-compilerView the Swagger UI at http://localhost:8080/swagger/index.html.
The easiest way to view the documentation is to start the application and navigate to http://localhost:8080/swagger/index.html.
The files can also be found in the docs directory.
The pdf-compiler also comes with a client written in TypeScript. The client can be found in the client directory. See the README for more information.
