{"id":39743877,"url":"https://github.com/1837620622/winsurf-switch","last_synced_at":"2026-01-18T11:18:15.654Z","repository":{"id":328643394,"uuid":"1116222391","full_name":"1837620622/winsurf-switch","owner":"1837620622","description":"🚀 Windsurf 账号切换器-突破 Claude 4.5 模型 30 分钟等待限制的终极解决方案！  通过多账号轮询切换，实现 Claude 4.5 无限制使用。支持 Windows 和 macOS 双平台","archived":false,"fork":false,"pushed_at":"2025-12-23T03:20:48.000Z","size":40,"stargazers_count":25,"open_issues_count":1,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-24T16:52:51.928Z","etag":null,"topics":["python","windsurf"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/1837620622.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-14T12:54:30.000Z","updated_at":"2025-12-24T09:36:00.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/1837620622/winsurf-switch","commit_stats":null,"previous_names":["1837620622/winsurf-switch"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/1837620622/winsurf-switch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1837620622%2Fwinsurf-switch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1837620622%2Fwinsurf-switch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1837620622%2Fwinsurf-switch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1837620622%2Fwinsurf-switch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1837620622","download_url":"https://codeload.github.com/1837620622/winsurf-switch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1837620622%2Fwinsurf-switch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28535161,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T10:13:46.436Z","status":"ssl_error","status_checked_at":"2026-01-18T10:13:11.045Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","windsurf"],"created_at":"2026-01-18T11:18:10.603Z","updated_at":"2026-01-18T11:18:15.647Z","avatar_url":"https://github.com/1837620622.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 Windsurf 账号切换器\n\n**突破 Claude 4.5 模型 30 分钟等待限制的终极解决方案！**\n\n通过多账号轮询切换，实现 Claude 4.5 无限制使用。支持 **Windows** 和 **macOS** 双平台。\n\n\u003e ⭐ **如果觉得有用，请给个 Star 支持一下！**\n\n---\n\n## 🔗 关联项目\n\n| 项目 | 说明 | 链接 |\n|------|------|------|\n| **Windsurf-Switcher-Free** | VS Code/Windsurf 插件版本，无需单独运行程序 | [GitHub](https://github.com/1837620622/Windsurf-Switcher-Free) |\n\n\u003e 💡 **推荐**：如果你更喜欢在 Windsurf 内直接切换账号，可以使用插件版本！\n\n---\n\n## � 下载安装\n\n### 方式一：直接下载可执行文件（推荐）\n\n前往 [Releases 页面](https://github.com/1837620622/winsurf-switch/releases) 下载：\n\n| 系统 | 下载文件 |\n|------|---------|\n| Windows | `Windsurf账号切换器_Windows.exe` |\n| macOS | `Windsurf账号切换器_Mac.dmg` |\n\n### 方式二：从源码运行\n\n```bash\n# 克隆仓库\ngit clone https://github.com/1837620622/winsurf-switch.git\ncd winsurf-switch\n\n# macOS 运行\npython3 windsurf_mac.py\n\n# Windows 运行\npython windsurf_win.py\n```\n\n---\n\n## ✨ 功能特性\n\n- 🔄 **多账号快速切换** - 一键切换已保存的 Windsurf 账号\n- 💾 **账号配置备份** - 完整备份登录状态，无需重复登录\n- 🖥️ **双平台支持** - Windows 和 macOS 原生适配\n- 🎯 **图形化界面** - 简洁直观的 GUI 操作\n- 🔒 **本地存储** - 账号数据保存在本地，安全可靠\n\n---\n\n## 📋 使用场景\n\n当使用 Windsurf 的 Claude 4.5 模型时，官方限制每 30 分钟只能发送一定数量的请求。通过本工具，你可以：\n\n1. 注册多个 Windsurf 账号\n2. 将每个账号的登录状态备份到本工具\n3. 当一个账号达到限制时，切换到另一个账号继续使用\n4. 实现 **Claude 4.5 无等待轮询使用**\n\n---\n\n## 🛠️ 安装与使用\n\n### 环境要求\n\n- **Python 3.6+**（Windows 和 macOS 均需安装）\n- **Tkinter**（Python 自带，无需额外安装）\n\n### macOS 使用步骤\n\n#### 第一步：备份账号\n\n1. 在 Windsurf 中 **手动登录** 第一个账号\n2. **完全关闭 Windsurf**（确保进程已退出）\n3. 运行账号切换器：\n   ```bash\n   python3 windsurf_mac.py\n   ```\n4. 点击 **「保存当前账号」** 按钮\n5. 输入配置名称（建议使用邮箱前缀便于识别）\n6. 重复以上步骤，备份所有账号\n\n#### 第二步：切换账号\n\n1. **完全关闭 Windsurf**\n2. 运行账号切换器\n3. 在列表中选择目标账号\n4. 点击 **「切换账号」** 按钮\n5. 等待提示切换成功\n6. 重新启动 Windsurf 即可使用新账号\n\n### Windows 使用步骤\n\n#### 第一步：备份账号\n\n1. 在 Windsurf 中 **手动登录** 第一个账号\n2. **完全关闭 Windsurf**（检查任务管理器确保进程已退出）\n3. 运行账号切换器：\n   ```cmd\n   python windsurf_win.py\n   ```\n4. 点击 **「保存当前账号」** 按钮\n5. 输入配置名称（建议使用邮箱前缀便于识别）\n6. 重复以上步骤，备份所有账号\n\n#### 第二步：切换账号\n\n1. **完全关闭 Windsurf**（确保任务管理器中无 Windsurf.exe 进程）\n2. 运行账号切换器\n3. 在列表中选择目标账号\n4. 点击 **「切换账号」** 按钮\n5. 等待提示切换成功\n6. 重新启动 Windsurf 即可使用新账号\n\n---\n\n## ⚠️ 重要注意事项\n\n### 必须手动登录\n\n本工具 **不提供自动登录功能**，你需要：\n\n1. 首先在 Windsurf 中手动完成登录\n2. 登录成功后关闭 Windsurf\n3. 使用本工具备份已登录的账号状态\n\n### 必须关闭 Windsurf\n\n在执行 **保存** 或 **切换** 操作前，必须完全关闭 Windsurf：\n\n- **macOS**: 使用 `Cmd + Q` 退出，或在程序中点击强制关闭\n- **Windows**: 确保任务管理器中没有 `Windsurf.exe` 进程\n\n如果 Windsurf 正在运行，工具会提示是否强制关闭。\n\n### 账号数据安全\n\n- 账号配置保存在 `windsurf_profiles/` 目录中\n- 该目录已在 `.gitignore` 中排除，不会被上传到 Git\n- 请妥善保管此目录，切勿泄露\n\n---\n\n## 📁 项目结构\n\n```\nwindsurf-switch/\n├── windsurf_mac.py      # macOS 版本主程序\n├── windsurf_win.py      # Windows 版本主程序\n├── windsurf_profiles/   # 账号配置存储目录（自动创建）\n├── README.md            # 说明文档\n└── .gitignore           # Git 忽略配置\n```\n\n---\n\n## 🔧 技术原理\n\n本工具通过备份和还原以下 Windsurf 数据实现账号切换：\n\n| 数据类型 | macOS 路径 | Windows 路径 |\n|---------|-----------|-------------|\n| 认证状态 | `~/Library/Application Support/Windsurf/User/globalStorage/` | `%APPDATA%\\Windsurf\\User\\globalStorage\\` |\n| Session | `~/Library/Application Support/Windsurf/Session Storage/` | `%APPDATA%\\Windsurf\\Session Storage\\` |\n| Cookies | `~/Library/Application Support/Windsurf/Cookies` | `%APPDATA%\\Windsurf\\Network\\` |\n| Codeium | `~/.codeium/windsurf/` | `%USERPROFILE%\\.codeium\\windsurf\\` |\n\n---\n\n## 🤝 轮询使用建议\n\n为了高效使用 Claude 4.5 模型，建议：\n\n1. **准备 2-3 个账号** - 基本满足连续使用需求\n2. **及时切换** - 当提示达到限制时立即切换\n3. **合理规划** - 重要任务优先，避免频繁切换\n4. **记录状态** - 可在配置名称中标注账号用途\n\n---\n\n## 📞 联系作者\n\n- **微信**: 1837620622（传康kk）\n- **邮箱**: 2040168455@qq.com\n- **咸鱼 / B站**: 万能程序员\n\n---\n\n## 📄 免责声明\n\n本工具仅供学习和个人使用，请遵守 Windsurf 的服务条款。作者不对任何滥用行为负责。\n\n---\n\n## ⭐ Star 支持\n\n如果这个工具帮助到了你，欢迎给个 Star ⭐ 支持一下！\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1837620622%2Fwinsurf-switch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1837620622%2Fwinsurf-switch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1837620622%2Fwinsurf-switch/lists"}