very simple tool to perform web searches from the terminal written in node. Inspired by zquestz/s (and other cli apps) in functionality, but with a different implementation.
a small experimenting learning js and node (and just having fun).
currently works on osx and linux, no window support yet.
- node
- npm
npm install -g search-cli
alrnatively, you can download this repository and install from source
git clone https://github.com/latrokles/search-cli.git
cd search-cli
npm install
Usage: search [options] <query>
Options:
-h, --help output usage information
-V, --version output the version number
-s, --service <service> to perform search on (e.g. google, npm)
-c, --configure configure a new service
-l, --list list configured services
search-cli services are stored in a json configuration file placed in the user's
home directory during installation (at ~/.search-cli.json
).
search-cli comes with some services already configured by default, but new services can be configured by:
- running search-cli with the
--configure
flag (this runs in interactive mode). - manually editing the configuration file to add a new service.
search amazon
search -s amazon daniel suarez
search google
search -s google what is the airspeed velocity of an unladen swallow?
or
search what is the airspeed velocity of an unladen swallow?
search youtube
search -s youtube nodebots