Forked from vadimfedenko/visit-website-reworked
Description
Fetch and save web pages for repeatable local search and precise reading, with compact output and verified image downloads.
Stats
39 Downloads
Description
Fetch and save web pages for repeatable local search and precise reading, with compact output and verified image downloads.
Stats
39 Downloads
Last updated
Updated 1 day agobyProject Files
README
English | 日本語 | 简体中文 | 한국어 | Español
Version 1.4.3
Fetch and save web pages, search their full text repeatedly, read selected posts or sections, and download verified images. Compact output keeps the initial response small; the saved page remains available for subsequent local searches. File Search and Analyze Images Advanced are optional companions, not required dependencies.
Install yuanjumay/visit-website-advanced from LM Studio Hub and enable it in the chat. Use a model that supports tool calling.
| Tool | Purpose |
|---|---|
Visit Website Advanced | Fetch, archive and return a compact preview and pageId. |
Search Saved Website | Search the saved full text without refetching. |
Read Saved Website | Read a post/block or list the outline, with pagination. |
Read Saved JSON-LD | Explore embedded JSON-LD and URL references from saved HTML without refetching. |
Download Images | Download remote image URLs or page-selected images after byte verification. |
Ask the model to open a URL, search the saved log for a topic, and read matching posts plus nearby context. Reuse the returned pageId; no need to refetch for each keyword. Searches default to 5 results, maximum 20; reads return up to 12,000 characters at a time. Copy returned continuation positions for more results or longer text. Tool selection and completeness depend on the model.
Recognized HTML is indexed as forum posts, heading sections and table rows, retaining available post numbers, author/time/ID data and replies. Read the actual block before quoting. A post number is different from a line number, block ID or reply-to number. Unrecognized layouts fall back to general body text; not all forum mirrors are recognized. Search snippets preserve extracted body spelling; matching is normalized.
Restore JSON-LD discovery in Compact with a bounded jsonLdOverview (presence, types, up to 8 URL references). Add Read Saved JSON-LD for paginated URL references, script lists and JSON Pointer reads from existing v1 HTML archives. No refetching, script execution or remote @context resolution. Invalid scripts and partial scans are explicit; metadata URLs are unverified source references.
Read Saved JSON-LD: omit scriptIndex to list scripts. Use view=urls for URL references; follow nextOffset with offset. Set scriptIndex and jsonPointer to explore a node; structured lists children or decoded scalar text, while view=json returns serialized parsed JSON, not original HTML bytes. limit defaults to 20, maximum 50; maxChars defaults to 3,000, range 256–12,000. Oversized list entries are explicitly omitted, and offset/nextOffset continues output. The overview truncates long URLs/pointers: use the reader before fetching them. Scanning is limited to 200,000 visited values and 20,000 URL references and flags scanTruncated; it is not exhaustive when flagged. Jina/text fallbacks cannot expose JSON-LD absent from their returned source. Script execution and JSON-LD semantic expansion are unsupported.
| Setting | Default |
|---|---|
Page output | Compact (recommended) |
Max Links | -1 (Auto) |
Max Images | -1 (Auto) |
Max Content | -1 (Auto) |
Compact saves the full page locally and returns pageId plus at most 3,000 characters of initial body/search previews within contentLimit. contentLimit: 0 omits those previews; bounded metadata is separate. With Compact and automatic maxImages: -1, no images are downloaded. Request maxImages explicitly or use Download Images when needed. responseMode: "inline" / Inline metadata returns bounded metadata; oversized JSON-LD and heading trees are omitted. Use 0 to exclude a configurable section and -1 for automatic defaults where supported.
A .jpg/.png suffix or a familiar domain is not proof of an image. After redirects, Download Images checks HTTP Content-Type, the byte signature and a full first-frame decode with sharp. HTML, JSON, text, corrupted data, mismatched specific MIME types and unsupported formats are rejected before saving. Missing MIME or application/octet-stream is accepted only when signature and decoding both succeed. There is no Imgur-specific trust rule. The saved extension reflects the detected format.
Verified formats: JPEG, PNG, GIF, WebP, TIFF and AVIF; SVG is not automatically saved. Limits: 20 MiB per image, 64 MiB per batch, 40 megapixels, 3 concurrent checks and a 30-second image-fetch timeout. Valid items still save when others fail; rejectedCount reports the total and rejected includes up to 10 reasons. Existing invalid files are rejected but not deleted. Downloads, thumbnails and source sidecars use the chat working directory; set it before downloading. Sidecars include source URL, alt/context and download time for optional local analysis.
This is a static-page fetcher, not a JavaScript browser. Login, WAF and dynamic content may remain unavailable. Direct fetches can retry and fall back to r.jina.ai; fetch.source, final URL and status distinguish the route. Fallback text lacks the original DOM structure. Direct HTML can provide title, description, heading hierarchy, links and JSON-LD; these fields are not guaranteed on every page. External fallback sends the requested URL to that service.
Page fetch/storage is limited to 32 MiB. Decoding honors BOM before HTTP charset before HTML meta, with UTF-8/Shift_JIS fallback. Saving a page cannot recover text that was never fetched. Compact output reduces future tool results but does not compress results already accumulated in a conversation.
Pages are stored at ~/.lmstudio/plugin-data/web-document-archive/v1/pages/. Override with an absolute LMSTUDIO_WEB_ARCHIVE_DIR and restart. Data is not encrypted or automatically deleted; stop the plugin before manually removing archives. A random pageId is needed; tools do not list or select unrelated archived pages. File Search can optionally import that pageId using its own tool and keeps a separate copy. Neither plugin calls the other’s API or reads its installation internals.
Setting labels, descriptions and choices automatically use the OS locale when the plugin starts. Supported editions are English, Japanese, Simplified Chinese, Korean and Spanish; unsupported locales fall back to English. Traditional Chinese locales currently fall back to English. Detection uses Node’s default Intl locale, with locale environment variables only as a fallback if that is unavailable. This follows the OS/runtime environment, not a language selected separately inside LM Studio. Tool names, parameter keys, stored values and model-facing tool schemas stay unchanged.
There is no language selector in the UI. For an override, edit the shared file ~/.lmstudio/plugin-data/yuanjumay/ui-language.json, created with auto on first startup when writable. Use auto, en, ja, zh-CN, ko or es. The same file controls Analyze Images Advanced, Visit Website Advanced, Strata Endpoint, File Search and File Save. Restart the affected plugins or LM Studio after editing. Missing/unreadable/invalid preferences do not prevent startup; automatic detection is used. Datetime Advanced currently has no custom configuration panel to translate.
{ "language": "auto" }
Guide text may refer to English setting names; translated tables also show those names for reference. The LM Studio application’s own controls follow its own localization. Only setting display text is localized here, not model-facing prompts or tool results.
From a local checkout, run the following in this plugin’s directory. Development files and tests are available in the source checkout, not necessarily in the Hub download.
npm ci lms dev --install
npm run check npm test
Automated tests check data handling and requests using substitute model responses. They do not establish a real model’s recognition accuracy, search decisions or answer quality.
Based on Visit Website Reworked (vadimfedenko/visit-website-reworked), original author Daniel Sig. Advanced changes: Yuan Jumay.
MIT. Original copyright and license notices are preserved.