Liaobots 2api Cfwork — DevOps skill for Claude Code
Cloudflare Workers 原生部署 自动绕过 WAF/Cloudflare 人机验证 HAR 种子 Cookie 伪装机制 无限续杯模式 (0.1积分自动轮转) 标准 OpenAI 格式转换 原生流式响应 (Stream) CORS 完美支持 Web UI 调试面板 严格模式额度保护 多模型支持 (Gemini/GPT-4o/Claude-3.5).
How to install Liaobots 2api Cfwork
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open lza6/liaobots-2api-cfwork and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Liaobots 2api Cfwork does
Cloudflare Workers 原生部署 自动绕过 WAF/Cloudflare 人机验证 HAR 种子 Cookie 伪装机制 无限续杯模式 (0.1积分自动轮转) 标准 OpenAI 格式转换 原生流式响应 (Stream) CORS 完美支持 Web UI 调试面板 严格模式额度保护 多模型支持 (Gemini/GPT-4o/Claude-3.5).
Alternatives in DevOps
- Appwrite — Appwrite® - complete cloud infrastructure for your web, mobile and AI apps 57.5k ★
- Claudable — Claudable is an open-source web builder that leverages local CLI agents, such as Claude Code, Codex, Gemini CL 4k ★
- Chat — chat web app for teams, sass with user management and ratelimit, support chatgpt(openai & azure), claude, gemi 568 ★
README
🚀 LiaoBots-2API (Cloudflare Worker版) - Phantom Seed 幻影终极版
**项目代号**: Phantom Seed (幻影种子) **当前版本**: v5.1.0 **协议**: Apache License 2.0 **核心理念**: 降低AI开发门槛,探索Serverless架构的无限可能
[](https://deploy.workers.cloudflare.com/?url=https://github.com/lza6/liaobots-2api-cfwork) [](https://opensource.org/licenses/Apache-2.0) [](https://developer.mozilla.org/en-US/docs/Web/JavaScript) [](https://workers.cloudflare.com/)
📖 目录
| 章节 | 内容简介 |
|---|---|
| 1️⃣ | 🧐 项目简介 |
| 2️⃣ | 🌟 核心亮点 |
| 3️⃣ | 🛠️ 一键部署教程 |
| 4️⃣ | 🧬 技术原理揭秘 |
| 5️⃣ | 📂 项目结构 |
| 6️⃣ | ⚡ 优缺点分析 |
| 7️⃣ | 🗺️ 未来路线图 |
| 8️⃣ | 🤖 开发者指南 |
| 9️⃣ | ⚖️ 免责声明 |
🧐 项目简介
这是一个部署在 **Cloudflare Workers** 上的智能协议转换器,将 LiaoBots 网页版的私有接口转换为标准的 **OpenAI API** 格式,让你可以用任意支持 OpenAI 的客户端调用 GPT-4o、Claude-3.5、Gemini-Pro 等顶级模型。
**为什么叫 "Phantom Seed"(幻影种子)?** 项目利用"种子Cookie"伪装成真实用户,每次请求都像幻影一样生成新身份,实现无限续杯般的调用体验。
🌟 核心亮点
🎯 核心特性
| 特性 | 说明 | 优势 |
|---|---|---|
| 🔄 无限续杯 | 每次对话自动获取新的 0.1 积分 | 永不枯竭的免费额度 |
| 🎭 幻影身份 | 动态生成浏览器指纹和认证令牌 | 完美规避 WAF 检测 |
| 🛡️ 严格模式 | 凭证失败立即报错,保护存量账号 | 安全第一的设计理念 |
| 🌐 全协议支持 | 兼容 OpenAI API v1 完整格式 | 无缝对接各类客户端 |
💡 设计哲学
- 极简主义: 单文件架构 (
worker.js),零依赖部署 - 开源教育: 详尽注释,学习 HTTP 协议与反向代理最佳实践
- 授人以渔: 不仅提供工具,更传授技术原理与实现思路
🛠️ 一键部署教程
📋 准备工作
-  账号
- 支持 OpenAI 的客户端(推荐 NextChat)
🔑 获取种子Cookie(关键步骤)
flowchart TD
A[打开浏
Related Skills
Chat4o.Ai 2api Cfwork
基于 Cloudflare Worker 的无服务器代理 无需 Cookie/无头浏览器 Bearer Token 认证 请求头伪装技术 绕过 Vercel 人机验证 流式 API 转换 OpenAI 兼容接口 多模型支
Perfectassistant 2api Cfwork
Cloudflare Worker 单文件部署 无需 Cookie 自动会话管理 伪流式 SSE 引擎 (Pseudo-Streaming) HTTP 请求代理 + 请求头伪装 自动生成 chatId 无状态设计 Ope
Machinetranslation 2api
原生 OpenAI API 格式转换、逆向并手动模拟 Socket.IO 通信协议、高级浏览器请求伪装 (User-Agent/Referer)、内置静态 API Key (无需 Cookie)、支持原生流式响应、Doc
GPT Telegram Worker
A multi-model AI Telegram bot powered by Cloudflare Workers, supporting various APIs including OpenAI, Claude,
AI Worker Proxy
OpenAI-compatible AI proxy: Anthropic Claude, Google Gemini, GPT-5, Cloudflare AI. Free hosting, automatic fai
Claude Code Generate Images MCP
Auto generate and insert image assets during UI coding in Claude Code, using an MCP server for Azure OpenAI gp
Related Agents
Cloudflare Specialist
Owns Cloudflare platform usage end to end: Workers, Durable Objects, D1, R2, KV, Queues, Workflows, Vectorize,
Config Auditor
Security header and server configuration auditor. Use for HTTP security header analysis, CSP evaluation, CORS
Kavach Config
KAVACH infrastructure/config/ops-security specialist. Audits security headers, debug/verbose in prod, stack-tr