Skip to content

A tool similar to Autokey or AutoHotKey, but targeted mainly at word replacements.

License

Notifications You must be signed in to change notification settings

joshuar/autocorrector

Repository files navigation

Autocorrector

MIT GitHub last commit Go Report Card Go Reference Release

❓ What is it?

Autocorrector is a tool similar to Autokey or AutoHotKey, but targeted mainly at word replacements. I wrote it because all I wanted to do was fix my fat-finger typos automatically. That is what autocorrector aims to do.

Autocorrector reads a TOML configuration file of key-values; the key being the typo and the value being the replacement. When it detects you have entered a typo, it helpfully corrects it.

⬇️ Installation

Note This program will only run on Linux

  1. Download either the .rpm or .deb file and install using your package manager.
  2. Run autocorrector or use the autocorrector menu entry in your desktop environment.

Package signatures can be verified with cosign. To verify a package, you'll need the cosign.pub public key and the .sig file (downloaded from releases) that matches the package you want to verify. To verify a package, a command similar to the following for the rpm package can be used:

cosign verify-blob --key cosign.pub --signature autocorrector-*.rpm.sig autocorrector-*.rpm

📝 Configuration and additional details

See USAGE

🧑‍🤝‍🧑 Contributing

I would welcome your contribution! If you find any improvement or issue you want to fix, feel free to send a pull request!

🙌 Acknowledgements

The following Go libraries and tools made autocorrector infinitely easier:

  • gokbd: library using libevdev to talk to a keyboard on Linux. It allows snooping the keys pressed as well as typing out keys.
  • fyne: UI toolkit and system tray library.
  • zerolog: logging library.
  • Cobra: command-line interface.

Check out more awesome Go things at the Awesome Go List:

Icon taken from here.

License

MIT

About

A tool similar to Autokey or AutoHotKey, but targeted mainly at word replacements.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published