Drafts
An editor for Typst (WIP)
Install / Use
/learn @limads/DraftsREADME
Drafts (Work in progress)
Drafts is an editor for technical writing that leverages the Typst typesetting system.
Features
-
A lightweight editing experience with syntax highlighting and document navigation
-
Lightning-fast PDF preview and export (thanks to the recently open sourced Typst compiler).
-
Menu-based interactions for common tasks (math symbol input, document formatting)
-
Provides a few generic templates to help you get started.
Installation
A Flathub release is begin worked on, but for now you can use:
Flatpak
The preferred method of installation is Flatpak, which will guarantee you have all the system dependencies setup and will provide a nicer system integration:
wget https://raw.githubusercontent.com/limads/drafts/master/io.github.limads.Drafts.Devel.json
mkdir drafts-build
flatpak-builder --repo=drafts-build/repo drafts-build/build io.github.limads.Drafts.Devel.json --state-dir=drafts-build/state --force-clean --install --user
flatpak run io.github.limads.Drafts
Direct cargo install
You will need to have a few system dependencies installed (they probably are if you are using a distribution with a recent Gnome environment (>=43):
libgtk-4-1
libgtksourceview-5
libpoppler123
Make sure you also have a recent Rust toolchain (>=1.67), then use cargo build
or cargo install:
git clone https://github.com/limads/drafts
cd drafts
cargo install --path .
./cargo/bin/drafts
Related Skills
node-connect
342.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.7kCommit, push, and open a PR
