Skip to content
This repository was archived by the owner on Dec 9, 2025. It is now read-only.

leojofer/typst-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Typst Server

Python HTTP Server that renders typst documents to pdf.

Deployment

Example docker compose file:

services:
  typst:
    image: "ghcr.io/leopoldlabs/typst-server"
    ports:
      - 8000:8000
    environment:
      - TOKEN=<replace-with-your-token>

Usage/Examples

curl -X POST http://localhost:8000/ \
  -H "Authorization: Bearer <replace-with-your-token>" \
  -d "= Hello world" \
  -o response.pdf

There is also an example JS client in client.mjs.

About

HTTP Server for typst

Resources

Stars

Watchers

Forks

Packages

No packages published