selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Typst logo

Self-host Typst

v0.15.1

Markup typesetting system that compiles to PDF and HTML

ReleaseOpen CoreApache-2.0
docker run ghcr.io/typst/typst:latest --help
Updated4 weeks ago
LanguageRust
Setup difficultyEasy
Stars
57 083
Docker
ghcr.io/typst/typst

What is Typst?

Typst alternatives

All self-hosted alternatives to LaTeX → All self-hosted alternatives to Word and Google Docs →

Should you self-host Typst?

Typst scores 82/100 on selfhost.directory (how scoring works) and ranks #1 of 2 in Publishing. It has 57 083 GitHub stars, +354 in the last 30 days.

It shipped 4 stable releases in the past year. The latest, v0.15.1, came out on 17 July 2026. New versions land roughly every 5 weeks.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Rust.

Its closest alternative on selfhost.directory is OJS (62/100, 1 051 stars). Typst scores higher overall. See Typst vs OJS side by side.

Features

  • Accessible and archivable PDF output
  • Bibliography management
  • Data loading (CSV/JSON)
  • Embedded scripting
  • HTML ExportDescribed as in preview; html is an in-development CLI feature flag.
  • Image export (PNG, SVG)The PPI used for PNG export defaults to 144.
  • Incremental compilation
  • Math typesetting
  • Package manager
  • PDF Export
  • Template scaffolding
  • Usable as a library
  • Watch mode with auto-recompile
  • WebAssembly plugins

Typst README

Typst

Documentation Typst App Discord Server Apache-2 License Jobs at Typst

Typst is a new markup-based typesetting system that is designed to be as powerful as LaTeX while being much easier to learn and use. Typst has:

  • Built-in markup for the most common formatting tasks
  • Flexible functions for everything else
  • A tightly integrated scripting system
  • Math typesetting, bibliography management, and more
  • Fast compile times thanks to incremental compilation
  • Friendly error messages in case something goes wrong

How to install Typst

Install Typst with Docker

Environment variables
TYPST_FONT_PATHS, TYPST_ROOT, TYPST_PACKAGE_PATH, TYPST_PACKAGE_CACHE_PATH
  • Docker users can run a prebuilt image with docker run ghcr.io/typst/typst:latest --help.

Published on the GitHub Container Registry as ghcr.io/typst/typst.

How to configure Typst

  • TYPST_FONT_PATHSDirectories that are additionally searched for fonts; multiple paths separated by system path separator. Equivalent of --font-path.

    values: Paths to font directories

  • --font-pathAdds additional directories that are recursively searched for fonts during compile, watch and fonts commands.

    values: DIR

  • TYPST_IGNORE_SYSTEM_FONTSEnsures system fonts won't be searched unless explicitly included via --font-path.

    values: unset / set

  • TYPST_IGNORE_EMBEDDED_FONTSEnsures fonts embedded into Typst are not considered.

    values: unset / set

  • TYPST_ROOTConfigures the project root used to resolve absolute paths.

    values: DIR

Typst releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

Why is the Typst web app not open-source?

The company argues the project needs financial resources to sustain full-time development, so the web app and other commercial products fund the compiler while users can compile documents entirely with free software.

How can I support Typst's development?

Adopting Typst at your company or university, subscribing to Typst Pro, or sponsoring via GitHub Sponsors all help; contributors to the compiler and its dependencies also set up ways to be supported directly.

Will Typst remain open-source?

The team commits to keeping the compiler open-source and to not adding proprietary language extensions, so markup that compiles in the web app also compiles with the compiler.

Is Typst open-source?

The compiler is free open-source software under Apache-2.0 and is all you need to compile markup to PDFs and other files; the collaborative web app is proprietary commercial software, which can be licensed for self-hosting through Typst On-Premises.

Where do I find documentation for the Typst compiler?

The CLI documents itself through typst help, optionally with a subcommand such as compile, and package-manager installs usually also provide man pages. A dedicated online CLI section is planned for the future.

How do I use packages with the Typst compiler?

Import them with an @namespace/name:version statement and the compiler downloads and caches the package locally. Templates can be initialized with typst init, and you can also add your own local packages.

Can I use the open-source Typst compiler in my company?

Yes, both the CLI and the Rust library are Apache-2.0 licensed and free for commercial use, subject to the NOTICE file and the Typst brand guidelines for the name and logo. Commercial expert support for production compiler use is offered separately.

How do I update the Typst compiler?

Use your package manager's update mechanism if you installed that way; with a prebuilt binary you run typst update to fetch the newest release.

Can I embed the Typst compiler in my application?

Yes, under the permissive Apache-2.0 licence (a NOTICE file must be redistributed). It is available as a Rust crate on crates.io, and embedders implement the World trait that governs how the sandbox reads files and retrieves packages.

Can I use Typst in my code editor?

Yes, community plugins exist for VS Code, Neovim, Emacs, Helix and Zed, with Tinymist being the most popular language server. You can also skip the language server entirely and compile .typ files from the command line.

How do I install the Typst compiler?

Depending on your operating system and CPU architecture you can use your package manager or download one of the prebuilt binaries, which then must live in a directory on your PATH; if no binary exists for your platform you can build it with Rust and Cargo.

Is Typst safe to use?

Documents compile in a sandbox: they can only read files inside the project root, cannot use other applications, and the only network access allowed is fetching packages from the official registry. Native functionality has to come in through sandboxed WebAssembly plugins.

How do I get started with Typst?

Pick web app or compiler: online you sign up and create a project; locally you install the compiler, put markup in a file such as main.typ and run typst watch main.typ to regenerate the PDF on every save. The project's tutorial then walks through the language.

Should I use the Typst compiler or the Typst web app?

The web app suits newcomers, collaboration and a no-install setup; the compiler is the right choice when you want to use your own editor or drive Typst from a program or script. Both produce the same output for markup that does not depend on private packages.

What is the difference between the Typst compiler and the Typst web app?

The compiler is the open-source engine that turns Typst markup into PDFs, HTML pages or images and runs as a command-line tool, while the web app is a collaborative cloud environment with an editor, preview and team features built on top of it.

More in Publishing

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…