Print a PDF locally
Download the archive for Linux x86-64 or ARM64 and its matching checksum from the release. Extract the archive and run these commands inside it.
printf '%s\n' '{"type":"document","properties":{},"children":[{"type":"page","properties":{},"children":[{"type":"text","properties":{},"children":["First print"]}]}]}' > hello.json
./pressjet render hello.json -o hello.pdf
Install the SDK for your app
-
Node.js 22+ / TypeScript. Run
npm install pressjet@0.1.0-beta.5. npm selects the native renderer on Linux x64 and ARM64. -
Python 3.11+. Run
python -m pip install pressjet==0.1.0b5. Linux platform wheels include the native CLI. -
Go 1.26+. Pin the module with
go get github.com/tonysantana1492/pressjet/sdks/go@v0.1.0-beta.5. - PHP 8.3+. Extract the SDK archive and install it as a Composer path repository.
Copy the installation commands for your SDK ↗
Connect an MCP client
Use pressjet mcp with a local client such as Codex,
Claude Code or Gemini CLI. If you run Pressjet as an HTTP service,
connect your client to /mcp with a Pressjet API key.
Pressjet MCP is available in public beta as
dev.pressjet/pressjet
in the official MCP Registry.
Local setup and invoice example ↗ · Streamable HTTP setup ↗
Run the HTTP service
export PRESSJET_API_KEY="$(openssl rand -hex 32)"
docker run --rm -p 127.0.0.1:8080:8080 \
-e PRESSJET_API_KEY ghcr.io/tonysantana1492/pressjet:0.1.0-beta.5
For an offline install, download the matching Docker image archive
from the release and use docker load -i FILE.tar.gz.
Beta 5 compiles print HTML inside the API. Requests with
"engine": "reference" use the optional isolated HTML worker. The deployment guide also
covers configuring signing certificates, API keys and
Prometheus metrics.
Self-hosting guide ↗ · Document format ↗ · Report a beta issue ↗