deng7112/web2cli

deng7112★ 0JavaScript最后同步: 2026-08-21

在 GitHub 打开

README 摘要

Web2CLI Turn recorded browser requests into login-aware CLI tools. Web2CLI is a Chrome extension + CLI template that helps you — and your AI coding agent (e.g. DeepSeek Harness) — turn a website's authenticated API calls into a reusable command-line tool, without manually copying cookies . 中文说明见 README.zh-CN.md。 Why Building a quick CLI on top of an internal web service usually means: 1. Open DevTools, copy a Cookie header by hand (and it silently expires later). 2. Copy each curl , guess which parameters matter. 3. Paste everything into a script and pray the auth keeps working. Web2CLI automates the painful parts: - Cookie sync — one click exports the current site's cookies ( including httpOnly ) to a fixed local file. Generated CLIs read that file at runtime , so when the login refreshes, your CLI keeps working with zero edits. - Request recording — record real XHR/Fetch traffic (including POST bodies and response bodies) via the Chrome DevTools Protocol, then hand a clean curl /Markdown bundle to an AI agent that writes the CLI for you. How it fits DeepSeek Harness (and other agents) DeepSeek Harness ( dsh ) is a terminal agent harness ("everything is a plugin"). It cannot drive…

在 GitHub 查看完整 README →
终端/TUIai-agentchrome-extensioncli-generatordeepseek-harnessdsh-pluginagent

分类