{"id":35451560,"url":"https://github.com/jigonr/claude-switch","last_synced_at":"2026-01-31T08:08:16.901Z","repository":{"id":332406979,"uuid":"1126946553","full_name":"jigonr/claude-switch","owner":"jigonr","description":"Simple API provider switcher for Claude Code CLI","archived":false,"fork":false,"pushed_at":"2026-01-06T03:39:15.000Z","size":135,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-13T19:39:21.758Z","etag":null,"topics":["anthropic","bun","claude","claude-code","cli","provider-switcher","typescript"],"latest_commit_sha":null,"homepage":"https://jigonzalez.com/claude-switch/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jigonr.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"docs/contributing.md","funding":null,"license":"LICENSE","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":"2026-01-02T21:43:31.000Z","updated_at":"2026-01-06T03:39:10.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/jigonr/claude-switch","commit_stats":null,"previous_names":["jigonr/claude-switch"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/jigonr/claude-switch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jigonr%2Fclaude-switch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jigonr%2Fclaude-switch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jigonr%2Fclaude-switch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jigonr%2Fclaude-switch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jigonr","download_url":"https://codeload.github.com/jigonr/claude-switch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jigonr%2Fclaude-switch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28934678,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T07:49:44.436Z","status":"ssl_error","status_checked_at":"2026-01-31T07:49:34.274Z","response_time":128,"last_error":"SSL_read: 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":["anthropic","bun","claude","claude-code","cli","provider-switcher","typescript"],"created_at":"2026-01-03T03:16:58.211Z","updated_at":"2026-01-31T08:08:16.894Z","avatar_url":"https://github.com/jigonr.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# claude-switch\n\nSimple API provider switcher for Claude Code CLI.\n\n[![CI](https://github.com/jigonr/claude-switch/workflows/CI/badge.svg)](https://github.com/jigonr/claude-switch/actions)\n[![codecov](https://codecov.io/gh/jigonr/claude-switch/branch/main/graph/badge.svg)](https://codecov.io/gh/jigonr/claude-switch)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n## Installation\n\n```bash\nbun add -g @jigonr/claude-switch\n# or\nnpm install -g @jigonr/claude-switch\n```\n\n## Usage\n\n```bash\nclaude-switch                # Show current provider\nclaude-switch \u003cprovider\u003e     # Switch to provider\nclaude-switch list           # List all providers\n```\n\n### Providers\n\n| Provider | Type | Description |\n|----------|------|-------------|\n| `claude-pro-max` | Subscription | Claude Pro via browser |\n| `anthropic` | API | Anthropic API |\n| `z.ai` | API | z.ai with GLM models |\n\n### Options\n\n| Option | Description |\n|--------|-------------|\n| `--local` | Don't update global config |\n| `--json` | JSON output |\n\n## Configuration\n\nFiles are stored in `~/.claude/`:\n\n```\n~/.claude/\n├── switch-config.json    # Provider configuration\n├── settings.json         # Claude Code settings (managed)\n└── credentials/          # API keys (mode 0600)\n    ├── anthropic.key\n    └── zai.key\n```\n\n### Project Override\n\nCreate `.claude-switch.json` in your project:\n\n```json\n{\"provider\": \"anthropic\"}\n```\n\n## Documentation\n\n- [Commands](https://jigonzalez.com/claude-switch/guide/commands/)\n- [Configuration](https://jigonzalez.com/claude-switch/guide/configuration/)\n- [Troubleshooting](https://jigonzalez.com/claude-switch/guide/troubleshooting/)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjigonr%2Fclaude-switch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjigonr%2Fclaude-switch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjigonr%2Fclaude-switch/lists"}