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.
Note This program will only run on Linux
- Download either the
.rpm
or.deb
file and install using your package manager. - 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
See USAGE
I would welcome your contribution! If you find any improvement or issue you want to fix, feel free to send a pull request!
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.