LinuxCommandLibrary

goobook

Synchronize Google Contacts with address book

TLDR

Allow goobook to access Google contacts using OAuth2

$ goobook authenticate
copy

Dump all contacts to XML (stdout)
$ goobook dump_contacts
copy

SYNOPSIS

goobook [options]

PARAMETERS

-n
    Specifies the maximum number of search results to display.

-p
    Opens the first search result in your default web browser.

-g
    Opens all search results in your default web browser (be careful!).


    The text string that you want to search for on Google.

DESCRIPTION

goobook is a command-line tool that allows you to perform Google searches directly from your terminal. It parses the HTML output of Google's search results and presents them in a human-readable format. This tool allows you to efficiently research and find information without needing to open a web browser.

It's particularly useful for quickly checking programming syntax, debugging errors, or looking up definitions. goobook typically formats the output to display the search results with concise summaries and URLs, improving your terminal workflow. It aims to provide a simplified and streamlined method for accessing Google Search's vast knowledge base without the overhead of a graphical interface.

CAVEATS

Goobook relies on Google's search page HTML structure. Changes to Google's HTML layout can break the tool. Also, excessive use might trigger Google's rate limiting measures.

INSTALLATION

Installation typically involves downloading the script (often written in Python or similar scripting language) and making it executable. Dependencies like python-beautifulsoup4 for parsing HTML might be needed. Example: pip install beautifulsoup4

EXAMPLES

goobook 'linux command examples' searches for linux command examples.
goobook -n 5 'python tutorial' shows the first 5 search results for python tutorial.

HISTORY

goobook's history is not deeply documented, but its emergence likely stems from the desire to integrate search functionality within command-line environments. It reflects a trend of terminal-based tools aimed at improving productivity and efficiency, particularly among developers and system administrators. Goobook was created as a tool for those who prefer the terminal for most tasks, including quick web searches.

SEE ALSO

curl(1), lynx(1), wget(1)

Copied to clipboard