Textr is a text expander for the desktop: type a short trigger in any application and it is replaced with a longer piece of text, a code template, or the output of a shell command, in whichever window currently has focus.
It runs as a small background daemon with a manager window for creating and organising snippets. Snippets can be grouped into nested folders, grouped by type or by tag, searched as you type, sorted by name, recently used or most used, duplicated, and disabled without deleting them. Libraries can be exported and imported as snippet packs, and existing Espanso YAML match files can be imported, with conflicting triggers skipped rather than overwritten.
Expansion supports per-language code templates, shell command snippets, and placeholders for name, email address, current date and time, ISO timestamp, week number and clipboard contents. Dates can be shifted relatively, formats can be set per placeholder, and choice prompts, counters, random options and a cursor marker for leaving the caret mid-expansion are supported. Missing placeholder values can be prompted for at expansion time.
Trigger matching respects word boundaries, and when one trigger is the prefix of a longer one, expansion waits for the next keystroke so the shorter trigger does not fire early. Text can be inserted by clipboard paste or by human-like typing.
On Linux it works on both X11 and native Wayland, reading input devices directly and typing through ydotool; it also runs on Windows and macOS. Snippets are stored as plain JSON, with automatic rotating backups, a trash with restore, and a daily usage log with statistics.
No comments or reviews, maybe you want to be first?