Skip to content

kodejuice/localgoogoo-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

localgoogoo

Latest tag License Build Status Go Report Card

Asciicast

A command line tool that lets you use localGoogoo from the terminal.

Don't know what localGoogoo is?, you should check it out

Installation

Requirements

Install using go get

$ go get http://github.com/kodejuice/localgoogoo-go

Install using git clone

$ git clone http://github.com/kodejuice/localgoogoo-go.git
$ cd localgoogoo-go
$ go install

This installs localgoogoo-go to your local machine, you can alias it to a shorter name, such as localgoogoo or googoo

Usage

Make sure localGoogoo is functioning properly in the browser, because all this package does is make http requests to localgoogoo installed on your system and render the results of any query on your terminal (This may change in the future).

Usage:
  localgoogoo-go [command]

Available Commands:
  crawl       Crawl specified wesite
  help        Help about any command
  q           Search the localgoogoo database

Flags:
      --config string   config file (default is $HOME/.localgoogoo.yaml)
  -h, --help            help for localgoogoo-go

Use "localgoogoo-go [command] --help" for more information about a command.

Example

$ localgoogoo-go q "stl"

Asciicast

Note: The above output is due to the fact that i have an offline website (crawled) with information regarding stl, you may get a different output.

q flags
Usage:
  localgoogoo-go q <query> [flags]

Flags:
  -n, --count int   number of results to display (default 10)
  -h, --help        help for q
  -r, --reverse     display results in reversed order

Global Flags:
      --config string   config file (default is $HOME/.localgoogoo.yaml)