README.md
DuckDuckGo Reworked v2 is an LM Studio plugin that gives local assistants practical web search, image search, and page-reading tools without requiring API keys.
It uses DuckDuckGo's public HTML and image endpoints, improves request resilience, returns cleaner structured results, and downloads image results into the local working directory so they can be rendered directly in chat.
Searches DuckDuckGo web results and returns structured entries:
title: normalized result titleurl: decoded destination URL, with DuckDuckGo redirect links resolvedsnippet: page description from DuckDuckGo result textThis makes it easier for the model to choose which result to read before fetching a page.
Fetches a web page by URL and returns plain text extracted from the page HTML.
Use this after Web Search when the assistant needs to read a specific result before answering.
Searches DuckDuckGo Images, downloads matching images locally, creates thumbnails when possible, and returns Markdown that can be embedded directly in the conversation.
If DuckDuckGo's image endpoint is blocked or unstable, the tool falls back to web-result pages, extracts image candidates from those pages, validates them by content type, and downloads the usable images.
0 means auto.strict, moderate, off, or auto.Available regions:
wt-wt)us-en)ru-ru)de-de)fr-fr)zh-cn)ja-jp)search → fetch → answer workflow.node-html-parser.uddg redirect URLs into real destination URLs.content-type: image/*.Install from LM Studio Hub:
Then click Run in LM Studio.
From the plugin directory:
npm.cmd install npm.cmd run dev
Use npm.cmd on Windows PowerShell if script execution policy blocks npm.ps1.
From the plugin directory:
npm.cmd run push
The script runs:
lms push
Use Web Search to find current LM Studio plugin documentation. Return the raw search result.
Search the web for "LM Studio plugins", fetch the most relevant result, and summarize it.
Use Image Search for "modern electric car interior" with pageSize 4 and show the returned images.
This plugin uses public DuckDuckGo endpoints and page scraping. Result availability can vary depending on network conditions, DuckDuckGo rate limits, and individual source websites. The plugin includes retries, caching, fallback image discovery, and batched downloads to reduce failures, but it cannot guarantee that every external site will allow fetching or image downloads.