tpt-w-macro
RustLightweight, offline UI macro & workflow recorder for Windows and Linux — Rust core with native GUIs, no Wayland/X11 hacks required.
Languages
tpt-macro
A lightweight UI macro and workflow recorder. It captures clicks and keystrokes, supports branching and loops, and runs entirely offline. It is a smaller alternative to enterprise automation suites, and it is built to work on Linux Wayland sessions as well as Windows.
Built by TPT Solutions. Targets Windows and Linux for v1.
Status
Most of the roadmap is implemented and unit-tested. Platform code compiles on Windows and Linux, but has not been run on real desktops yet. Known gaps are listed in docs/CHANGELOG.md.
Implemented:
- Recording, replay, branches, loops, retries and a corner stop (Windows)
- Triggers: hotkey, schedule, file change and process start, run by a background service
- Command-line interface and a desktop app for Windows and Linux
- Windows (UI Automation,
SendInput) and Linux (evdev, uinput, AT-SPI) backends
Not run on real machines yet: the manual test plan is in docs/e2e-test-matrix.md. Roadmap: todo.md.
Documentation: user guide, safety audit, changelog. Ready-made macros and triggers to copy: examples.
Building
Requires Rust 1.81 or newer.
cargo build --workspace
cargo test --workspace
Layout
| Crate | Purpose |
|---|---|
crates/core | Data model, recorder, replay engine, triggers, storage (no platform code) |
crates/input | Windows and Linux input capture, injection and element lookup |
crates/cli | Command-line interface (tpt-macro) |
crates/tray-app | Background service for triggers (tpt-macro-service) |
crates/gui | Desktop app shared by both platforms |
crates/gui-windows | Windows front-end |
crates/gui-linux | Linux front-end, with the permission setup flow |
Packaging scaffold for Linux is in packaging/linux/.
Licence
Dual-licensed under either of
at your option. Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this work is dual-licensed as above, without any additional terms or conditions.