DeepSHPlugins
dsh-cloudflare-browser-run 项目预览
GITHUB / COMMUNITY PROJECT

dsh-cloudflare-browser-run

工具与集成TypeScriptMIT

dsh-cloudflare-browser-run:给 agent 真实浏览器能力——Cloudflare 网络上的 headless Chrome,让 JS 渲染页面、截图、PDF 都能用(pi 版本移植)。

1 StarsRealAlexandreAI 更新时间 2026-09-10
访问 GitHub 仓库
dsh-cloudflare-browser-run 项目预览

项目介绍

中文

dsh-cloudflare-browser-run:给 agent 真实浏览器能力——Cloudflare 网络上的 headless Chrome,让 JS 渲染页面、截图、PDF 都能用(pi 版本移植)。

English

Real browser capability for agents — headless Chrome on Cloudflare's network: render JS pages, screenshot, generate PDFs (ported from the pi version).

项目信息与收录信号

快照 2026-09-11
作者 / 组织
RealAlexandreAI
仓库
RealAlexandreAI/dsh-cloudflare-browser-run
GitHub Stars
1
Forks
0
开发语言
TypeScript
许可证
MIT
最近推送
2026-09-10
Manifest
数据中检测到声明

公开仓库不自动等于可商用;许可证与当前兼容性以原项目文档为准。Manifest 和数据评分不构成安装安全认证。

数据评分

54/ 100
维护活跃
100
文档与实用信息
85
生态关注度
9
安装便捷信号
100
项目声明信号
100

近 1 天仍在更新;README 含完整安装与使用说明;关注度尚低(1)。

评分来自已有数据快照的五维模型,仅作浏览参考,不是实际使用评测或安全检测结论。

安装与使用

所有项目资料与许可均以对应 GitHub 仓库为准。

dsh plugin add github:RealAlexandreAI/dsh-cloudflare-browser-run

复制命令不会自动执行。请先阅读仓库文档,确认环境要求与许可证。

项目截图

仓库 README

GitHub 原文

已保存的仓库文档快照;文档抓取时间未记录,可能与上方目录介绍处于不同版本。安装前请核对当前仓库说明。

dsh-cloudflare-browser-run — real browser access for DeepSeek Harness

dsh-cloudflare-browser-run

A DeepSeek Harness plugin that gives the agent real browser access: headless Chrome on Cloudflare's network, so JS-rendered pages, screenshots, and PDFs all just work.

Port of pi-cloudflare-browser-run, built to the dsh (Cordis) plugin spec.

English · 中文

Why

The built-in web_fetch is a plain HTTP fetch — JS pages come back empty and SSRF protection is deferred upstream. This plugin adds a real browser:

  • clean markdown from any public page (SPA/JS included)
  • screenshots (PNG) and PDFs
  • login-capable sessions and WebMCP sites

Quick start

dsh plugin --profile web add dsh-cloudflare-browser-run

Configure credentials in your profile/settings layer:

- id: cloudflare-browser-run
  name: dsh-cloudflare-browser-run
  config:
    cf_api_token: <your token>
    cf_account_id: <your account id>

Token: Cloudflare dashboard → API Tokens → Browser Rendering: Edit template. Account id: dash.cloudflare.com/<ACCOUNT_ID>/....

Tools

toolwhat it does
browsefetch a public URL → clean markdown (default); action = screenshot \pdf
screenshotsave the page as PNG locally, returns the file path
pdfsave the page as PDF locally, returns the file path

Config

keyrequiredmeaning
cf_api_token✅your API token (Browser Rendering:Edit)
cf_account_id✅your Cloudflare account id
cf_api_base–API base override
output_dir–where screenshots/PDFs land (default OS temp)

Privacy

  • Public web only: every URL passes an SSRF guard (localhost / private IPs / IPv6 literals / userinfo rejected) before the API is called.
  • The token lives only in your config file — never logged, never stored by the plugin.
  • Browser Run identifies itself as a well-behaved bot, the compliant way to fetch.

Development

npm install
npm run typecheck
npm test          # SSRF guard / config / API shape
npm run build

Live API test (not part of npm test):

DSH_TEST_CF_TOKEN=<token> DSH_TEST_CF_ACCOUNT=<account> node --import tsx tests/real/real-cf.mjs

License

MIT

使用前核对

安装步骤、兼容版本与授权范围以原项目当前文档为准。Stars 和评分是快照中的导航信号。

安装与排错 · 项目问题反馈

同类项目