Skip to content

GEWIS/pdf-compiler

Logo

📄 PDF Compiler

Go Report Card Build Latest Release client License: AGPL-3.0

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.

Prerequisites

  • Go 1.24+
  • swag, see here for installation instructions
  • docker

Usage

The default make target will run swag and build the application.

make

To run the application, use the following command:

./pdf-compiler

View the Swagger UI at http://localhost:8080/swagger/index.html.

Documentation

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.

Client

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.

About

Simple LaTeX / HTML to PDF compiler using HTTP requests.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Contributors 2

  •  
  •