HNHacker News
TopNewBestAskShowJobs

federicoterzi

291 karma · joined October 29, 2019

submissionscomments
federicoterzi··on Espanso Cross-Platform Text Expander
The Espanso Hub is great if you need some inspiration :) https://hub.espanso.org/
federicoterzi··on Espanso Cross-Platform Text Expander
Thanks Joe, I really appreciate the kind words :)
federicoterzi··on Espanso Cross-Platform Text Expander
The Hub [1] is a good source of inspiration if you're curious :)

[1]: https://hub.espanso.org/search

federicoterzi··on Espanso Cross-Platform Text Expander
Thanks for the kind words! Glad you found it useful :) Lately I've been less responsive due to some life circumstances, but I'm slowly getting up to speed again :)
federicoterzi··on Espanso Cross-Platform Text Expander
Author here :) This is definitely a good concern to have, though Espanso was built with security in mind, so the keys you press are not logged anywere. We keep the last N in memory (with N being usually between 5 to 30 chars) to do the matching, and discard them as soon as possible
federicoterzi··on Espanso Cross-Platform Text Expander
Author here :) You're pretty close! Espanso currently uses a combination of key injection + clipboard to get the best results. There are still some edge cases, but we are trying to solve them with other approaches, such as using custom Input Methods (the same mechanism used for some languages like Chinese)
federicoterzi··on Espanso Cross-Platform Text Expander
Thanks for the kind words! We are working hard to improve the experience, hopefully on Android as well in the future :)
federicoterzi··on Show HN: Espanso: detect a typed keyword and replace it while you're typing
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 :)

federicoterzi··on Show HN: Espanso: detect a typed keyword and replace it while you're typing
Thanks! your best bet is to activate notification on the issue I linked before :) I'm currently working on it, the detection part is almost done, I'll need to figure out the best way to inject the text after detecting a match
federicoterzi··on Show HN: Espanso: detect a typed keyword and replace it while you're typing
Yes, unfortunately there is not much we can do about that, given that macOS does not give us much information :)
federicoterzi··on Show HN: Espanso: detect a typed keyword and replace it while you're typing
Thanks for reporting this issue! I'm currently rewriting the detection mechanism core, so hopefully this problem will be solved in the next version :)
federicoterzi··on Show HN: Espanso: detect a typed keyword and replace it while you're typing
Hey, the main difference is mostly its cross-platform support, but also forms [1] and (probably) scripts [2]

[1]: https://espanso.org/docs/forms/ [2]: https://espanso.org/docs/matches/#shell-extension

federicoterzi··on Show HN: Espanso: detect a typed keyword and replace it while you're typing
You're welcome! Espanso on Linux wouldn't be possible without other open-source projects, so that's the least I can do to give something back to the community :)

> Do you plan to add scripting capabilities to Espanso or do you prefer to focus on the current use case ?

We might add a "macro" feature to add delays and combine multiple keypresses, but I don't see espanso becoming a general "automation" tool. There are already plenty of great options for that (including AutoKey)!

federicoterzi··on Show HN: Espanso: detect a typed keyword and replace it while you're typing
Hey, AutoKey is awesome indeed! I've used it myself for a while before developing espanso. In fact, I went through the code-base multiple times to understand how it could be so fast. I learned plenty of things about how the X server works thanks to you :)
federicoterzi··on Show HN: Espanso: detect a typed keyword and replace it while you're typing
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

[1]: https://github.com/federico-terzi/espanso/issues/287

federicoterzi··on Show HN: Espanso: detect a typed keyword and replace it while you're typing
Thanks! Glad you liked it :)
federicoterzi··on Show HN: Espanso: detect a typed keyword and replace it while you're typing
Thanks for reporting this issue! I'm working on a patch that should solve this problem. In the meanwhile, can you try adding:

backend: Clipboard

on your default.yml file and see if that helps?

federicoterzi··on Show HN: Espanso: detect a typed keyword and replace it while you're typing
Thanks! The AUR package is all thanks to our wonderful maintainer Scrumplex [1].

[1]: https://scrumplex.net/

federicoterzi··on Show HN: Espanso: detect a typed keyword and replace it while you're typing
Thanks! If you have any feedback or experience any problem, feel free to open an issue on GitHub :)
federicoterzi··on Show HN: Espanso: detect a typed keyword and replace it while you're typing
Never thought about that! That could be funny indeed :)
federicoterzi··on Show HN: Espanso: detect a typed keyword and replace it while you're typing
Thank you! I'm glad you liked the project :)
federicoterzi··on Show HN: Espanso: detect a typed keyword and replace it while you're typing
Thank you very much for the kind words! I appreciate it :)
federicoterzi··on Show HN: Espanso: detect a typed keyword and replace it while you're typing
That's absolutely ok! I'm also very open to feedback if you have any :)
federicoterzi··on Show HN: Espanso: detect a typed keyword and replace it while you're typing
Thanks! Actually, there is AutoKey for linux and it works pretty well, though I personally started espanso because I often use different operating systems, and none of the existing tools was cross-platform :)
federicoterzi··on Show HN: Espanso: detect a typed keyword and replace it while you're typing
You're welcome! :) You might also enjoy the dad-jokes package: https://hub.espanso.org/packages/dadjoke/
federicoterzi··on Show HN: Espanso: detect a typed keyword and replace it while you're typing
Thanks! I'm currently working on a way to make this possible, but for now you will have to stick with forms :) (or passive mode [1], but I'd advice against that as it's going away in the next version).

[1]: https://espanso.org/docs/passive-mode/

federicoterzi··on Show HN: Espanso: detect a typed keyword and replace it while you're typing
Thanks! First things that come to my mind: 1. Espanso is free and open-source 2. If you use espanso and then move to Linux or Windows, the transition is flawless 3. It support Forms [1] and it can be extended in many ways [2] 4. You can easily collaborate with others and share snippets on the Hub: https://hub.espanso.org/

Cons: There is no GUI yet, but we are working on it

[1]: https://espanso.org/docs/forms/ [2]: https://espanso.org/docs/matches/

federicoterzi··on Show HN: Espanso: detect a typed keyword and replace it while you're typing
I'm sorry you experienced this problem! How many snippets were you using? AHK is indeed a wonderful tool, and because it only supports Windows, it can apply some optimizations that are not available on other platforms. I'm currently rewriting the core, so things might get a bit faster in the future :)
federicoterzi··on Show HN: Espanso: detect a typed keyword and replace it while you're typing
Thanks! It's the first time I get to see Clavier so I'm not very prepared, but some differences could be:

1. Espanso is cross-platform, so you create your config once and then run it on all your machines 2. Clavier comes with a GUI, but espanso does not (yet) 3. Espanso is highly flexible thanks to scripts [1] and forms [2]

1: https://espanso.org/docs/matches/#shell-extension 2: https://espanso.org/docs/forms/

federicoterzi··on Show HN: Espanso: detect a typed keyword and replace it while you're typing
> Espanso looks like it's a great way to expand the same concept to the whole system, albeit (I'm guessing) without the contextual info a text editor can provide.

That's right, out of the box espanso does not have any access to the contextual information, but with some "script gymnastics" [1] you can do plenty of interesting things :)

[1]: https://espanso.org/docs/matches/#shell-extension

Page 1 of 2Next →