{"repo":"partment/opencode-cloak-fetch","free":true,"listed":false,"github":"https://github.com/partment/opencode-cloak-fetch","clone":"git clone https://github.com/partment/opencode-cloak-fetch.git","description":"Brings a better webfetch experience to OpenCode by replacing the built-in webfetch tool with a CloakBrowser-backed fetcher.","language":"TypeScript","stars":19,"topics":["cloakbrowser","opencode","opencode-plugin","web-scraping"],"license":"MIT","category":"scrapers-browser-automation","readme_excerpt":"opencode-cloak-fetch OpenCode plugin that replaces the built-in webfetch tool with a CloakBrowser-backed fetcher. Use it when pages need JavaScript execution, Chromium rendering, stealth browser behavior, proxy settings, locale/timezone controls, or other browser-level options that the built-in fetcher cannot provide. Installation Add the npm package to your OpenCode config. OpenCode loads npm plugins at startup. No additional tool configuration is required. The plugin registers a tool named webfetch , which takes precedence over the built-in tool with the same name. For a local checkout during development, use a file URL instead. First Startup On startup, the plugin starts preparing the CloakBrowser browser binary in the background. The first webfetch call waits for that preparation if it is still running. If the browser binary is not already available, CloakBrowser downloads it to its cache directory. Download and update status is shown through OpenCode toast notifications titled Cloak Fetch . CloakBrowser console output is written to the OpenCode app log instead of the tool output area. Only one OpenCode process prepares the browser binary at a time. Other processes wait for the same preparation lock to finish. Configuration Files Create cloakfetch.json or cloakfetch.jsonc in any supported location. Later layers override earlier layers. Within the same directory, cloakfetch.jsonc is read after cloakfetch.json and can override it. Read order: 1. Built-in defaults. 2. Global","default_branch":null,"files":null,"tree":[],"storefront":"/r/partment","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/partment/opencode-cloak-fetch/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}