Skip to content

Sovichea/typstry

Repository files navigation

Typstry

A complex-script-first Typst environment for research and long-form multilingual writing.

Download Typstry

Typstry has pre-built desktop releases.

Download the latest release

Available packages:

  • Windows: .msi
  • Linux: .AppImage and .deb
  • macOS: experimental build

Typstry is currently beta software. The latest public release is v0.3.0.

Release License: MIT Built with Tauri

Typstry

What is Typstry?

Typstry is a local-first writing environment for Typst, designed for research papers, technical documentation, theses, books, and other long-form documents.

It serves writers and researchers whose languages are not always well supported by traditional technical-writing tools. Typstry focuses on Unicode-safe editing, script-aware interaction, responsive PDF preview, extensible language tools, and multi-file project workflows while keeping the underlying Typst source portable.

Khmer is the first language with deep support, including tailored cursor and deletion behavior, spellcheck, and word completion. Khmer demonstrates the depth Typstry aims to provide; it is not the boundary of the project. The editing-policy and language-provider architecture is designed so other languages can add their own behavior without changing or weakening Khmer support.

Screenshots

Editor and document preview

Typstry editor with docked document preview

Khmer script-aware editing and language tools

Khmer word completion in Typstry

Project workspace

Typstry welcome screen

Why Typstry?

Most editors treat complex-script support as a font or rendering concern. Reliable authoring also depends on cursor boundaries, deletion behavior, IME input, Unicode-safe ranges, language segmentation, completion, search, diagnostics, and consistent source-to-preview navigation.

Typstry treats these as core editor responsibilities. Script-aware editing policies remain separate from dictionaries and language tools, allowing each language to tailor only the behavior it owns. Khmer is the reference implementation for this architecture.

Typstry also treats a document as a project rather than an isolated file. A real research document may contain a main file, templates, chapters, includes, bibliography databases, figures, data, and files that can be previewed independently. Typstry is being designed around that structure while preserving compatibility with the standard Typst ecosystem.

Highlights

  • Local-first desktop authoring with ordinary, portable Typst source files.
  • CodeMirror editing with Unicode-safe ranges and complex-script font fallback.
  • Script-aware editing-policy registry with deeply tailored Khmer behavior.
  • Khmer spellcheck and word completion through the pinned Khmer segmenter.
  • English spellcheck bundled by default, with optional Hunspell-compatible dictionaries for additional languages.
  • Independent controls for script-aware editing, spellcheck, and typing suggestions.
  • Tinymist diagnostics and managed Typst tooling.
  • Virtualized PDF preview designed for long documents and constrained memory use.
  • Main-document and standalone-preview workflows for multi-file projects.
  • Workspace support for templates, chapters, includes, bibliography files, figures, and external assets.

Language support

Language support is capability-based rather than all-or-nothing:

  • Deep support can include a script editing policy, reliable segmentation, spellcheck, and word completion. Khmer is the first deep implementation.
  • Enhanced support can add a tokenizer or other language-specific boundary logic without requiring custom editor behavior.
  • Basic support uses a compatible dictionary where available. This can provide useful spellcheck, but it is not presented as reliable segmentation for languages that require a dedicated tokenizer.

The long-term goal is for contributors to add a language through explicit policy and provider modules without modifying generic CodeMirror integration or another language’s implementation.

Research-document workflow

Typstry is designed around one project identity and one configured main document. Opening an included chapter should keep the full-document preview, scroll context, and source relationships intact instead of treating every active file as a separate document.

The planned scalable workflow covers:

  • project and main-document identity;
  • included chapters, templates, imports, bibliographies, figures, and data;
  • explicit standalone previews;
  • render-on-type and render-on-save policies;
  • revision-safe diagnostics, language analysis, compilation, and source navigation;
  • virtualized preview rendering for long PDFs;
  • workspace restoration and recovery after compiler or LSP failures.

The detailed architecture and trackable work are recorded in the complex-script-first implementation plan.

Quick start

  1. Download the latest installer from Releases.
  2. Install and open Typstry.
  3. Open a Typst workspace or use an included example from the welcome screen.
  4. Configure fonts, language tools, preview behavior, and the managed Tinymist toolchain in Settings.

Typstry downloads and manages Tinymist for preview and diagnostics. A separate Typst installation is not required for normal use.

Documentation

Beta status

Typstry is beta software. Windows and Linux builds are the most actively tested. macOS builds are experimental and require broader verification, signing, and notarization work before general release.

When reporting an issue, include:

  • operating system and installer;
  • Typst project structure and main-file configuration;
  • language and script;
  • a minimal source example where possible;
  • preview, diagnostics, font, cursor, wrapping, search, or language-tool symptoms.

For developers

git clone --recurse-submodules https://github.com/Sovichea/typstry.git
cd typstry
bun install --frozen-lockfile
bun run tauri dev

See the development guide for validation commands and contributor requirements.

License

Typstry is released under the MIT License.

About

A complex-script-first Typst environment for research and long-form multilingual writing. Built with Tauri, Bun, and CodeMirror 6.

Topics

Resources

License

Stars

4 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors