tpt-w-macro

Rust

Lightweight, offline UI macro & workflow recorder for Windows and Linux — Rust core with native GUIs, no Wayland/X11 hacks required.

0 stars0 forks0 watchersApache License 2.0
automationmacro-recorderrustworkflow-automation

Languages

Rust100.0%
README

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

CratePurpose
crates/coreData model, recorder, replay engine, triggers, storage (no platform code)
crates/inputWindows and Linux input capture, injection and element lookup
crates/cliCommand-line interface (tpt-macro)
crates/tray-appBackground service for triggers (tpt-macro-service)
crates/guiDesktop app shared by both platforms
crates/gui-windowsWindows front-end
crates/gui-linuxLinux 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.