Re:Show HN: Espanso: detect a typed keyword and replace it w...
by ornornor on Wednesday February 03, 2021 @08:51AM
(#26013558)
The world is a little bit bigger than VSCode. Believe it or not some of us don’t even use VSCode.
This is meant to be a replacement to AHK (which is Windows only), not a text editor snippet expander.
Re:Show HN: Espanso: detect a typed keyword and replace it w...
by jerrygoyal on Wednesday February 03, 2021 @11:44AM
(#26015490)
I usually use emmet feature (snippets) of vscode but then I also use other editors like np++, sublime or simple notepad for quick editing and lack the ability of snippets. Using a system wide textexpander makes sense. this is also the reason i dont use any chrome extension for color picking or taking screenshots. always better to use systemwide utilities.
Re:Show HN: Espanso: detect a typed keyword and replace it w...
by federicoterzi on Wednesday February 03, 2021 @07:27AM
(#26013014)
Good point, I've wrote a short section to detail the security aspects: https://github.com/federico-terzi/espanso/blob/master/SECURI...
TLDR: It's not a keylogger, because it doesn't log anything :)
Moreover, on macOS the detection mechanism is automatically disabled on password fields
Re:Show HN: Espanso: detect a typed keyword and replace it w...
by federicoterzi on Wednesday February 03, 2021 @07:28AM
(#26013020)
Also, the biggest benefit of this approach compared to a VSCode-only snippet, is that it works on any application and also between different operating systems, which makes it easier to collaborate and reuse them :)
Re:Show HN: Espanso: detect a typed keyword and replace it w...
by offtop5 on Wednesday February 03, 2021 @09:28AM
(#26013834)
Thanks for the response, but unless I take the time to literally go to your entire repo and make sure you aren't doing anything weird, I'm not installing this thing.
Re:Show HN: Espanso: detect a typed keyword and replace it w...
by ivanbakel on Wednesday February 03, 2021 @09:44AM
(#26013970)
If you're in a position to use this program[0], you're already taking the same risk by running most other programs on your machine - they also have access to your keypresses.
[0]: The only real reason you wouldn't be is if you're on a non-X Linux desktop. Wayland prevents this kind of program by design.
Re:Show HN: Espanso: detect a typed keyword and replace it w...
by federicoterzi on Wednesday February 03, 2021 @10:54AM
(#26014751)
Fun fact, Wayland support is the most requested feature [1] and I think it's possible, although we will need to go deeper in the stack and exploit EVDEV
Re:Show HN: Espanso: detect a typed keyword and replace it w...
by ivanbakel on Wednesday February 03, 2021 @11:23AM
(#26015173)
A nice technical writeup! The daemon approach sounds particularly promising. Have you also thought about a Wayland protocol extension? espanso is not the only program that will want total keyboard access, and it's one of the last big obstacles for a lot of X11 users.
Re:Show HN: Espanso: detect a typed keyword and replace it w...
by federicoterzi on Wednesday February 03, 2021 @05:16PM
(#26019896)
Thanks!
> Have you also thought about a Wayland protocol extension?
I honestly didn't think about that! That might be an option, perhaps when espanso becomes more well-known in the community. Before that, it's unlikely that any change I suggest will make its way into the specification :)
Re:Show HN: Espanso: detect a typed keyword and replace it w...
by federicoterzi on Wednesday February 03, 2021 @09:42AM
(#26013959)
That's absolutely ok! I'm also very open to feedback if you have any :)
I prefer this to be built in to maybe vs code, at least then I won't have to worry about accidentally capturing my passwords