brrowser
The terminal web browser with vim-style keys.
A terminal web browser combining w3m-style rendering with qutebrowser-style keyboard navigation. Renders HTML with styled headings, links, tables, forms, and inline images. No modes, no mouse, just keys.
Features
Browsing:
- Full HTML rendering (headings, paragraphs, lists, tables, blockquotes, code blocks, forms)
- Inline image display via termpix (kitty/sixel/w3m protocols)
- ASCII art fallback via chafa for non-graphical terminals
- YouTube embed detection with thumbnails and direct video links
- Back/forward history per tab
- Search engines (Google, DuckDuckGo, Wikipedia)
- Ad blocking via StevenBlack hosts list
Navigation:
-
j/kor arrows to scroll,</>to scroll left/right,gg/Gfor top/bottom -
TAB/S-TABto cycle through links and form fields (highlighted with reverse video) -
Enterto follow focused link or edit focused field -
oto open URL,tto open in new tab,Oto edit current URL -
H/Backspacefor back,Lfor forward -
/to search page,n/Nfor next/previous match
Tabs:
-
J/Rightnext tab,K/Leftprevious tab -
dclose tab,urestore closed tab
Bookmarks and quickmarks:
-
bbookmark page,Bshow bookmarks -
m+0-9set quickmark,'+0-9go to quickmark
Forms and passwords:
-
fto fill and submit forms with auto-fill from stored passwords - Prompts to save new passwords after first login (Firefox-style)
-
pto show stored credentials,:passwordto save manually -
Ctrl-gto edit a form field in$EDITOR
Clipboard:
-
ycopy page URL -
Ycopy focused link URL or field value
Images:
- Inline display in reserved space (no text overlap)
- Images follow content during scrolling
-
ito toggle images on/off - Standalone image pages display full-screen
- Image mode configurable: auto, termpix, ascii, off
AI and editing:
-
Ito get an AI summary of the page (OpenAI, shown in scrollable popup) -
eto edit page source in$EDITORand re-render -
Ctrl-lto force redraw
Other:
-
:download URLto save files (configurable download folder) - Binary files prompt: open with
xdg-open, download, or cancel -
Pfor preferences (image mode, colors, homepage, search engine, download folder) -
?for built-in help page -
:aboutopens the project GitHub page - Cookie persistence across sessions
- Configurable homepage (defaults to project page)
Installation
gem install brrowser
Dependencies
Optional:
- chafa for ASCII art images on non-graphical terminals
- ImageMagick (
convert) for image scaling and SVG conversion -
xclip/xsel/wl-copyfor clipboard support
Usage
brrowser # Open blank page
brrowser https://example.com # Open URL directly
brrowser isene.org # Auto-adds https://Keybindings
| Key | Action |
|---|---|
j / k / arrows |
Scroll up/down |
< / >
|
Scroll left/right |
Left / Right
|
Previous/next tab |
gg / G
|
Top / bottom of page |
Ctrl-d / Ctrl-u
|
Half page down/up |
Space / PgDn / PgUp
|
Page down/up |
TAB / S-TAB
|
Next/previous link or field |
Enter |
Follow link or edit field |
o / O
|
Open URL / edit current URL |
t |
Open URL in new tab |
H / Backspace
|
Go back |
L |
Go forward |
r |
Reload page |
d |
Close tab |
u |
Undo close tab |
/ |
Search page |
n / N
|
Next/previous search match |
b / B
|
Bookmark / show bookmarks |
m + key |
Set quickmark (0-9, a-z) |
' + key |
Go to quickmark (0-9, a-z) |
f |
Fill and submit form |
y / Y
|
Copy URL / copy focused element |
e |
Edit page source in $EDITOR |
Ctrl-g |
Edit field in $EDITOR |
i |
Toggle images |
I |
AI page summary |
p |
Show stored password |
P |
Preferences |
Ctrl-l |
Redraw screen |
? |
Help |
q |
Quit |
Commands
Type : to enter command mode.
| Command | Action |
|---|---|
:open URL / :o
|
Navigate |
:tabopen URL / :to
|
Open in new tab |
:close / :q
|
Close tab |
:quit / :qa
|
Quit |
:back / :forward
|
History navigation |
:bookmark / :bm
|
Add bookmark or open by name |
:bookmarks / :bms
|
List bookmarks |
:download URL / :dl
|
Download file |
:adblock |
Update ad blocklist |
:password / :pw
|
Save password for current site |
:about |
Open project page |
Configuration
Settings are stored in ~/.brrowser/config.yml. Press P in the browser to open the preferences popup where you can change:
- Image mode (auto/termpix/ascii/off)
- Homepage and default search engine
- Colors for all UI elements (info bar, tab bar, content, status bar, links, headings)
Other data files in ~/.brrowser/:
-
bookmarks.yml- saved bookmarks -
quickmarks.yml- quickmark shortcuts -
passwords.yml- stored credentials (chmod 600) -
cookies.yml- persistent cookies -
adblock.txt- blocked domains list
License
Unlicense - public domain.
Credits
Created by Geir Isene (https://isene.org) with extensive pair-programming with Claude Code.
