A web-search CLI for coding agents. Searches DuckDuckGo and returns cleanly formatted results.
cargo install fretkaRegister fretka as a skill so your coding agent knows when and how to search the web:
fretka install-skillThe wizard detects your installed tools — Claude Code, Codex, Gemini CLI, Cline, OpenCode, GitHub Copilot, and Mistral Vibe — and copies the skill file into each one you select.
fretka "python requests retry with backoff"
fretka -t 3 "typescript extend interface"
fretka --fetch "kubernetes pod graceful shutdown"
fretka -f json "rust serde deserialize enum"| Flag | Description | Default |
|---|---|---|
-t, --top-k <N> |
Number of results to return (1–100) | 5 |
--fetch |
Fetch each URL and extract readable content | off |
-f, --format <FMT> |
Output format: markdown or json |
markdown |
-v, --verbose |
Show detailed error messages | off |
MIT