HNHacker News
TopNewBestAskShowJobs

alexherbo2

73 karma · joined November 25, 2019

submissionscomments
alexherbo2··on Show HN: Krabby – A keyboard interface to the web, inspired by Kakoune
The only build dependencies are jq and Crystal (eventually Zip, but it’s unlikely you don’t have it).
alexherbo2··on Show HN: Krabby – A keyboard interface to the web, inspired by Kakoune
It is already the case, because all features are implemented as a lib (Krabby just holds the configuration).

https://github.com/alexherbo2/krabby/blob/master/doc/configu...

https://github.com/alexherbo2/krabby/blob/master/src/krabby/...

alexherbo2··on Show HN: Krabby – A keyboard interface to the web, inspired by Kakoune
Tridactyl is currently the best (Vimperator / Pentadactyl)-like extension around. It seems to be nicely done and is in TypeScript (and Python for the application (native messaging) part). You might want to give a try, if not already.

https://github.com/tridactyl/tridactyl

alexherbo2··on Show HN: Krabby – A keyboard interface to the web, inspired by Kakoune
I don’t know what to say. Internally, Krabby uses KeyboardEvent.code with a layer (US by default) for the display.

https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEve...

alexherbo2··on Show HN: Krabby – A keyboard interface to the web, inspired by Kakoune
Are you using a different keyboard layout than the US?

Because Krabby uses physical keys.

alexherbo2··on Show HN: Krabby – A keyboard interface to the web, inspired by Kakoune
To mitigate mistyping, the hint mode refuses to proceed invalid sequences too.
alexherbo2··on Show HN: Krabby – A keyboard interface to the web, inspired by Kakoune
The option is like a search always on?
alexherbo2··on Show HN: Krabby – A keyboard interface to the web, inspired by Kakoune
Everything else? X)

What do you mean by “everything else”? Approaches are quite different, so I need more details.

alexherbo2··on Show HN: Krabby – A keyboard interface to the web, inspired by Kakoune
XD
alexherbo2··on Show HN: Krabby – A keyboard interface to the web, inspired by Kakoune
See the Differences with Vi(m).

https://github.com/alexherbo2/krabby/blob/master/doc/differe...

alexherbo2··on Show HN: Krabby – A keyboard interface to the web, inspired by Kakoune
I added a note to tell users they can click on the keys themselves to run the commands.
alexherbo2··on Show HN: Krabby – A keyboard interface to the web, inspired by Kakoune
You can try the live demo to compare.

https://krabby.netlify.com#live-demo

alexherbo2··on Show HN: Krabby – A keyboard interface to the web, inspired by Kakoune
No. There is someone from IRC who wants it too, but I haven’t a Mac. So it’s unlikely to happen currently.
alexherbo2··on Show HN: Krabby – A keyboard interface to the web, inspired by Kakoune
Wow, gleeBox looks cool. Never heard of it before.

Does selection act at the structural level of the document, or are they applied to links only? In the video, he seemed only selecting links, and doing actions one by one.

alexherbo2··on Show HN: Krabby – A keyboard interface to the web, inspired by Kakoune
If you refer to [#7], it is not true.

[#7]: https://github.com/alexherbo2/krabby/issues/7