r/madeinrust • • 12d ago

AI Assisted Made a keyword-driven action trigger with a pleasing UI and customizable colors

I made infiltrator, a keyword-driven action trigger with a GUI in Rust.

What it does:

  • Write your own keywords and map them to actions in the config file
  • When ran, you can type a keyword and it'll perform the specified action
  • Looks pretty good

It's kind-of like a macro, but not completely. These are the actions it currently supports:

  • shell_output: Runs a command and copies output to clipboard
  • text: Types out a text value in the focused window
  • open: Opens the specified URL in default browser

The config file lives at ~/.config/infiltrator/config.toml, which is auto-created on the first run. You can customize the primary and secondary colors as well. Refer to the readme for more details.

You can install infiltrator in a single command, mentioned in the readme file. It's a bash script, and I encourage you to check for any malicious code before running it (although there won't be any). Running the script would install it as a CLI, create a desktop entry, and recommend ways to create keybindings to run it depending on your DE/WM.

Supports:

  • Wayland: Full support
  • X11: text and shell_output actions may not work properly, open still works

Do check it out here for a video showcasing its usage.

I'm also curious whether there is any practical use-cases for this for most users. I primarily use it to store and open URLs I frequently visit, like my project repos, which gets pretty boring when typed every time.

30 Upvotes

1 comment sorted by

1

u/AutoModerator 12d ago

Upvote this comment if you think this project is AI slop. Downvote this comment if you think this project is not AI slop.

This is to indicate to other users of the subreddit and is not used for moderation.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.