ddgr-web-search

star 7

Run DuckDuckGo web searches from the terminal using `ddgr` with JSON output. Use when the task calls for lightweight web search, quick result triage, or filtering by region/time/site.

s-kostyaev By s-kostyaev schedule Updated 2/11/2026

name: ddgr-web-search description: Run DuckDuckGo web searches from the terminal using ddgr with JSON output. Use when the task calls for lightweight web search, quick result triage, or filtering by region/time/site.

DDGR Web Search (JSON)

Overview

Use ddgr "query" --json to fetch search results as structured JSON, then extract only the minimal fields needed for the task.

Workflow

  1. Run a JSON search (non-interactive).
ddgr "cli websearch" --json
  1. If you need fewer/more results or filters, add options:
ddgr "cli websearch" --json -n 5
ddgr "cli websearch" --json -t w
ddgr "cli websearch" --json -w "example.com"
ddgr "cli websearch" --json -r "us-en"
  1. Summarize or cite results using only a small subset of entries. Avoid copying full JSON into context.

Useful Options (Non-Exhaustive)

  • --json: output results as JSON
  • -n N: results per page (0-25)
  • -t d|w|m|y: time filter (day/week/month/year)
  • -w SITE: restrict to a site/domain
  • -r REG: region code (e.g., us-en)
  • --unsafe: disable safe search if needed
  • -x: expand full URLs
  • --proxy URI: use HTTPS proxy
Install via CLI
npx skills add https://github.com/s-kostyaev/.emacs.d --skill ddgr-web-search
Repository Details
star Stars 7
call_split Forks 1
navigation Branch main
article Path SKILL.md
More from Creator