Dsh Web Fetch Playwright
chendefine/dsh-web-fetch-playwright · model-adapters
Playwright/CDP web-fetch provider for DeepSeek Harness: renders pages in a real browser, denoises them (Readability + DOMPurify), and returns markdown.
★ 4GitHub stars
2Forks
2026-09-08Last updated
TypeScriptLanguage
MITLicense
Key features
- Real browser rendering — loads the page the way a user sees it, so client-side rendered (SPA) content is captured, not just the raw HTML.
- Denoise pipeline — Mozilla Readability extracts the article, DOMPurify removes layout/noise tags (nav, sidebar, footer, ads, forms), and Turndown with the GFM plugin converts to Markdown with the same style options as the shipped tool-web renderer.
- Two backends — launch a local Playwright browser, or drive an already-running browser over its DevTools Protocol (CDP) endpoint.
- Browser resolution — a configured path, a playwright CLI on $PATH, or the bundled playwright-core
Requirements
- DSH web profile (dsh web), Node.js ≥ 20.
- For the local backenda Playwright installation with Chromium, a Chromium-family browser binary, or playwright-core with a browser in the default cache.
Install command
dsh plugin --profile web add github:chendefine/dsh-web-fetch-playwright