{"id":13780059,"url":"https://github.com/nihilowy/surfer","last_synced_at":"2025-05-11T13:31:30.601Z","repository":{"id":17017854,"uuid":"79037357","full_name":"nihilowy/surfer","owner":"nihilowy","description":"Simple keyboard based web browser","archived":false,"fork":false,"pushed_at":"2022-07-30T11:15:47.000Z","size":1918,"stargazers_count":72,"open_issues_count":5,"forks_count":9,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-08-03T18:14:44.760Z","etag":null,"topics":["gtk","webbrowser","webkit-browser"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nihilowy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-15T14:23:55.000Z","updated_at":"2024-07-13T13:41:33.000Z","dependencies_parsed_at":"2022-07-19T18:04:13.714Z","dependency_job_id":null,"html_url":"https://github.com/nihilowy/surfer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nihilowy%2Fsurfer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nihilowy%2Fsurfer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nihilowy%2Fsurfer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nihilowy%2Fsurfer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nihilowy","download_url":"https://codeload.github.com/nihilowy/surfer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225056762,"owners_count":17414204,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gtk","webbrowser","webkit-browser"],"created_at":"2024-08-03T18:01:11.923Z","updated_at":"2024-11-17T15:30:52.723Z","avatar_url":"https://github.com/nihilowy.png","language":"C","funding_links":[],"categories":["Browsers without X library dependency"],"sub_categories":[],"readme":"# Surfer\n\nSimple keyboard based web browser. No tabs.\n\nBased on webkit2gtk and gtk3.\n\nNo xlibs dependency \u0026mdash; works on sway, weston etc. \n\nLook also at manual ( man surfer). \n\n## Adblock, videos, other info\n \n `For videos` install gstreamer packages.\n\n config.h - customize keys, dirs and some other settings before compile. \n\n It can also launch mpv( with help of youtube-dl on supported sites) on links,\n but remember to pkill -9 mpv if it hogs your cpu, used on non supported sites.\n\n Also possible to use other binaries/scripts - location of dirctory of that settable in config.h\n \n Beside it can toggle JS and History. Ephemeral (priv mode) on links.\n You can also set css for sites in .surfer/tablecss.txt file. \n\n Search or translate for selected text, settable in config.h \n\n\n `For adblock:`\n\n Install https://github.com/jun7/wyebadblock\n Then sudo ln -s /usr/lib/wyebrowser/adblock.so /usr/lib/surfer\n \n Or block through /etc/hosts\n\n Or save to .surfer/adblock.json file (ie from https://easylist-downloads.adblockplus.org/easylist_min_content_blocker.json )\n \n\n `For JS scripts:`\n\n Js scripts (i.e. from  greasefork site) place in .local/share/surfer/\n\n name them in following way:\n-i.e. for run scripts on www.youtube.com name script file identically.\n-if you want script to run on all sites, name it universal.js\n\n## Compile and install:\n\n  \n  git clone https://github.com/nihilowy/surfer.git\n\n  cd surfer\n\n  make \u0026\u0026  sudo make install\n\n  \n  Depends on webkit2gtk, gtk3 development files (install it on your distro)\n\n## Hotkeys:\n\n`Ctrl + click` link \u0026mdash; open link in new window\n\n`Ctrl + n` \u0026mdash; new window\n\n`Ctrl +  b` \u0026mdash; go back\n\n`Ctrl +  f` \u0026mdash; go forward\n\n`Ctrl + q` \u0026mdash; quit\n\n`Esc` \u0026mdash; stop loading\n\n`Ctrl + h` \u0026mdash; home (bookmarks list)\n\n`Ctrl + shift + b` \u0026mdash; bookmark site (to remove just edit file with \nlinks: bookmarks in your SURFER_DIR dir)\n\n`Ctrl + o` \u0026mdash; toggle url bar\n\n`Ctrl + /` \u0026mdash; find word\n\n`Ctrl + r` \u0026mdash; reload page\n\n`Ctrl + =` \u0026mdash; zoom in\n\n`Ctrl + -` \u0026mdash; zoom out\n\n`Down Arrow` \u0026mdash; scroll down\n\n`Up arrow` \u0026mdash; scroll up\n\n`Ctrl +  w` \u0026mdash; page up \n\n`Ctrl +  s` \u0026mdash; page down\n\n`Ctrl + Shift + i` \u0026mdash; web inspector (page source)\n\n`Ctrl + Shift + s` \u0026mdash; toggle user style black theme \n(/usr/share/surfer/black.css)\n\n`Ctrl + Shift + h` \u0026mdash; show history if enabled\n\n`F11` \u0026mdash; toggle fullscreen\n\n\n\n\n**Edit `config.h` to change hotkeys and SURFER_DIR, SURFER_DOWNLOADS, and other settings**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnihilowy%2Fsurfer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnihilowy%2Fsurfer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnihilowy%2Fsurfer/lists"}