Skip to content

XWBarton/glyph

Repository files navigation

Glyph icon

Glyph

Desktop Typst editor for macOS, Windows, and Linux. Write in a Monaco-powered source panel, see the compiled PDF update live alongside it.

Glyph screenshot

Features

  • Live PDF preview — compiles on every keystroke with debouncing; errors shown inline with a copy button
  • Book mode — group multiple .typ files into a single project with front matter, chapters, and back matter; add, reorder, and delete sections from a sidebar panel
  • Per-chapter and full-book preview — click a chapter to preview it in isolation, or click the book title to compile and preview the whole document at once
  • Bibliography.bib files in your book are scanned automatically; @cite keys resolve in chapter previews, and the references page always renders against the full book so every citation appears
  • Image completions — place images in an assets/ folder and get path completions when typing #image("…")
  • Slash commands — type / to open a command palette: headings, lists, tables, images, math, code blocks, and more
  • File management — open any .typ file; the editor tracks the active file path and passes it to the compiler
  • Project-aware imports — walks up the directory tree to find typst.toml and uses it as the Typst root; add an empty typst.toml at your project root to allow ../ imports across subdirectories
  • Syntax highlighting — full Typst grammar with custom token colours

Install

Requires Typst on your PATH. The app searches standard install locations automatically (Homebrew, Cargo, system PATH).

A macOS (Apple Silicon) build is available on the Releases page. For other platforms, build from source below.

Build from source

Requirements: Node.js 20+ and Typst.

git clone https://github.com/XWBarton/glyph.git
cd glyph
npm install
npm run dist    # produces a .dmg / .exe / .AppImage in dist/

Related

Glyph Quorum Self-hosted collaborative web editor — multiple people editing the same Typst document in real time

Development

npm install
npm run dev

Launches the app in development mode with hot reload.


Found this useful and want to help support maintenance?

Buy Me A Coffee