Skip to main content

ddgz

@readwithai - X - blog - machine-aided reading - 📖⚡️🖋️

Duckduckgo search using fzf. This is a wrapper around the duckduckgo command-line util ddgr which uses the fuzzy search tool, fzf, to select a result and then writes the url of the result to standard output.

Attribution

This tool is effectively a thin wrapper around ddgr and python fzf

Installation

pipx install ddgz

Usage

ddgz hello world

You likely want to use the result, my motivation was to place it on the clipboard while editing documents, for which I use this.

ddgz | xclip -selection clipboard -i

I personally define a snippet (which I call ddcli) for the above using my zsh snippet manager zshnip.

Alternatives and prior work

ddgr can output results to JSON, this can be used for arbitrary purposes.

I tried to find tools to search google. I found googler but this was deprecated and I could not install this with pipx

About me

I am @readwithai, I make tools related to productivity, agency, research and reading sometimes using Obsidian.

If this is the sort of tool that interests you, then you can.

  1. Follow me on X where I tend to post about this sort of thing.
  2. Check out my list of command line productivity tools
  3. Read the Technical Miscellany section of my blog

If you are interested in computer-aided reading which is my interest you might like to start with my somewhat academic Review of note taking with Obsidian

Metadata

Release files for ddgz 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ddgz 1.0.0
File Size Uploaded Provenance Actions
ddgz-1.0.0.tar.gz 2.5 kB Without provenance Details for ddgz-1.0.0.tar.gz

Release files / ddgz-1.0.0.tar.gz

Download URL ddgz-1.0.0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
be353b39cb8e87f2c6d8e135e54809a9ec81ad39e1cc386e7ce332eff9726099
BLAKE2b-256 checksum
How to use checksums
744f4466af12a6ce65a5f1574113cfa9ec62f1f258d524c370c9047755e67d9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Security for ddgz 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page