7 ms·
Show HN: Krabby – A keyboard interface to the web, inspired by Kakoune
- iudqnolq 7y agoUnfortunately installing this browser extension requires piping curl to sudo bash to build it.
- deleted 7y ago[deleted]
- alexherbo2 7y agoIf you refer to [#7], it is not true. [#7]: https://github.com/alexherbo2/krabby/issues/7 https://github.com/alexherbo2/krabby/issues/7
- codetrotter 7y agoWhat makes you think that? I don’t see anywhere mentioning doing that.
- iudqnolq 7y agoCorrection: building the extension requires installing a programming language with sudo bash because the extension needs to communicate with a native app. I completely retract what I said.
- jiri 7y agoWeb definitely needs a better keyboard interface, this seems interesting but it looks a bit difficult to learn and use. I used and liked Gleebox quite intuitive, easy and powerful. But it is not developed anymore. https://chrome.google.com/webstore/detail/gleebox/miinkdcjglbkbanpkghnkgkgbamdkgji https://chrome.google.com/webstore/detail/gleebox/miinkdcjgl...
- alexherbo2 7y agoWow, 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.
- wingerlang 7y agoI remember using some vim extension but I always found the "hint" being a random character annoying, I briefly used vimperator (iirc) which allowed to fuzzy search elements to focus on which was waaaay better.
- ihodes 7y agoIs there something like this that's currently developed for Safari?
- alexherbo2 7y agoNo. There is someone from IRC who wants it too, but I haven’t a Mac. So it’s unlikely to happen currently.
- johanlarsson 7y agoVimari is a Safari port of Vimium and is available through the App Store: https://github.com/televator-apps/vimari https://github.com/televator-apps/vimari
- salutis 7y agoI currently use Shortcat, and it works well with Safari: https://shortcatapp.com/ https://shortcatapp.com/
- Gratian 7y agoHow does this compare to vimium?
- alexherbo2 7y agoYou can try the live demo to compare. https://krabby.netlify.com#live-demo https://krabby.netlify.com#live-demo
- ajvs 7y agoCan anybody who's tried this summarise the differences?
- alexherbo2 7y agoSee the Differences with Vi(m). https://github.com/alexherbo2/krabby/blob/master/doc/differences-with-vim.md https://github.com/alexherbo2/krabby/blob/master/doc/differe...
- lucb1e 7y agoThe demo doesn't work very well for me, most of the alt combinations don't seem to do anything (alt+escape to activate works though, luckily). Might need to install the extension to try it out after all. So far I like the precise scrolling with j/k, going up and down with G/g, jumping to a point of interest (link, image) with f, focusing input boxes with i, and yanking (copying) the focused link (or the page's url if nothing is focused) with y. The parts that work in the live demo, work really nicely. Personally I have "search when typing" enabled in Firefox which enables navigation like this: https://preview.redd.it/jial7j6lbppz.gif?width=1024&format=mp4&s=53fc89ad51c0c64b66fda98985e78a4e556b115f https://preview.redd.it/jial7j6lbppz.gif?width=1024&format=m... It isn't as mouse-free as this extension aims to be, but it goes a long way already with no extensions and only a tiny learning curve (to learn some tricks like searching for the text next to a button or field and hitting (shift+)tab). For example, I typically upvote HN comments by typing part of the person's username, shift+tab+tab, enter. Looking for my own post is typically just typing the word "edit". (Firefox 71, Linux)
- dmortin 7y agoIt's too bad the live demo uses Alt-Escape to activate which is a shortcut used by Windows, so I can't try it without installing it. The author should use some other shortcut or put an Activate button on the page so Windows users can also try it.
- jml7c5 7y agoClicking the "Alt + Escape" text seems to do the trick. Firefox Nightly on Windows.
- dmortin 7y agoTrue, thanks. It was not obvious for me from the styling that I should click that.
- alexherbo2 7y agoI added a note to tell users they can click on the keys themselves to run the commands.
- lucb1e 7y agoThe alt combinations (other than alt+esc to activate) don't work for me. I thought it was because they were captured by the browser or something, but it also does nothing when clicking on them. And isn't alt+space a global combo in most major OSes? (Window operations in Windows and most Linux distros, and some system dialog in macOS if I'm not mistaken, though that might have been cmd+space.) I use it frequently (mostly to minimize windows but also for other things), and while most people may not do that, I think this extension targets exactly the audience that would. Seems like an odd choice.
- dmortin 7y agoFor link selection the quickest way could be eye tracking, that is your laptop's camera would track your eye and you could press some key to go to the link which you are looking at. Is there some application which does this?
- faeyanpiraat 7y agoUnfortunately built in webcams do not have sufficient resolution and low enough latency to be suitable for this purpose.
- dmortin 7y agoMaybe it could be worth it to buy a proper external camera for this purpose if one has a desktop or uses one's laptop most of the time stationary. I searched for it and apparently Windows 10, for example, has optional eye tracking control built in already: https://support.microsoft.com/en-us/help/4043921/windows-10-get-started-eye-control https://support.microsoft.com/en-us/help/4043921/windows-10-...
- yjftsjthsd-h 7y agoI have used https://eviacam.crea-si.com/ https://eviacam.crea-si.com/ on a laptop successfully.
- dmos62 7y agoThere's been some activity in the gaming community for DIY solutions to track head movement. Or really any accessible way to get in-game head/camera rotation and/or tilting independent of what the mouse or keyboard is doing. The simplest one is webcam face feed interpretation. It's also the least liked, because it's CPU/GPU intensive. The most energy efficient one is based on small devices than measure distance between each other via radio signals or something similar. You put one of them on your head. It has the drawback of having to buy the (cheap) devices. A middle-ground, which is probably the most popular solution, is a funny looking cardboard cutout with IR reflectors or lights that you put on a hat or headphones. Then you use a webcam feed, but its interpretation is much simpler, because the points to track are easily distinguishable. All the webcam methods have a significant drawback that they require illumination. You either need lights on your head, or your face has to be brightly illuminated (visible light or IR). A light in my face is the last thing I want personally.
- fhennig 7y agoWhat is meant by "Subject–object–verb order" as a tag here?
- jml7c5 7y agoIt's linked in the project page, but see: https://github.com/alexherbo2/krabby/blob/master/doc/differences-with-vim.md#a-linguistic-twist https://github.com/alexherbo2/krabby/blob/master/doc/differe...
- deleted 7y ago[deleted]
- brokenkebab 7y agoAll extensions in this field are very limited by all major browsers' security policies which prohibit, for example, user-defined keybindings on a blank tab. I found more satisfying mouseless experience only with specially crafted browsers like qutebrowser. But they come with their own troubles :( Would be really great for FF, and Chrome(ium) to make keybinding assignment more flexible instead.
- unicornporn 7y ago> All extensions in this field are very limited by all major browsers' security policies which prohibit, for example, user-defined keybindings on a blank tab This is the correct answer. Attempts like these futile. You can not properly control the UI while a page is loading which makes the UX godawful. Try closing a tab or switch while the current tab is loading. Sometimes it works, other times not. With legacy VimFX you coulf also access all buttons in the browser UI toolbar. Was a VimFX user and the switch to WebExtensions was the greatest step back in browsing I've ever experienced. Tried to remedy this by running legacy extensions in Pale Moon. But that's not a way forward as these alt browsers are not secure. Actually, I'm toying with the idea of sandboxing alt browsers to be able to browse fast with my fingers on the keyboard again.
- slightwinder 7y ago> Try closing a tab or switch while the current tab is loading. Simple: use the default shortcuts for this. The normal shortcuts coming with the browser out of the box are always available. Yes, they are not as nice to use as vim-bindings, but they are working.
- knolax 7y ago"Doctor, my arm hurts when I do X" "Then don't do X"
- girst 7y agoI am btw still maintaining VimFx[1], and you can run it in current versions of Firefox with a shim[2]. [1]: https://github.com/akhodakivskiy/vimfx/releases https://github.com/akhodakivskiy/vimfx/releases [2]: https://github.com/girst/legacyfox https://github.com/girst/legacyfox
- dmortin 7y agoIt's strange that you have to press enter too after selecting a link to go there. The most frequent task of browsing is clicking on links, so it should be only f + hint, without any additional keys.
- jedimastert 7y agoI'd say mouse-ing over a link is a different action than clicking it. Say you want to read the alt test, or see where the link goes.
- uryga 7y agomaybe there should be two keybindings for mousing-over and clicking, i'd say hovering is relatively rare in comparison
- jedimastert 7y agoMaybe? I don't know if there's defined behaviour JS wise for a "click" event not following a "mouseover" though.
- blotter_paper 7y agoThere is, you can trigger click events from JavaScript without a mouse going over the element: https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/click https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement...
- dmortin 7y agoThere should be a different key for that then. The click action is the most important, so it should have its own dedicated key.
- cuchoi 7y agoThat's how Vimium works; f + letter clicks the link.
- 7y ago
- mstade 7y agoMy nephew is a big Pokémon fan and I instantly recognized both the name and logo: https://www.pokemon.com/se/pokedex/krabby https://www.pokemon.com/se/pokedex/krabby
- lucb1e 7y agoI think that is expected to be generally known, pokémon fan or not.
- alexherbo2 7y agoXD
- kleiba 7y ago+1 for the trivia from a member of generation "Pre-Pokemon".
- nathias 7y agoI like the smoothness of j/k, but everything else vimium does better...
- alexherbo2 7y agoEverything else? X) What do you mean by “everything else”? Approaches are quite different, so I need more details.
- nathias 7y agoI like to scroll between tabs with J/K, go down the page with d, and the input controls with gi, ge, I also prefer the clicking on links requires less actions, I think krabby could do like a ctrl+f to select with more options and just f to use the default selection. I would also prefer it if it were closer to vim (with H,L, zz, functionality and generally follow the principle of different modes for different functions).
- WilliamEdward 7y agoWhy do people think they can just name their products after copyrighted content?
- Igelau 7y agoIANAL but I think it's trademark in this case. Should have named it Frozen 2! :)
- blotter_paper 7y agoBecause The Pokémon Company is unlikely to sue (or even notice) such a marginal and unrelated project, I'd guess. Even if they do notice, a cease and desist letter seems more likely than an actual lawsuit; even in cases of clear substitute goods like AMR2 Nintendo prefers to send cease and desist letters first, I'm sure they don't want the bad press of suing fans. For something like Krabby, this would result in a simple name and logo change. Many people don't have ethical objections to this behavior, so the only thing stopping them would be the potential for actual legal action.
- leshokunin 7y agoThis is cool. Are you planning on making something equivalent as a lib? Would love an easy way to use this in React.
- alexherbo2 7y agoIt 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/configuration.md#files https://github.com/alexherbo2/krabby/blob/master/doc/configu... https://github.com/alexherbo2/krabby/blob/master/src/krabby/web/krabby.js https://github.com/alexherbo2/krabby/blob/master/src/krabby/...
- fiatjaf 7y agoPlease, provide installable packages! I want to use it, but I don't want to have to install tons of dependencies.
- alexherbo2 7y agoThe only build dependencies are jq and Crystal (eventually Zip, but it’s unlikely you don’t have it).