Hemanth's Scribes

web

Surfraw - a Fast Unix Command Line Interface to WWW Services

Author Photo

Hemanth HM

Thumbnail

Surfraw - a Fast Unix Command Line Interface to WWW Services

“Surfraw provides a fast unix command line interface to a variety of popular WWW search engines and other artifacts of power.It reclaims google, altavista, dejanews,freshmeat, research index, slashdot and many others from the false‐prophet, pox‐infested heathen lands of html‐forms, placing these wonders where they belong, deep in unix heartland, as god loving extensions to the shell.”

           ______  _     _  ______   _______  ______   _______  _  _  _
          / _____)(_)   (_)(_____ \ (_______)(_____ \ (_______)(_)(_)(_)
         ( (____   _     _  _____) ) _____    _____) ) _______  _  _  _
          \____ \ | |   | ||  __  / |  ___)  |  __  / |  ___  || || || |
          _____) )| |___| || |  \ \ | |      | |  \ \ | |   | || || || |
         (______/  \_____/ |_|   |_||_|      |_|   |_||_|   |_| \_____/
         Surfraw - Shell Users' Revolutionary Front Rage Against the Web

Getting the code

1. sudo apt-get install surfraw surfraw-extra [or] 2. git clone git://git.debian.org/surfraw/surfraw.git

Standard examples form the man For example: $ surfraw google -results=100 RMS, GNU, which is sinner, which is sin? $ sr wikipedia surfraw $ sr austlii -method=phrase dog like $ /usr/lib/surfraw/rhyme -method=perfect Julian

Don’t forget to try sr -elvi

List of Elvi

Surfraw contains the following web site search scripts (elvi)

WActivate Surfraw defined web-browser
acronymLook for acronyms definitions (www.acronymfinder.com)
aliothSearch Alioth (alioth.debian.org)
altavistaSearch the web using Altavista (www.altavista.com)
amazonSearch the amazon.com bookstore
archpkgSearch Arch Linux packages (www.archlinux.org)
arxivSearch arXiv E-Print Archive for articles
askQuestion the web using Ask Jeeves (www.ask.com)
aurSearch aur.archlinux.org for PKGBUILDs
austliiSearch Australian Law docs (www.austlii.edu.au)
bbcnewsSearch BBC News (news.bbc.co.uk)
bingSearch the web using Microsoft’s Bing (www.bing.com)
bookfinderSearch for books using www.bookfinder.com
bugmenotBypass compulsory web registration with bugmenot.com
cddbSearch for cd track listings in CDDB (www.gracenote.com)
ciaSearch CIA documents at www.cia.gov
citeSearch computer science papers (citeseerx.ist.psu.edu)
clikiSearch the common lisp wiki
cnnSearch on CNN (cnn.com)
codesearchSearch source code using Google Code Search (www.google.com/codesearch)
comlawSearch Australian Law using Comlaw (www.comlaw.gov.au)
ctanSearch the Comprehensive TeX Archive Network (ctan.org)
currencyConvert currencies with the Universal Currency Converter (www.xe.net/ucc)
cveSearch for CAN assignments in CVE
debbugsSearch the debian BTS (bugs.debian.org)
debcontentsSearch contents of debian/ubuntu packages (packages.debian.org/packages.ubuntu.com)
deblistsSearch debian mailing lists (lists.debian.org/search.html)
deblogsShow changelogs for a package in Debian main (changelogs.debian.net)
debpackagesSearch debian/ubuntu packages (packages.debian.org/packages.ubuntu.com)
debpkghomeVisit the home page for a Debian package
debptsSearch the Debian Package Tracking System (packages.qa.debian.org)
debsecSearch the Debian Security Tracker for CVE ids or package names
debvcsbrowseBrowse the VCS repository for a Debian package
debwikiSearch the Debian Wikis (wiki.debian.org & women.debian.org/wiki)
dejaSearch usenet using Google Groups (groups.google.com)
discogsSearch the Discogs database of music information (www.discogs.com)
dmozSearch the Open Directory Project web directory (dmoz.org)
duckduckgoSearch the web using Duckduckgo (www.duckduckgo.com)
ebaySearch the Ebay auction site
etymLook up word origins at www.etymonline.com
exciteSearch on Excite (www.excite.com)
fastSearch the web using FAST Search (www.alltheweb.com)
filesearchingSearch files on filesearching (www.filesearching.com)
finkpkgSearch Fink packages (pdb.finkproject.org)
foldocThe Free On-Line Dictionary Of Computing (foldoc.org)
freebsdSearch FreeBSD related information (www.freebsd.org)
freedbSearch for cd track listings in FreeDB (www.freedb.org)
freshmeatSearch Freshmeat (www.freshmeat.net)
fsfdirSearch the FSF/UNESCO Free Software Directory (directory.fsf.org)
gcacheSearch the web using Google cache (www.google.com)
genbugsSearch the Gentoo bug tracker (bugs.gentoo.org)
genportageSearch gentoo-portage.com for packages
googleSearch the web using Google (www.google.com)
gutenbergSearch for books on Project Gutenberg (gutenberg.org)
happypenguinSearch the Linux Game Tome (www.happypenguin.org)
imdbSearch the Internet Movie Database (www.imdb.com)
ixquickSearch the web using ixquick [HTTPS] (www.ixquick.com)
jamendoSearch Jamendo: free music with Creative Commons licenses (www.jamendo.com)
javasunSearch Java API docs (java.sun.com)
l1spSearch lisp documentation
lastfmSearch last.fm
leodictSearch Leo’s German <-> English dictionary (dict.leo.org)
lsmSearch the Linux Software Map
macportsSearch macports packages (macports.org)
mathworldSearch Wolfram MathWorld
mininovaSearch the mininova bittorent source.
musicbrainzSearch MusicBrainz (musicbrainz.org)
netbsdSearch NetBSD related information (www.netbsd.org)
ntrsSearch the NASA Technical Report Server
openbsdSearch OpenBSD related information (www.openbsd.org)
opensearchSearch an OpenSearch-enabled website
pgpkeysSearch the PGP key database
piratebaySearch thepiratebay.org for torrents
portLook up a TCP/UDP port number on seifried.org/security/ports/
pubmedSearch medical/molbio databases (www.ncbi.nlm.nih.gov)
raeBusca en el diccionario de la Real Academia de la Lengua Española (Spanish Dictionary)
rfcSearch RFCs (internet standards documents)
rhymeSearch for rhymes et al using Lycos Rhyme (rhyme.lycos.com)
rpmsearchSearch for RPMs in various distros
scholarSearch Google Scholar (scholar.google.com)
scicomSearch Scientific Commons
scpanSearch the Comprehensive Perl Archive Network (search.cpan.org)
scroogleSearch Google anonymously via Scroogle (www.scroogle.org)
slashdotSearch stories on Slashdot (www.slashdot.org)
slinuxdocSearch entries in LDP (www.linuxdoc.org)
sourceforgeSearch SourceForge (www.sourceforge.net)
springerSearch Springer for Books and Articles
stockquoteGet a single stock quote (multiple providers)
sunonesearchSearch Sun One Search (onesearch.sun.com)
thesaurusLook up word in Merriam-Webster’s Thesaurus (www.m-w.com)
translateTranslate human languages (various providers)
urbanSearch urbandictionary.com for a definition
w3cssValidate a CSS URL with the w3c CSS validator (jigsaw.w3.org/css-validator)
w3htmlValidate a web page URL with the w3c validator (validator.w3.org)
w3linkCheck web page links with the w3c linkchecker (validator.w3.org/checklink)
w3rdfValidate a RDF URL with the w3c RDF validator (validator.w3.org)
waybackSearch The Internet Archive’s Wayback Machine for a URL (archive.org)
websterLook up word in Merriam-Webster’s Dictionary (www.m-w.com)
wetandwildReal time weather information (many sources)
wikipediaSearch the free encyclopedia wikipedia
woffleSearch the web using Woffle (localhost:8080)
yahooSearch Yahoo categories (www.yahoo.com)
youtubeSearch YouTube (www.youtube.com)
yubnubUse the social command-line for the web (yubnub.org)

Surfraw Originally written by Julian Assange,now maintained by the surfraw-devel team <‐[email protected]>

#javascript#linux
Author Photo

About Hemanth HM

Hemanth HM is a Sr. Machine Learning Manager at PayPal, Google Developer Expert, TC39 delegate, FOSS advocate, and community leader with a passion for programming, AI, and open-source contributions.