Forked from vadimfedenko/duck-duck-go-reworked
README.md
Reliable DuckDuckGo web and image search tools for LM Studio with stronger anti-block resilience, better output consistency for LLM tool chaining, and cleaner diagnostics.
The previous implementation had several practical issues in real usage:
https://duckduckgo.com/ instead of actual results.Forbidden or Unable to extract vqd token with no useful fallback path..jpg/.png suffixes.https://html.duckduckgo.com/html/ for more stable HTML result pages.<a href=...>).uddg into real destination URLs.vqd bootstrap and i.js endpoint).vqd tokens.image/*) during downloads instead of extension-only acceptance.error: blocked_by_wafstage: vqd | i.jstry_web_fallback: trueWhen DDG image endpoint is blocked or unstable, Image Search now automatically runs a fallback chain:
html.duckduckgo.com)src, data-src, data-original, srcset, markdown image links)content-type: image/*)Fallback responses include source: "web_fallback" when that path was used.
imagescounthint (that images are already downloaded/renderable)page, pageSize), and safeSearch behavior.Install from LM Studio Hub:
Then click Run in LM Studio.
0 = auto).off, moderate, strict (auto lets assistant decide).With the plugin enabled, the assistant can:
Web Search)Image Search)Works especially well with the Analyze Images and improved Visit Website plugin:
LLM can find images via this plugin, then analyze the content with analyze.