All Projects → JNRowe → Surfraw

JNRowe / Surfraw

Licence: other
Mirror of the upstream git repository

Programming Languages

shell
77523 projects

Labels

Projects that are alternatives of or similar to Surfraw

Qcl
QNX QCONN service provider Perl client.
Stars: ✭ 7 (-78.79%)
Mutual labels:  client
Clientserverproject
一个C-S模版,该模版由三部分的程序组成,一个服务端运行的程序,一个客户端运行的程序,还有一个公共的组件,实现了基础的账户管理功能,版本控制,软件升级,公告管理,消息群发,共享文件上传下载,批量文件传送功能。具体的操作方法见演示就行。本项目的一个目标是:提供一个基础的中小型系统的C-S框架,客户端有三种模式,无缝集成访问,winform版本,wpf版本,asp.net mvc版本,方便企业进行中小型系统的二次开发和个人学习。同时网络组件方便的支持读写三菱和西门子PLC的数据,详细见Readme
Stars: ✭ 873 (+2545.45%)
Mutual labels:  client
Zeus
A high performance, cross-platform Internet Communication Engine. Developed with native socket API. Aim at handling millions of concurrent connections.
Stars: ✭ 30 (-9.09%)
Mutual labels:  client
Hvac
🔒 Python 2.7/3.X client for HashiCorp Vault
Stars: ✭ 839 (+2442.42%)
Mutual labels:  client
Vertx Web
HTTP web applications for Vert.x
Stars: ✭ 853 (+2484.85%)
Mutual labels:  client
Gentleman
Full-featured, plugin-driven, extensible HTTP client toolkit for Go
Stars: ✭ 886 (+2584.85%)
Mutual labels:  client
Node Electrum Client
Electrum Client for node.js
Stars: ✭ 25 (-24.24%)
Mutual labels:  client
Vainglory
(*DEPRECATED*: The API no longer exists, so this will no longer work) A Javascript API Client wrapper for Vainglory
Stars: ✭ 32 (-3.03%)
Mutual labels:  client
Gitter Api
[production-ready] Gitter API implementation for php 7.0+ allowing sync, async and streaming access.
Stars: ✭ 11 (-66.67%)
Mutual labels:  client
Njrat 0.7d Stub Csharp
njRAT C# Stub - Fixed For PowerShell
Stars: ✭ 28 (-15.15%)
Mutual labels:  client
Ws50 Sync
ws50-sync is a python based program which pulls air quality data from your Withings account and stores it directly in a Domoticz DB.
Stars: ✭ 8 (-75.76%)
Mutual labels:  client
Swagger Codegen Play Scala
Swagger client generator which is based on the PlayWS library
Stars: ✭ 9 (-72.73%)
Mutual labels:  client
Node Openid Client
OpenID Certified™ Relying Party (OpenID Connect/OAuth 2.0 Client) implementation for Node.js.
Stars: ✭ 887 (+2587.88%)
Mutual labels:  client
Android
OwnTracks Android App
Stars: ✭ 840 (+2445.45%)
Mutual labels:  client
Openapi Core Ruby Sdk
Alibaba Cloud Core SDK for Ruby
Stars: ✭ 29 (-12.12%)
Mutual labels:  client
M2x Python
AT&T M2X Python Library
Stars: ✭ 25 (-24.24%)
Mutual labels:  client
Php Sdicoop Client
A PHP package for connecting to Italian Exchange System (aka SdI) web services. (Pacchetto PHP per inviare fatture e notifiche ai webservices del SdI).
Stars: ✭ 14 (-57.58%)
Mutual labels:  client
Easyappointments Mobile Client
Mobile client for Easy!Appointments Web Scheduler
Stars: ✭ 33 (+0%)
Mutual labels:  client
Emodbus
Modbus library for both RTU and TCP protocols. Primarily developed on and for ESP32 MCUs.
Stars: ✭ 29 (-12.12%)
Mutual labels:  client
Ionic3 Angular43 Httpclient
Example of Ionic 3 and the new Angular 4.3 HTTPClient
Stars: ✭ 20 (-39.39%)
Mutual labels:  client
    Surfraw - Shell Users' Revolutionary Front Rage Against the Web

Home Page: https://gitlab.com/surfraw/Surfraw

    ______  _     _  ______   _______  ______   _______  _  _  _
   / _____)(_)   (_)(_____ \ (_______)(_____ \ (_______)(_)(_)(_)
  ( (____   _     _  _____) ) _____    _____) ) _______  _  _  _
   \____ \ | |   | ||  __  / |  ___)  |  __  / |  ___  || || || |
   _____) )| |___| || |  \ \ | |      | |  \ \ | |   | || || || |
  (______/  \_____/ |_|   |_||_|      |_|   |_||_|   |_| \_____/

Surfraw - Shell Users' Revolutionary Front Rage Against the Web New: https://gitlab.com/surfraw/Surfraw Old: http://surfraw.alioth.debian.org

		       Oh Baybe
		     I need some
		     Deep Linking
		      Let us go
		 Surfin' in the raw!

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, babelfish, 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 abstracts the browser away from input. Doing so lets it get on with what it's good at. Browsing. Interpretation of linguistic forms is handed back to the shell, which is what it, and human beings are good at. Combined with netscape-remote or incremental text browsers, such as links (http://artax.karlin.mff.cuni.cz/~mikulas/links/), w3m (http://www.w3m.org/), and screen(1) a Surfraw liberateur is capable of navigating speeds that leave GUI tainted idolaters agape with fear and wonder.

Surfraw consists of a collection of elvi, each of which knows how to search a specific web site. To see the list of elvi type:

surfraw -elvi

Note that sr is an alias for surfraw, so that could equally be

sr -elvi

To search using an elvis use:

sr elviname [options] search terms..

For example, to search google for information on Debian ports, using the "I'm feeling lucky" option:

sr google -l debian ports

Note that putting quotes round arguments works now, so you can do, for example:

sr google foo "bar baz" bam

and the quoting is passed on to the search engine.

ADDING THE ELVI TO YOUR PATH

If you are a regular user of surfraw, you will probably get sick of typing sr or surfraw each time. You can regain the old behaviour of running the elvi directly by adding the elvi directory (usually /usr/lib/surfraw or /usr/local/lib/surfraw/) to your path, either manually or using surfraw-update-path(1).

CONFIG FILES

Surfraw implements the XDG basedir spec (http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html)

Essentially this means global config will be in /etc/xdg/surfraw/ and local config will be in $HOME/.config/surfraw/. This can be modified by setting $XDG_CONFIG_DIRS and $XDG_CONFIG_HOME, see the spec for more details.

If your system has a different sysconfdir set during configure, that will be used instead of /etc (for instance, /usr/local/etc).

In the documentation below, only the default paths will be referred to.

LOCAL ELVI

Surfraw can use your own private elvi, store them in $HOME/.config/surfraw/elvi/.

Local elvi will be listed separately at the end of 'surfraw -elvi'.

Use existing elvi (e.g. google) as a template. If you think your elvi may be useful to others, consider submitting them to [email protected].

BOOKMARKS

Surfraw now supports bookmarks. To add a bookmark, add it to to the global bookmark list in /etc/xdg/surfraw/bookmarks or to your personal bookmark list in $HOME/.config/surfraw/bookmarks

The format of the bookmarks file is simple, each bookmark is on a separate line, with the bookmark and URL separated by whitespace, eg:

ntk http://www.ntk.net/

To invoke a bookmark, use "surfraw bookmark" or "sr bookmark", and if an elvis of that name doesn't exist, it searches for a bookmark of that name instead.

There are some example bookmarks in /etc/xdg/surfraw/bookmarks

CUSTOM SEARCH

Several elvi use a search engine with site: and inurl: keywords. The search engine used can be customized by setting the environment variable SURFRAW_customsearch_provider or using the command-line argument -customsearch= Currently google and duckduckgo are supported

Examples:

SURFRAW_customsearch_provider=duckduckgo sr mysqldoc -v=5.5 select sr pgdoc -customsearch=google -v=9.1 select

The default is to use duckduckgo.

Currently affected elvi:

mdn mysqldoc netbsd openbsd pgdoc slinuxdoc

INSTALLATION

Surfraw is installed with the standard ./configure; make; make install procedure. See INSTALL for more details. If you obtained surfraw direct from the git repository rather than a release tarball, run ./prebuild to generate the autotools build files before running ./configure.

Note that the opensearch elvis depends on the perl libraries WWW::OpenSearch, HTML::Parser and LWP (libwww-perl). If you don't want to install opensearch, use ./configure --disable-opensearch.

Surfraw supports the following options to ./configure:

--with-text-browser=BROWSER       Use BROWSER as text-mode browser
--with-graphical-browser=BROWSER  Use BROWSER as graphical-mode browser
--with-elvidir=DIR                Use DIR as location for storing elvi
--disable-opensearch              Disable OpenSearch support
--disable-sr                      Disable installing sr alias

By default, the text and graphical browsers are detected from a
list of installed browsers at configure time. elvidir defaults
to $(libdir)/surfraw (probably /usr/local/lib/surfraw).

EXAMPLES

     $ surfraw google -results=100 RMS, GNU, which is sinner, which is sin?
     $ sr wikipedia surfraw
     $ sr austlii -method=phrase dog like
     $ /usr/lib/surfraw/stack -u -s=vote shell

OPTIONS

Global options are common to all Surfraw elvi (clients). You can get a list of the currently installed elvi by just typing `surfraw -elvi'. For example:

$ surfraw -elvi GLOBAL ELVI: W -- Activate Surfraw defined web-browser acronym -- Look for acronyms definitions (www.acronymfinder.com) ads -- Search SAO/NASA Astrophysics Data System alioth -- Search Alioth (alioth.debian.org) amazon -- Search the amazon.com bookstore archpkg -- Search Arch Linux Packages (www.archlinux.org/packages/) archwiki -- Search the Arch Linux Wiki arxiv -- Search arXiv E-Print Archive for articles ask -- Question the web using Ask Jeeves (www.ask.com) aur -- Search aur.archlinux.org for PKGBUILDs austlii -- Search Australian Law docs (www.austlii.edu.au) bbcnews -- Search BBC News (news.bbc.co.uk) bing -- Search the web using Microsoft's Bing (www.bing.com) bookfinder -- Search for books using www.bookfinder.com bugmenot -- Bypass compulsory web registration with bugmenot.com bugzilla -- Search for bugs on Bugzilla bugtrackers cia -- Search CIA documents at www.cia.gov cisco -- Search Cisco documentation (www.cisco.com) cite -- Search computer science papers (citeseerx.ist.psu.edu) cliki -- Search the common lisp wiki cnn -- Search on CNN (cnn.com) comlaw -- Search Australian Law using Comlaw (www.comlaw.gov.au) commandlinefu -- Search on www.commandlinefu.com ctan -- Search the Comprehensive TeX Archive Network (ctan.org) currency -- Convert currencies with the Universal Currency Converter (www.xe.net/ucc) cve -- Search for CAN assignments in CVE debbugs -- Search the debian BTS (bugs.debian.org) debcodesearch -- Search debian source code debcontents -- Search contents of debian/ubuntu packages (packages.debian.org/packages.ubuntu.com) deblists -- Search debian mailing lists (lists.debian.org/search.html) deblogs -- Show changelogs for a package in Debian main (changelogs.debian.net) debpackages -- Search debian/ubuntu packages (packages.debian.org/packages.ubuntu.com) debpkghome -- Visit the home page for a Debian package debpts -- Search the Debian Package Tracking System (packages.qa.debian.org) debsec -- Search the Debian Security Tracker for CVE ids or package names debvcsbrowse -- Browse the VCS repository for a Debian package debwiki -- Search the Debian Wikis (wiki.debian.org & women.debian.org/wiki) deja -- Search usenet using Google Groups (groups.google.com) discogs -- Search the Discogs database of music information (www.discogs.com) duckduckgo -- Securely search the web using duckduckgo (www.duckduckgo.com) ebay -- Search the Ebay auction site etym -- Look up word origins at www.etymonline.com excite -- Search on Excite (www.excite.com) f5 -- Search F5 related information (www.f5.com) finkpkg -- Search Fink packages (pdb.finkproject.org) foldoc -- The Free On-Line Dictionary Of Computing (foldoc.org) freebsd -- Search FreeBSD related information (www.freebsd.org) freedb -- Search for cd track listings in FreeDB (www.freedb.org) freshmeat -- Search Freshmeat (www.freshmeat.net) fsfdir -- Search the FSF/UNESCO Free Software Directory (directory.fsf.org) gcache -- Search the web using Google cache (www.google.com) genbugs -- Search the Gentoo bug tracker (bugs.gentoo.org) genportage -- Search gentoo-portage.com for packages github -- Search GitHub (https://github.com) gmane -- Search mailing list with gmane (gmane.org) google -- Search the web using Google (www.google.com) gutenberg -- Search for books on Project Gutenberg (gutenberg.org) imdb -- Search the Internet Movie Database (www.imdb.com) ixquick -- Search the web using ixquick [HTTPS] (www.ixquick.com) jamendo -- Search Jamendo: free music with Creative Commons licenses (www.jamendo.com) javasun -- Search Java API docs (java.sun.com) jquery -- Search the jQuery documentation (api.jquery.com) l1sp -- Search lisp documentation lastfm -- Search last.fm leodict -- Search Leo's German <-> English dictionary (dict.leo.org) lsm -- Search the Linux Software Map macports -- Search macports packages (macports.org) mathworld -- Search Wolfram MathWorld mdn -- Search the mozilla developer network (developer.mozilla.org) mininova -- Search the mininova bittorent source. musicbrainz -- Search MusicBrainz (musicbrainz.org) mysqldoc -- Search mysql documentation (dev.mysql.com) netbsd -- Search NetBSD related information (www.netbsd.org) nlab -- Search the nLab wiki (http://ncatlab.org) ntrs -- Search the NASA Technical Report Server openbsd -- Search OpenBSD related information (www.openbsd.org) oraclesearch -- Search an OpenSearch-enabled website pgdoc -- Search postgres documentation (www.pgdoc.com) pgpkeys -- Search the PGP key database phpdoc -- Search php documentation (php.net) pin -- Search Pinboard bookmarks (http://pinboard.in) piratebay -- Search The Pirate Bay (http://thepiratebay.org) priberam -- Look up word in Priberam online dictionary (www.priberam.pt/dlpo) pubmed -- Search medical/molbio databases (www.ncbi.nlm.nih.gov) rae -- Busca en el diccionario de la Real Academia de la Lengua Española (Spanish Dictionary) rfc -- Search RFCs (internet standards documents) scholar -- Search Google Scholar (scholar.google.com) scpan -- Search the Comprehensive Perl Archive Network (search.cpan.org) searx -- Search using searx metasearch engine instances (searx.me) slashdot -- Search stories on Slashdot (www.slashdot.org) slinuxdoc -- Search entries in LDP (www.linuxdoc.org) sourceforge -- Search SourceForge (www.sourceforge.net) springer -- Search Springer for Books and Articles stack -- Search Stack Overflow stockquote -- Get a single stock quote (multiple providers) thesaurus -- Look up word in Merriam-Webster's Thesaurus (www.m-w.com) translate -- Translate human languages urban -- Search urbandictionary.com for a definition w3css -- Validate a CSS URL with the w3c CSS validator (jigsaw.w3.org/css-validator) w3html -- Validate a web page URL with the w3c validator (validator.w3.org) w3link -- Check web page links with the w3c linkchecker (validator.w3.org/checklink) w3rdf -- Validate a RDF URL with the w3c RDF validator (validator.w3.org) wayback -- Search The Internet Archive's Wayback Machine for a URL (archive.org) webster -- Look up word in Merriam-Webster's Dictionary (www.m-w.com) wikipedia -- Search the free encyclopedia wikipedia wiktionary -- Search the free multilingual dictionary (wiktionary.org) woffle -- Search the web using Woffle (localhost:8080) wolfram -- Ask questions of the computational knowledge engine worldwidescience -- Search for science with www.worldwidescience.org yahoo -- Search Yahoo categories (www.yahoo.com) yandex -- Search the web using Yandex (yandex.ru) youtube -- Search YouTube (www.youtube.com)

All elvi have useful low calorie help, for example:

sr bbcnews -help
Usage: bbcnews [options] [search words]...
Description:
	Surfraw search BBC News (news.bbc.co.uk)
Local options:
	-scope=world | uk           Search world or uk news
    	                        Default: world
        	                    Environment: SURFRAW_bbcnews_scope

If you just want to see the elvi-specific help, use elvi -lh or -local-help.

The system wide configuration file can usually be found in /etc/xdg/surfraw/conf (but see 'Config files' above). This can be overridden by setting the environment variable SURFRAW_global_conf.

Each user can also specify their own overrides, usually in $HOME/.config/surfraw/conf (again, see 'Config files' above). This can be overridden by setting SURFRAW_conf, either in the environment or the global config file.

e.g

    SURFRAW_graphical_remote=yes
    SURFRAW_graphical_browser=mozilla
    SURFRAW_text_browser=w3m
SURFRAW_pgpkeys_sigs=on

INTEGRATION

There is a browser plugin for Pentadactyl (a vimperator fork) at http://code.google.com/p/dactyl/issues/detail?id=320 For details, see: http://lists.alioth.debian.org/pipermail/surfraw-devel/2011-April/000916.html

Code to integrate with uzbl is in examples/uzbl_load_url_from_surfraw

RADICALIZATION

Read HACKING. Surfrawize the soul of your favourite internet wonder. Join the Shell Users' Revolutionary Front Against the WWW by submitting code. Reclaim heathen lands. Bear witness to the truth. Its love will set you free.

Join us on [email protected] _________________________________________________________________

README originally by Julian Assange Updated by Ian Beckwith _________________________________________________________________

See NEWS, and ChangeLog for a summary of changes. _________________________________________________________________

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].