Surf: A very lightweight, modern browser
surf
Surf is a very lightweight WebKit browser. It has full support for the modern web, HTML5, CSS3, latest JavaScript, etc.
See this fork: https://github.com/sc0ttj/surf
^ has the full README, build instructions, etc.
See a list of all the changes, nicely organised at: https://github.com/sc0ttj/surf/commits/main
Summary
I've done a patched version of Surf which adds a few things, to make it much easier to use:
- adds modern search/location bar (accepts URLs, arbitrary search terms & custom search engines)
- adds Firefox-like custom search engines in location bar.. so "yt foobar" wll search YouTube
- adds the same key bindings as Firefox, Chrome, etc
- adds easy bookmarking
- no browsing history!
- added some command line options (see
surf --help
) - many more features
Here are the key bindings I have added to this fork:
Code: Select all
ctrl-l # go to location/search bar (omnibar)
alt-left # go back one page
alt-right # go forward one page
ctrl-b # bookmarks menu
ctrl-d # bookmark current page
ctrl-+/= # zoom in
ctrl-minus # zoom out
ctrl-0 # reset zoom
ctrl-w # to call externel player
ctrl-q # quit the browser
Requirements
To build it: surf requires GTK3 and libwebkit4gtk
. You'll need the -dev
packages to compile it.
To run it: surf requires dmenu
for its UI menus at the top, and (optionally) tabbed
to run with multiple tabs. Both are very small.
- https://tools.suckless.org/dmenu/ (required)
- https://tools.suckless.org/tabbed/ (optional)
Note - it is still unfinished. I've got a few more features to add.
Tests
I have compiled it on FossaPup64, and it seems to work very nicely:
It uses less RAM and CPU than Palemoon, and supports more sites "out of the box".
(I'm using it to post this message.)
Homepage of the original: https://surf.suckless.org