📡 Idea Radar 每天 8:00 / 18:00 推送 · 18:00 生成精选
reddit · SideProject · 48 分 ← 返回列表

I built a CLI that turns a browser HAR capture into a typed TypeScript client

I often end up integrating with apps that have no API docs, and I was tired of spending an afternoon in the Network tab figuring out the endpoints, which fields are optional and how auth works. So I made har2sdk as a side project. You save the Network tab as a .har and run: npx har2sdk capture.har It writes a typed client.ts with no runtime dependencies and an openapi.json (3.1). There is also a mock server (`har2sdk mock capture.har`) that serves fake data in the recorded shape, and an

五维评分

付费意愿
30
需求真实度
45
个人可落地
82
竞争空间
42
新鲜度
62

AI 分析

痛点:面对没有 API 文档的应用,开发者要花一下午在 Network 面板逆向分析端点、可选字段与鉴权方式,还要处理 HAR 里的敏感数据。

目标用户:需要对接第三方无文档/内部遗留 API 的前端与全栈开发者、集成与自动化工程师

证据:I often end up integrating with apps that have no API docs, and I was tired of spending an afternoon in the Network tab figuring out the endpoints, which fields are optional and how auth works. ... The part I spent the most time on is privacy, since HAR files contain cookies, tokens and other people's data.

变现:开源核心免费,叠加团队订阅:私有化部署、HAR 脱敏合规审计报告、CI/CD 流水线集成、企业级类型推断与多语言客户端生成

MVP:两周内做一款 VS Code 插件版:一键录 HAR → 生成 typed client 并弹出脱敏审计报告;再加一个可分享的团队规则配置(鉴权识别、字段命名规范),用 GitHub 开源版导流到付费团队版

竞品:har2sdk(同作者开源项目)、Postman、Insomnia、openapi-generator、mitmproxy

摘要:作者因常对接无 API 文档的应用、被迫在 Network 面板耗掉一下午,做了 MIT 开源的 har2sdk:把浏览器 HAR 转成带类型的 TypeScript client 和 openapi.json,支持 REST/GraphQL/JSON-RPC/tRPC,并内置 HAR 敏感值脱敏检查与 mock server。项目免费无 API Key、本地运行,帖中没有任何付费意愿原话或收入数据,需求目前仅来自作者自身痛点,尚未见他人附和。