ggl
v0.0.1
Published
A command-line based google search client.
Downloads
6
Readme
ggl
A command-line based google search client.
ggl is a simple command-line web search client for Google Custom Search, written with node.js.
Installation
Install from NPM, the Node.js package manager:
npm install -g ggl
Usage
ggl: A command-line based google search client.
Usage:
ggl help Print help
ggl search [keywords..] Search on google
Examples:
ggl search iphone 6
Environment variables:
GOOGLE_API_KEY Specify your API key
GOOGLE_CUSTOM_SEARCH_ENGINE_ID Specify your custom search engine ID
Configuration
It is strongly recommended to use your own Goole API Key and Google Custom Search Engine ID because default key and id are open for everyone and these key have certain limitation of number of request allowed in one day.
To set your own keys use the following environment variables.
$ export GOOGLE_API_KEY="INSERT YOUR API KEY HERE"
$ export GOOGLE_CUSTOM_SEARCH_ENGINE_ID="INSERT YOUR CUSTOM SEARCH ENGINE ID HERE"
License
MIT