alexherbo2 / krabby

A keyboard interface to the web, inspired by Kakoune
https://krabby.netlify.app
The Unlicense
310 stars 20 forks source link
kakoune keyboard-interface krabby link-hints multiple-selections subject-object-verb tab-search webextension

Krabby

Platform Browser Discord IRC Plugins

Installation | Configuration | Documentation | Supported platforms | Browser compatibility | Troubleshooting | Contributing

Krabby is a browser extension (for Chrome and Firefox) for keyboard-based navigation, inspired by Kakoune.

The main differences with existing extensions are: multiple selections, keyboard layout agnostic, SOV (subject–object–verb) constructs and simple interaction with external programs. It is also quite usable with the mouse.

Thumbnail Button

See YouTube · Krabby and krabby-resources for all available demos.

TL;DR

WebExtensionKeyboard interfaceSubject–object–verb orderMultiple selectionsKakoune-inspired

Run the following in your terminal, then follow the onscreen instructions.

git clone https://github.com/alexherbo2/krabby
cd krabby
make install [static=no] [interactive=yes]

After installing, try to accomplish the following examples:

Opening links in a paragraph Navigate to and type: ``` f{hint}s[alt+a][alt+I][ctrl+enter][alt+x] ``` **Explanation** - f enters hint mode, - `{hint}` is a placeholder for you to select a link, - s creates a selection out of the active element, - Alt + a expands the region, - Alt + I selects all links, - Control + Enter opens selected links in the background. - Optionally, Alt + x will undo the operation (closing right tabs).
Play videos with mpv Navigate to and type: ``` F{hint}{hint}{hint}m ``` **Explanation** - F enters hint mode (lock), - `{hint}` is a placeholder for you to select 2 links, - Page Down scrolls one page down, - `{hint}` is a placeholder for you to select another link, - Escape leaves hint mode. - Finally, m opens the selection with [mpv].

If you want to play around without installing, a live demo is available here.

Features

Dependencies

Extensions

Installation

Run the following in your terminal, then follow the onscreen instructions.

make install [static=no] [extensions=yes] [interactive=yes]

Supported platforms

Browser compatibility

Web browser Support Engine Notes
Chrome Blink
Chromium Blink
Firefox Gecko Only developer or unbranded version
Edge ? Blink
Opera Blink
Safari WebKit
Vivaldi Blink
Brave Blink

Credits

References