News for hackers. Stuff that matters.
Re:Show HN: I automated 1/2 of my typing by tikkun on Wednesday August 30, 2023 @04:40PM (#37328759)
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.

Re:Show HN: I automated 1/2 of my typing by quadrature on Wednesday August 30, 2023 @04:55PM (#37328997)
Its not a keylogger in itself, its a tool to configure your keylogger.
Re:Show HN: I automated 1/2 of my typing by MobiusHorizons on Wednesday August 30, 2023 @05:41PM (#37329530)
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.
Re:Show HN: I automated 1/2 of my typing by quadrature on Wednesday September 06, 2023 @11:06AM (#37406246)
of course, I was just using the same terminology as the OP
Re:Show HN: I automated 1/2 of my typing by langsoul-com on Wednesday August 30, 2023 @05:03PM (#37329101)
I wonder how that's work?

Something like auto export slack history each week, get a word frequency. Then mantually assign a bunch of expansions based on what you see?

Re:Show HN: I automated 1/2 of my typing by tikkun on Wednesday August 30, 2023 @06:09PM (#37329803)
I'm imagining it would be a native desktop app, so that it goes across all apps.
Re:Show HN: I automated 1/2 of my typing by kzrdude on Wednesday August 30, 2023 @05:23PM (#37329332)
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..)
Re:Show HN: I automated 1/2 of my typing by rohitpaulk on Wednesday August 30, 2023 @06:36PM (#37330056)
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.
Re:Show HN: I automated 1/2 of my typing by eschluntz on Wednesday August 30, 2023 @07:07PM (#37330306)
I thought about using a keylogger as a data source, but then I'd have to wait another 6 months to have 6 months worth of data :)
Re:Show HN: I automated 1/2 of my typing by twobitshifter on Wednesday August 30, 2023 @07:36PM (#37330528)
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.
Re:Show HN: I automated 1/2 of my typing by TehShrike on Wednesday August 30, 2023 @10:48PM (#37331891)
The Warp CLI kiiiind of does this, but only in the context of interacting with the shell.
Re:Show HN: I automated 1/2 of my typing by tyiz on Thursday August 31, 2023 @04:21AM (#37334055)
PhraseExpress does this.
Re:Show HN: I automated 1/2 of my typing by Bu9818 on Thursday August 31, 2023 @04:42AM (#37334196)
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.
Re:Show HN: I automated 1/2 of my typing by pizzafeelsright on Thursday August 31, 2023 @10:10AM (#37337401)
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.