Forked from vadimfedenko/duck-duck-go-reworked
README.md
An advanced DuckDuckGo web and image search plugin for LM Studio with improved retry behavior, queued request spacing, stronger URL normalization, enhanced fallback image extraction, safer image downloads, and cleaner output for LLM tool chaining.
This project is a fork of DuckDuckGo Reworked and builds on its web search, image search, fallback, and local thumbnail workflow.
compactGalleryMarkdown.Renamed the web search tool to Web Search Advanced for clearer coexistence with original or Reworked plugins.
Added retry/backoff handling to web search requests.
Added queued request spacing to reduce rate limiting across repeated tool calls.
Improved <a href=...> extraction to support:
Decodes DuckDuckGo uddg redirect targets and revalidates the decoded URL before returning it.
Filters out internal DuckDuckGo links.
Renamed the image search tool to Image Search Advanced.
Keeps the Reworked image pipeline:
vqd bootstrapi.js image endpointcompactGalleryMarkdownImproves fallback image extraction from web pages with stronger attribute parsing.
Supports image candidates from:
srcdata-srcdata-originalsrcsetImproves srcset handling by selecting the last candidate as a likely higher-resolution image.
Adds image download size limits to avoid unexpectedly large downloads.
Preserves source: "duckduckgo" and source: "web_fallback" so the assistant can tell how images were found.
Depending on the search type and result availability, the tools can return:
links
count
images
compactGalleryMarkdown
hint
source
thumbnailsUsed
structured block diagnostics such as:
error: blocked_by_wafstage: vqd | i.jstry_web_fallback: trueInstall from LM Studio Hub:
yuanjumay/duck-duck-go-advancedThen click Run in LM Studio.
0 = auto).off, moderate, strict (auto lets assistant decide).With the plugin enabled, the assistant can:
Example prompts:
A typical workflow is:
href attributes.uddg redirect targets.srcset candidate selection.compactGalleryMarkdown gallery limiting.This project is a fork of DuckDuckGo Reworked.
Original author:
Reworked version:
Advanced fork changes:
MIT
The original copyright and license notices are preserved.