r/espanso • • Oct 22 '26

I made a small Windows window for adding Espanso shortcuts without touching YAML

I use Espanso every day, but adding a new shortcut always meant opening base.yml, and more than once a missing quote or a bad indent stopped the whole file from loading. So I built a tiny UI for it.

EspansoUI is one box for the trigger, one box for the text, press Add, and it works right away (Espanso reloads the file by itself).

What it does to keep your config safe:

  • Every value is written quoted, then read back and checked before the file is replaced
  • A backup before every save (last 50 kept)
  • If base.yml has anything it doesn't understand (forms, variables, | blocks...), it opens read-only and changes nothing
  • Warns about duplicate triggers and very short ones like am that can fire inside normal words

It only edits match/base.yml, nothing else. No dependencies, just Python's standard library, and the window is Edge in app mode. English and Arabic interface. Free and MIT licensed.

Repo: https://github.com/alimwork85-web/EspansoUI

It's Windows only for now. If you try it, I'd really like to hear what's missing or what breaks.

(Screenshot: attach assets/screenshot-en.png from the repo)

0 Upvotes

1 comment sorted by