googler

Google search from the terminal

TLDR

Search Google
$ googler [search terms]
Search news
$ googler -N [query]
Search specific site
$ googler -w [site.com] [query]
Limit results
$ googler -n [5] [query]
Open result in browser
$ googler --open [query]

SYNOPSIS

googler [options] [query]

DESCRIPTION

googler is a power tool to search Google from the terminal. It shows results with titles, URLs, and snippets, and supports an interactive interface for browsing results and opening them in a browser.The tool supports site-specific search, news, various output customizations, and works without requiring an API key.

PARAMETERS

QUERY

Search terms.
-n NUM
Number of results.
-N, --news
Search news.
-w SITE
Limit to website.
--open
Open in browser.
-l LANG
Language code (e.g., en, fr, de).
-t PERIOD
Time filter: h (hour), d (day), w (week), m (month), y (year).
-c COUNTRY
Country code for localized results.
--json
Output results as JSON.
--noprompt
Non-interactive mode (no prompt, print results and exit).

CONFIGURATION

BROWSER

Environment variable to specify the browser for opening search results.

INSTALL

sudo dnf install googler
sudo zypper install googler

CAVEATS

Relies on web scraping. May break with Google changes. No API key needed.

HISTORY

googler was created by Arun Prakash Jana to provide comprehensive Google search functionality from the command line.

SEE ALSO

ddgr(1), w3m(1)