A desktop editor for Markdown, LaTeX, and Typst, built with Tauri. It has live preview, LaTeX compilation with SyncTeX, BibTeX support, and PDF search.
- Markdown preview with KaTeX math
- LaTeX compilation (pdflatex / xelatex / lualatex), PDF preview, and SyncTeX (jump between source and PDF)
- Typst preview and PDF export
- Multi-file LaTeX projects: a combined outline, clickable
\input/\include, compile errors that open the right file, and citations that open their.bibentry - Tabs, a folder tree, a command palette, and keyboard shortcuts
- Autosave and session restore; recent files and folders
- Settings grouped into categories (Appearance, Editor, LaTeX & PDF, Preview, Updates)
- Project fonts and assets are bundled into the compile directory automatically
- Built-in update check
Download the installer for your platform from the Releases page:
- Windows —
.exe - macOS —
.dmg - Linux —
.AppImage
brew install --cask ziwangprincex/clavis/clavisClavis checks for updates when it starts. You can also check manually from
Settings → Updates → Check for Updates, or the command palette
(Ctrl/Cmd+Shift+P) → "Check for Updates…". When there's a new version it asks
first, then downloads and restarts into it.
- LaTeX is optional. Install TeX Live or MacTeX if you want it (XeLaTeX handles CJK and custom fonts best).
- Typst needs nothing extra; it's built in.
For development. To just use the app, download an installer above.
You need Rust 1.75+, Node.js 18+, and the system dependencies Tauri needs
(WebView2 on Windows, Xcode command line tools on macOS, webkit2gtk-4.0 and
friends on Linux).
git clone https://github.com/ziwangprincex/Clavis.git
cd Clavis
cd web && npm install && cd ..
cargo tauri dev # opens a window with hot reloadThe first build compiles a lot of Rust crates and takes several minutes; later builds are fast.
cargo test # Rust
cd web && npm test # frontend (Vitest)cargo tauri buildOutput is under target/release/bundle/. For the macOS build script see
BUILD_MACOS.md; for how releases are cut see
RELEASING.md.
- Pick a file or folder to work in when you start.
- XeLaTeX is the safest choice for CJK and custom fonts.
- Command palette:
Ctrl+Shift+P(Cmd+Shift+Pon macOS). Compile:Ctrl+B/Cmd+B.