Giter Club home page Giter Club logo

surfer's Introduction

Surfer

Simple keyboard based web browser. No tabs.

Based on webkit2gtk and gtk3.

No xlibs dependency — works on sway, weston etc.

Look also at manual ( man surfer).

Adblock, videos, other info

For videos install gstreamer packages.

config.h - customize keys, dirs and some other settings before compile.

It can also launch mpv( with help of youtube-dl on supported sites) on links, but remember to pkill -9 mpv if it hogs your cpu, used on non supported sites.

Also possible to use other binaries/scripts - location of dirctory of that settable in config.h

Beside it can toggle JS and History. Ephemeral (priv mode) on links. You can also set css for sites in .surfer/tablecss.txt file.

Search or translate for selected text, settable in config.h

For adblock:

Install https://github.com/jun7/wyebadblock Then sudo ln -s /usr/lib/wyebrowser/adblock.so /usr/lib/surfer

Or block through /etc/hosts

Or save to .surfer/adblock.json file (ie from https://easylist-downloads.adblockplus.org/easylist_min_content_blocker.json )

For JS scripts:

Js scripts (i.e. from greasefork site) place in .local/share/surfer/

name them in following way: -i.e. for run scripts on www.youtube.com name script file identically. -if you want script to run on all sites, name it universal.js

Compile and install:

git clone https://github.com/nihilowy/surfer.git

cd surfer

make && sudo make install

on Arch: pacaur -S surfer-git

Depends on webkit2gtk, gtk3 development files (install it on your distro)

Hotkeys:

Ctrl + click link — open link in new window

Ctrl + n — new window

Ctrl + b — go back

Ctrl + f — go forward

Ctrl + q — quit

Esc — stop loading

Ctrl + h — home (bookmarks list)

Ctrl + shift + b — bookmark site (to remove just edit file with links: bookmarks in your SURFER_DIR dir)

Ctrl + o — toggle url bar

Ctrl + / — find word

Ctrl + r — reload page

Ctrl + = — zoom in

Ctrl + - — zoom out

Down Arrow — scroll down

Up arrow — scroll up

Ctrl + w — page up

Ctrl + s — page down

Ctrl + Shift + i — web inspector (page source)

Ctrl + Shift + s — toggle user style black theme (/usr/share/surfer/black.css)

Ctrl + Shift + h — show history if enabled

F11 — toggle fullscreen

Edit config.h to change hotkeys and SURFER_DIR, SURFER_DOWNLOADS, and other settings

surfer's People

Contributors

nihilowy avatar av-src avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.