{"id":13728590,"url":"https://gitlab.com/surfraw/Surfraw","last_synced_at":"2025-05-08T00:32:03.589Z","repository":{"id":50397164,"uuid":"5305575","full_name":"surfraw/Surfraw","owner":"surfraw","description":"Surfraw - Shell Users' Revolutionary Front Rage Against the Web","archived":false,"fork":false,"pushed_at":null,"size":null,"stargazers_count":88,"open_issues_count":23,"forks_count":19,"subscribers_count":null,"default_branch":"master","last_synced_at":"2024-10-28T12:11:24.041Z","etag":null,"topics":["FOSS","browser","cli","search","shell surfraw"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":null,"metadata":{"files":{"readme":"README","changelog":"ChangeLog","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-29T20:48:40.951Z","updated_at":"2024-07-16T16:42:22.646Z","dependencies_parsed_at":"2022-09-03T05:00:42.302Z","dependency_job_id":null,"html_url":"https://gitlab.com/surfraw/Surfraw","commit_stats":null,"previous_names":[],"tags_count":20,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/surfraw%2FSurfraw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/surfraw%2FSurfraw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/surfraw%2FSurfraw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/surfraw%2FSurfraw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/owners/surfraw","download_url":"https://gitlab.com/surfraw/Surfraw/-/archive/master/Surfraw-master.zip","host":{"name":"gitlab.com","url":"https://gitlab.com","kind":"gitlab","repositories_count":4515829,"owners_count":6530,"icon_url":"https://github.com/gitlab.png","version":null,"created_at":"2022-05-30T11:31:42.605Z","updated_at":"2024-07-18T11:24:13.055Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/owners"}},"keywords":["FOSS","browser","cli","search","shell surfraw"],"created_at":"2024-08-03T02:00:45.519Z","updated_at":"2024-11-14T19:31:19.348Z","avatar_url":null,"language":null,"funding_links":[],"categories":["Searching","Command-Line Productivity"],"sub_categories":[],"readme":"\n        Surfraw - Shell Users' Revolutionary Front Rage Against the Web\n\nHome Page: https://gitlab.com/surfraw/Surfraw\n\n        ______  _     _  ______   _______  ______   _______  _  _  _\n       / _____)(_)   (_)(_____ \\ (_______)(_____ \\ (_______)(_)(_)(_)\n      ( (____   _     _  _____) ) _____    _____) ) _______  _  _  _\n       \\____ \\ | |   | ||  __  / |  ___)  |  __  / |  ___  || || || |\n       _____) )| |___| || |  \\ \\ | |      | |  \\ \\ | |   | || || || |\n      (______/  \\_____/ |_|   |_||_|      |_|   |_||_|   |_| \\_____/\n\n   Surfraw - Shell Users' Revolutionary Front Rage Against the Web\n         New: https://gitlab.com/surfraw/Surfraw\n\t\t Old: http://surfraw.alioth.debian.org\n\n\t\t\t       Oh Baybe\n\t\t\t     I need some\n\t\t\t     Deep Linking\n\t\t\t      Let us go\n\t\t\t Surfin' in the raw!\n\n  Surfraw provides a fast unix command line interface to a variety of\n  popular WWW search engines and other artifacts of power. It reclaims\n  google, altavista, babelfish, dejanews, freshmeat, research index,\n  slashdot and many others from the false-prophet, pox-infested heathen\n  lands of html-forms, placing these wonders where they belong, deep in\n  unix heartland, as god loving extensions to the shell.\n\n  Surfraw abstracts the browser away from input. Doing so lets it get on\n  with what it's good at. Browsing. Interpretation of linguistic forms\n  is handed back to the shell, which is what it, and human beings are\n  good at. Combined with netscape-remote or incremental text browsers,\n  such as links (http://artax.karlin.mff.cuni.cz/~mikulas/links/), w3m\n  (http://www.w3m.org/), and screen(1) a Surfraw liberateur is capable\n  of navigating speeds that leave GUI tainted idolaters agape with fear\n  and wonder.\n\n  Surfraw consists of a collection of elvi, each of which knows how\n  to search a specific web site.\n  To see the list of elvi type:\n\n   surfraw -elvi\n\n  Note that sr is an alias for surfraw, so that could equally be\n\n   sr -elvi\n\n  To search using an elvis use:\n\n   sr elviname [options] search terms..\n\n  For example, to search google for information on Debian ports,\n  using the \"I'm feeling lucky\" option:\n\n   sr google -l debian ports\n\n  Note that putting quotes round arguments works now, so you can do,\n  for example:\n\n   sr google foo \"bar baz\" bam\n\n  and the quoting is passed on to the search engine.\n\nADDING THE ELVI TO YOUR PATH\n\n  If you are a regular user of surfraw, you will probably get sick\n  of typing sr or surfraw each time. You can regain the old\n  behaviour of running the elvi directly by adding the elvi\n  directory (usually /usr/lib/surfraw or /usr/local/lib/surfraw/) to\n  your path, either manually or using surfraw-update-path(1).\n\nCONFIG FILES\n\n  Surfraw implements the XDG basedir spec\n  (http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html)\n\n  Essentially this means global config will be in /etc/xdg/surfraw/\n  and local config will be in $HOME/.config/surfraw/.\n  This can be modified by setting $XDG_CONFIG_DIRS and $XDG_CONFIG_HOME,\n  see the spec for more details.\n\n  If your system has a different sysconfdir set during configure, that\n  will be used instead of /etc (for instance, /usr/local/etc).\n\n  In the documentation below, only the default paths will be referred to.\n\nLOCAL ELVI\n\n  Surfraw can use your own private elvi, store them in\n  $HOME/.config/surfraw/elvi/.\n\n  Local elvi will be listed separately at the end of\n  'surfraw -elvi'.\n\n  Use existing elvi (e.g. google) as a template. If you think your\n  elvi may be useful to others, consider submitting them to\n  surfraw-devel@lists.alioth.debian.org.\n\nBOOKMARKS\n\n  Surfraw now supports bookmarks. To add a bookmark, add it to the\n  global bookmark list in /etc/xdg/surfraw/bookmarks or to your\n  personal bookmark list in $HOME/.config/surfraw/bookmarks\n\n  The format of the bookmarks file is simple, each bookmark is on a\n  separate line, with the bookmark and URL separated by whitespace,\n  eg:\n\n   ntk   http://www.ntk.net/\n\n  To invoke a bookmark, use \"surfraw bookmark\" or \"sr bookmark\",\n  and if an elvis of that name doesn't exist, it searches for a\n  bookmark of that name instead.\n\n  There are some example bookmarks in /etc/xdg/surfraw/bookmarks\n\nCUSTOM SEARCH\n\nSeveral elvi use a search engine with site: and inurl: keywords.\nThe search engine used can be customized by setting\nthe environment variable SURFRAW_customsearch_provider\nor using the command-line argument -customsearch=\nCurrently google and duckduckgo are supported\n\nExamples:\n\nSURFRAW_customsearch_provider=duckduckgo sr mysqldoc -v=5.5 select\nsr pgdoc -customsearch=google -v=9.1 select\n\nThe default is to use duckduckgo.\n\nCurrently affected elvi:\n\nmdn mysqldoc netbsd openbsd pgdoc slinuxdoc\n\nINSTALLATION\n\n  Surfraw is installed with the standard ./configure; make; make install\n  procedure. See INSTALL for more details. If you obtained surfraw\n  direct from the git repository rather than a release tarball, run\n  ./prebuild to generate the autotools build files *before* running\n  ./configure.\n\n  Note that the opensearch elvis depends on the perl libraries\n  WWW::OpenSearch, HTML::Parser and LWP (libwww-perl). If you don't\n  want to install opensearch, use ./configure --disable-opensearch.\n\n  Surfraw supports the following options to ./configure:\n\n    --with-text-browser=BROWSER       Use BROWSER as text-mode browser\n    --with-graphical-browser=BROWSER  Use BROWSER as graphical-mode browser\n    --with-elvidir=DIR                Use DIR as location for storing elvi\n    --disable-opensearch              Disable OpenSearch support\n    --disable-sr                      Disable installing sr alias\n\n    By default, the text and graphical browsers are detected from a\n    list of installed browsers at configure time. elvidir defaults\n    to $(libdir)/surfraw (probably /usr/local/lib/surfraw).\n\nEXAMPLES\n\n         $ surfraw google -results=100 RMS, GNU, which is sinner, which is sin?\n         $ sr wikipedia surfraw\n         $ sr austlii -method=phrase dog like\n         $ /usr/lib/surfraw/stack -u -s=vote shell\nOPTIONS\n\n  Global options are common to all Surfraw elvi (clients). You can\n  get a list of the currently installed elvi by just typing `surfraw -elvi'.\n  For example:\n\n  $ surfraw -elvi\n GLOBAL ELVI:\nW               -- Activate Surfraw defined web-browser\nacronym         -- Look for acronyms definitions (www.acronymfinder.com)\nads             -- Search SAO/NASA Astrophysics Data System\nalioth          -- Search Alioth (alioth.debian.org)\namazon          -- Search the amazon.com bookstore\narchpkg         -- Search Arch Linux Packages (www.archlinux.org/packages/)\narchwiki        -- Search the Arch Linux Wiki\narxiv           -- Search arXiv E-Print Archive for articles\nask             -- Question the web using Ask Jeeves (www.ask.com)\naur             -- Search aur.archlinux.org for PKGBUILDs\naustlii         -- Search Australian Law docs (www.austlii.edu.au)\nbbcnews         -- Search BBC News (news.bbc.co.uk)\nbing            -- Search the web using Microsoft's Bing (www.bing.com)\nbookfinder      -- Search for books using www.bookfinder.com\nbugmenot        -- Bypass compulsory web registration with bugmenot.com\nbugzilla        -- Search for bugs on Bugzilla bugtrackers\ncia             -- Search CIA documents at www.cia.gov\ncisco           -- Search Cisco documentation (www.cisco.com)\ncite            -- Search computer science papers (citeseerx.ist.psu.edu)\ncliki           -- Search the common lisp wiki\ncnn             -- Search on CNN (cnn.com)\ncomlaw          -- Search Australian Law using Comlaw (www.comlaw.gov.au)\ncommandlinefu   -- Search on www.commandlinefu.com\nctan            -- Search the Comprehensive TeX Archive Network (ctan.org)\ncurrency        -- Convert currencies with the Universal Currency Converter (www.xe.net/ucc)\ncve             -- Search for CAN assignments in CVE\ndebbugs         -- Search the debian BTS (bugs.debian.org)\ndebcodesearch   -- Search debian source code\ndebcontents     -- Search contents of debian/ubuntu packages (packages.debian.org/packages.ubuntu.com)\ndeblists        -- Search debian mailing lists (lists.debian.org/search.html)\ndeblogs         -- Show changelogs for a package in Debian main (changelogs.debian.net)\ndebpackages     -- Search debian/ubuntu packages (packages.debian.org/packages.ubuntu.com)\ndebpkghome      -- Visit the home page for a Debian package\ndebpts          -- Search the Debian Package Tracking System (packages.qa.debian.org)\ndebsec          -- Search the Debian Security Tracker for CVE ids or package names\ndebvcsbrowse    -- Browse the VCS repository for a Debian package\ndebwiki         -- Search the Debian Wikis (wiki.debian.org \u0026 women.debian.org/wiki)\ndeja            -- Search usenet using Google Groups (groups.google.com)\ndiscogs         -- Search the Discogs database of music information (www.discogs.com)\ndockerhub       -- Search for Docker images (https://hub.docker.com)\nduckduckgo      -- Securely search the web using duckduckgo (www.duckduckgo.com)\nebay            -- Search the Ebay auction site\netym            -- Look up word origins at www.etymonline.com\nexcite          -- Search on Excite (www.excite.com)\nf5              -- Search F5 related information (www.f5.com)\nfinkpkg         -- Search Fink packages (pdb.finkproject.org)\nfoldoc          -- The Free On-Line Dictionary Of Computing (foldoc.org)\nfreebsd         -- Search FreeBSD related information (www.freebsd.org)\nfreedb          -- Search for cd track listings in FreeDB (www.freedb.org)\nfreshmeat       -- Search Freshmeat (www.freshmeat.net)\nfsfdir          -- Search the FSF/UNESCO Free Software Directory (directory.fsf.org)\ngcache          -- Search the web using Google cache (www.google.com)\ngenbugs         -- Search the Gentoo bug tracker (bugs.gentoo.org)\ngenportage      -- Search gentoo-portage.com for packages\ngithub          -- Search GitHub (https://github.com)\ngmane           -- Search mailing list with gmane (gmane.org)\ngoogle          -- Search the web using Google (www.google.com)\ngutenberg       -- Search for books on Project Gutenberg (gutenberg.org)\nimdb            -- Search the Internet Movie Database (www.imdb.com)\nixquick         -- Search the web using ixquick [HTTPS] (www.ixquick.com)\njamendo         -- Search Jamendo: free music with Creative Commons licenses (www.jamendo.com)\njavasun         -- Search Java API docs (java.sun.com)\njquery          -- Search the jQuery documentation (api.jquery.com)\nl1sp            -- Search lisp documentation\nlastfm          -- Search last.fm\nleodict         -- Search Leo's German \u003c-\u003e English dictionary (dict.leo.org)\nlsm             -- Search the Linux Software Map\nmacports        -- Search macports packages (macports.org)\nmathworld       -- Search Wolfram MathWorld\nmdn             -- Search the mozilla developer network (developer.mozilla.org)\nmininova        -- Search the mininova bittorent source.\nmusicbrainz     -- Search MusicBrainz (musicbrainz.org)\nmysqldoc        -- Search mysql documentation (dev.mysql.com)\nnetbsd          -- Search NetBSD related information (www.netbsd.org)\nnlab            -- Search the nLab wiki (http://ncatlab.org)\nntrs            -- Search the NASA Technical Report Server\nopenbsd         -- Search OpenBSD related information (www.openbsd.org)\noraclesearch    -- Search an OpenSearch-enabled website\npgdoc           -- Search postgres documentation (www.pgdoc.com)\npgpkeys         -- Search the PGP key database\nphpdoc          -- Search php documentation (php.net)\npin             -- Search Pinboard bookmarks (http://pinboard.in)\npiratebay       -- Search The Pirate Bay (http://thepiratebay.org)\npriberam        -- Look up word in Priberam online dictionary (www.priberam.pt/dlpo)\npubmed          -- Search medical/molbio databases (www.ncbi.nlm.nih.gov)\nrae             -- Busca en el diccionario de la Real Academia de la Lengua Española (Spanish Dictionary)\nrfc             -- Search RFCs (internet standards documents)\nrustdocs        -- Search doc.rust-lang.org\nscholar         -- Search Google Scholar (scholar.google.com)\nscpan           -- Search the Comprehensive Perl Archive Network (search.cpan.org)\nsearx           -- Search using searx metasearch engine instances (searx.me)\nslashdot        -- Search stories on Slashdot (www.slashdot.org)\nslinuxdoc       -- Search entries in LDP (www.linuxdoc.org)\nsourceforge     -- Search SourceForge (www.sourceforge.net)\nspringer        -- Search Springer for Books and Articles\nstack           -- Search Stack Overflow\nstockquote      -- Get a single stock quote (multiple providers)\nthesaurus       -- Look up word in Merriam-Webster's Thesaurus (www.m-w.com)\ntranslate       -- Translate human languages\nurban           -- Search urbandictionary.com for a definition\nw3css           -- Validate a CSS URL with the w3c CSS validator (jigsaw.w3.org/css-validator)\nw3html          -- Validate a web page URL with the w3c validator (validator.w3.org)\nw3link          -- Check web page links with the w3c linkchecker (validator.w3.org/checklink)\nw3rdf           -- Validate a RDF URL with the w3c RDF validator (validator.w3.org)\nwayback         -- Search The Internet Archive's Wayback Machine for a URL (archive.org)\nwebster         -- Look up word in Merriam-Webster's Dictionary (www.m-w.com)\nwikipedia       -- Search the free encyclopedia wikipedia\nwiktionary      -- Search the free multilingual dictionary (wiktionary.org)\nwoffle          -- Search the web using Woffle (localhost:8080)\nwolfram         -- Ask questions of the computational knowledge engine\nworldwidescience -- Search for science with www.worldwidescience.org\nyahoo           -- Search Yahoo categories (www.yahoo.com)\nyandex          -- Search the web using Yandex (yandex.ru)\nyoutube         -- Search YouTube (www.youtube.com)\n\n\nAll elvi have useful low calorie help, for example:\n\n\tsr bbcnews -help\n\tUsage: bbcnews [options] [search words]...\n\tDescription:\n  \t\tSurfraw search BBC News (news.bbc.co.uk)\n\tLocal options:\n  \t\t-scope=world | uk           Search world or uk news\n        \t                        Default: world\n            \t                    Environment: SURFRAW_bbcnews_scope\n\n  If you just want to see the elvi-specific help, use\n  elvi -lh or -local-help.\n\n  The system wide configuration file can usually be found in\n  /etc/xdg/surfraw/conf (but see 'Config files' above). This can be\n  overridden by setting the environment variable SURFRAW_global_conf.\n\n  Each user can also specify their own overrides, usually in\n  $HOME/.config/surfraw/conf (again, see 'Config files' above).  This\n  can be overridden by setting SURFRAW_conf, either in the environment\n  or the global config file.\n\n  e.g\n\n        SURFRAW_graphical_remote=yes\n        SURFRAW_graphical_browser=mozilla\n        SURFRAW_text_browser=w3m\n\tSURFRAW_pgpkeys_sigs=on\n\nINTEGRATION\n\n  There is a browser plugin for Pentadactyl (a vimperator fork) at\n  http://code.google.com/p/dactyl/issues/detail?id=320\n  For details, see:\n  http://lists.alioth.debian.org/pipermail/surfraw-devel/2011-April/000916.html\n\n  Code to integrate with uzbl is in\n  examples/uzbl_load_url_from_surfraw\n\nRADICALIZATION\n\n  Read HACKING. Surfrawize the soul of your favourite internet wonder.\n  Join the Shell Users' Revolutionary Front Against the WWW by\n  submitting code. Reclaim heathen lands. Bear witness to the\n  truth. Its love will set you free.\n\n  Join us on surfraw-devel@lists.alioth.debian.org\n     _________________________________________________________________\n\nREADME originally by Julian Assange\nUpdated by Ian Beckwith\n     _________________________________________________________________\n\nSee NEWS, and ChangeLog for a summary of changes.\n     _________________________________________________________________\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/gitlab.com%2Fsurfraw%2FSurfraw","html_url":"https://awesome.ecosyste.ms/projects/gitlab.com%2Fsurfraw%2FSurfraw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/gitlab.com%2Fsurfraw%2FSurfraw/lists"}