Camofox Browser: An "invisible browser" for AI agents, an open source self-hosted solution that passes Cloudflare and anti-crawling detectionCamofox Browser:给 AI 智能体用的「隐身浏览器」,过 Cloudflare 与反爬检测的开源自托管方案
11,400+ stars. It encapsulates the anti-fingerprint browser Camoufox into an HTTP service that is directly compatible with Puppeteer / Playwright: the page that the agent wants to visit must be used first. Cloudflare queries, robot detection, and anti-crawling verification are all solved locally. It can be self-hosted with a single Docker command, and the data does not leave its own server.
11,400+ Star。它把反指纹浏览器 Camoufox 封装成一个对 Puppeteer / Playwright 直接兼容的 HTTP 服务:智能体要访问的页面先用它过一遍,Cloudflare 质询、机器人检测、反爬验证都在本地解决,一条 Docker 命令即可自托管,数据不出自己服务器。

What problem to solve解决什么问题
Anti-crawling of mainstream sites is becoming more and more fierce. Ordinary headless browsers are recognized as soon as they shake hands, and agents are blocked nine times out of ten when they capture data. Each session of Camofox has a real browser fingerprint and supports proxy exit. After hitting the target site, it returns "what a real person sees".
It is a drop-in design: just point the endpoint of your existing Puppeteer / Playwright script to the Camofox service, without changing a single line of code, and you will immediately gain invisibility capabilities.
主流站点的反爬越来越凶,普通无头浏览器一握手就被识别,智能体抓数据十次九次被拦。Camofox 的每个会话都带真实浏览器指纹并支持代理出口,命中目标站后返回「真人看到的样子」。
它是 Drop-in 设计:你现有的 Puppeteer / Playwright 脚本只要把 endpoint 指向 Camofox 服务,代码一行不用改,立刻获得隐身能力。
Highlights亮点功能
Built-in search macros: @google_search, @youtube_search, @amazon_search, @reddit_subreddit and more than 10 commonly used macros, one request completes "search + extraction".
Subtitle extraction: POST /youtube/transcript directly obtains YouTube video subtitles without having to fiddle with third-party libraries.
Single-port HTTP API, Docker self-hosts one-line commands, and the official image also has built-in yt-dlp.
内置搜索宏:@google_search、@youtube_search、@amazon_search、@reddit_subreddit 等 10 多个常用宏,一个请求完成「搜索+提取」。
字幕抽取:POST /youtube/transcript 直接拿 YouTube 视频字幕,不用再折腾第三方库。
单端口 HTTP API,Docker 自托管一行命令,官方镜像还内置了 yt-dlp。

quick start快速开始
There is Docker: docker build -t camofox . && docker run -p 9377:9377 camofox; pure Python can also start the service directly after pip install -r requirements.txt, and the default listening port is 9377.
Verification: curl -X POST http://localhost:9377/youtube/transcript -d '{"url":"Video link","languages":["en"]}', if you can get subtitles, it means the service is normal.
有 Docker:docker build -t camofox . && docker run -p 9377:9377 camofox;纯 Python 也可以 pip install -r requirements.txt 后直接启动服务,默认监听 9377 端口。
验证:curl -X POST http://localhost:9377/youtube/transcript -d '{"url":"视频链接","languages":["en"]}',能拿到字幕就说明服务正常。

Download instructions下载说明
The download button provides the complete source code package of the master branch (about 2 MB), including Dockerfile, Python server and search macro definitions. Unzip and build.
下载按钮提供 master 分支完整源码包(约 2 MB),含 Dockerfile、Python 服务端与搜索宏定义,解压即建。
Use reminder使用提醒
Please use Camofox for legal and compliant data collection scenarios, comply with the robots agreement and terms of service of the target website, and bear your own responsibility for use. This article is compiled from public information, and the resources are only for learning and exchange.
请将 Camofox 用于合法合规的数据采集场景,遵守目标网站的 robots 协议与服务条款,自行承担使用责任。本文整理自公开资料,资源仅供学习交流。
⬇ Download · 点击下载:Camofox Browser master 分支源码包(2.0 MB)
来自 GitHub 开源仓库 jo-inc/camofox-browser,含 Dockerfile 与完整服务端
阅读与点赞数据保存在你的浏览器本地,欢迎留下你的想法。
今日正能量学一点,用一点;今天种下的种子,会长成明天的能力。去免费下载专区 →广告
评论 文明发言,让讨论更有价值