[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-80766":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":13,"stars7d":14,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":14,"compositeScore":17,"rankGlobal":9,"rankLanguage":9,"license":9,"archived":18,"fork":18,"defaultBranch":19,"hasWiki":20,"hasPages":18,"topics":21,"createdAt":9,"pushedAt":9,"updatedAt":22,"readmeContent":23,"aiSummary":24,"trendingCount":15,"starSnapshotCount":15,"syncStatus":25,"lastSyncTime":26,"discoverSource":27},80766,"UpstreamKit","Ltb2539\u002FUpstreamKit","Ltb2539","一个 Windows GUI API 中转工具，支持自定义上游接口、模型覆盖、本地配置、托盘后台运行、详细日志和 token 统计。可以将API接口中转为本地接口。",null,"Python",45,6,1,3,0,5,2.54,false,"main",true,[],"2026-06-12 02:04:06","# UpstreamKit\n\n一个 Windows GUI API 中转工具，用于配置上游模型接口、转发请求、记录日志和统计 token。\n可用于Claudecode Desktop中转\n![](png\u002FScreenShot1.png)\n\n![](png\u002FScreenShot2.png)\n\n## 使用\n\n- 输入实际请求的 URL、Key、模型ID\n- 选择 Openai or anthropic\n- 点击测试  看见200代表成功\n- 点击开始  显示本地url和端口\n- 在调用处配置url    \n- key和模型id随便填\n- 开始使用  \n\n## Windows 打包\n\n```powershell\n.\\build_exe.ps1\n```\n\n输出：\n\n```text\ndist\\UpstreamKit.exe\n```\n\n## macOS 打包\n\nmacOS 安装包需要在 Mac 上打包，Windows 不能直接生成可用的 `.app\u002F.dmg`。\n\n在 Mac 上执行：\n\n```bash\nchmod +x build_mac.sh\n.\u002Fbuild_mac.sh\n```\n\n输出：\n\n```text\ndist\u002FUpstreamKit.app\ndist\u002FUpstreamKit.dmg\n```\n\nmacOS 版本运行后，`config.json` 和 `token_stats.json` 会保存在 `UpstreamKit.app` 同级目录。\n","UpstreamKit 是一个 Windows 平台下的 GUI API 中转工具，它能够将远程 API 接口转换为本地可访问的接口。该工具支持自定义上游接口、模型覆盖以及本地配置，并且具备托盘后台运行、详细日志记录和 token 使用统计等功能。使用 Python 开发，使得其具有良好的跨平台性和易扩展性。适用于需要在本地环境中调用外部API服务的场景，比如在Claudecode Desktop中进行API请求转发时，可以通过UpstreamKit简化网络请求过程并提高安全性。",2,"2026-06-11 04:01:57","CREATED_QUERY"]