https://github.com/joshuar/autocorrector
A tool similar to Autokey or AutoHotKey, but targeted mainly at word replacements.
https://github.com/joshuar/autocorrector
autocorrection automation go golang
Last synced: 4 months ago
JSON representation
A tool similar to Autokey or AutoHotKey, but targeted mainly at word replacements.
- Host: GitHub
- URL: https://github.com/joshuar/autocorrector
- Owner: joshuar
- License: mit
- Created: 2020-11-22T02:07:36.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-10-24T22:47:37.000Z (over 1 year ago)
- Last Synced: 2024-12-31T00:53:06.639Z (4 months ago)
- Topics: autocorrection, automation, go, golang
- Language: Go
- Homepage:
- Size: 1020 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Autocorrector


[](https://goreportcard.com/report/github.com/joshuar/autocorrector)
[](https://pkg.go.dev/github.com/joshuar/autocorrector)
[](https://github.com/joshuar/autocorrector/releases/latest)## ❓ 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](https://github.com/sigstore/cosign). To verify a package, you'll need
the [cosign.pub](cosign.pub) public key and the `.sig` file (downloaded from
[releases](https://github.com/joshuar/autocorrector/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:```shell
cosign verify-blob --key cosign.pub --signature autocorrector-*.rpm.sig autocorrector-*.rpm
```## 📝 Configuration and additional details
See [USAGE](USAGE.md)
## 🧑🤝🧑 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](https://github.com/joshuar/gokbd): library using libevdev to talk to a
keyboard on Linux. It allows snooping the keys pressed as well as typing out
keys.
- [fyne](https://fyne.io/): UI toolkit and system tray library.
- [zerolog](https://github.com/rs/zerolog): logging library.
- [Cobra](https://github.com/spf13/cobra): command-line interface.Check out more awesome Go things at the [Awesome Go
List](https://github.com/avelino/awesome-go):Icon taken from
[here](https://pixabay.com/vectors/spellcheck-correct-typo-errors-1292780/).## License
[MIT](LICENSE)