LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

tuxi

Quick Google answers from the terminal

TLDR

Search Google for an answer
$ tuxi [search_terms]
copy
Display raw output without formatting
$ tuxi -r [search_terms]
copy
Display all valid answers
$ tuxi -a [search_terms]
copy
Print top URLs for a query
$ tuxi -u [search_terms]
copy
Suppress suggestions and show results only
$ tuxi -q [search_terms]
copy
Search in a specific language
$ tuxi -l LANG_[language_code] [search_terms]
copy
Display version
$ tuxi -v
copy

SYNOPSIS

tuxi [OPTIONS] [SEARCHTERMS_...]

DESCRIPTION

tuxi is a command-line tool that scrapes Google search results to provide instant, concise answers to queries. It extracts featured snippets and knowledge panel information to display answers directly in the terminal.The tool is useful for quick fact-checking and getting answers without opening a web browser. It requires pup (HTML parser), recode (character set conversion), and jq (JSON processor) as dependencies.

PARAMETERS

-r

Raw format output (no colors or formatting).
-q
Quiet mode (suppress "Did you mean?" suggestions and greeting).
-a
Display all valid answers.
-u
Print top URLs for the query.
-b
Select best answer based on query keywords (experimental).
-l LANGcode_
Override search language (e.g., LANGenUS, LANGfrFR).
-d
Print debug information.
-s
Save HTML results to cache.
-c
Use most recent cached result instead of fetching.
-p
Disable pipe support.
-v
Show version information.
-h
Display help information.

ENVIRONMENT

TUXI_LANG=lang

Set default search language.
TUXI_DELAY=int
Adjust delay between answer detection (default: 250ms).

CAVEATS

Depends on Google's HTML structure which may change without notice. May be blocked by Google rate limiting or CAPTCHA. Requires internet connection. Results are scraped and may not always be accurate. Requires pup, recode, and jq to be installed.

HISTORY

tuxi was created by Bugswriter as a fast, lightweight way to get answers from Google directly in the terminal without browser overhead.

SEE ALSO

ddgr(1), googler(1), curl(1), jq(1)

Copied to clipboard
Kai