autocorrector

command module
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

README ΒΆ

Autocorrector

Apache 2.0 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. Set up the client: autocorrector client setup
  3. Set up the server: sudo autocorrector enable $USERNAME (substitute $USERNAME for your username)
  4. Start the service with systemctl start autocorrector@USERNAME.
  5. Run autocorrector client or use the autocorrector menu entry in your desktop environment.

πŸ“ 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.
  • Viper: configuration file handling.
  • Cobra: command-line interface.
  • nutsdb: simple, fast, embeddable and persistent key/value store written in pure Go.

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

The default list of replacements is sourced from the following AutoHotKey script containing common English typos and misspellings:

Icon taken from here.

License

Apache 2.0

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Directories ΒΆ

Path Synopsis
internal
app

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL