I've been using this for about a year now - I parsed 6 months of my messages on slack and found the most common phrases I use and generated keyboard shortcuts for them.
Idea for extending this: keylogger (yeah, that's a downside...) that'll watch what you type, learn common phrases, identify common ones, then come up with shortcuts, then each time you type the full phrase it gently reminds you of the shortcut.
Then anyone can install it, no friction, and over time it'll slowly start making you gently more productive.
I guess you are half right, the tool this repo configures is a shortcut engine (autokey). It has access to the key presses, but afaik does not log them.
Would it be better to have some standardized abbreviation? It could gravitate towards those. That should help consistency between different computers (also helps if you have multiple computers..)
I once built a typing tutor that did something like this - it monitored all the mistakes I'd make, and would surface the most typo-ed words for practice.
I wanted to build a keyboard with a keylogger built-in that autocompletes for you with the press of a special key. My idea was to keep the data in a secure vault on device, so that it could not become a security risk.
You could do some of this with an input method editor (IME). It's pretty much an authorized keylogger that can edit your inputs, and is mainly needed for Chinese/Japanese typing. An IME that provides English autocomplete on the desktop (like phones) or shortcuts using an IME framework (like fcitx5) would be an interesting concept.
I went down the rabbithole trying to prototype something like this.
Bluetooth Keyboard -> ESP32 as a keyboard host -> Send keystrokes to USB & File If you have cash there is a USB/PS2 keyboard logger that will capture data to disk.
Comments (313) 91 threads
Show all comments
Showing thread 5 of 91
Then anyone can install it, no friction, and over time it'll slowly start making you gently more productive.
Something like auto export slack history each week, get a word frequency. Then mantually assign a bunch of expansions based on what you see?
Bluetooth Keyboard -> ESP32 as a keyboard host -> Send keystrokes to USB & File
If you have cash there is a USB/PS2 keyboard logger that will capture data to disk.