{"id":50951446,"url":"https://github.com/k186/claunch","last_synced_at":"2026-06-18T02:02:11.260Z","repository":{"id":354556383,"uuid":"1223340338","full_name":"k186/claunch","owner":"k186","description":"Claude Code launcher — run a different AI model in every terminal window simultaneously, without conflicts.","archived":false,"fork":false,"pushed_at":"2026-04-29T04:06:46.000Z","size":131,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-29T04:33:35.139Z","etag":null,"topics":["ai","ai-provider","anthropic","claude","claude-code","cli","deepseek","developer-tools","fzf","launcher","llm","minimax","model-switcher","shell","terminal","zsh"],"latest_commit_sha":null,"homepage":"https://github.com/k186/claunch","language":"Shell","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/k186.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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-04-28T08:23:51.000Z","updated_at":"2026-04-29T04:06:50.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/k186/claunch","commit_stats":null,"previous_names":["k186/claunch"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/k186/claunch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k186%2Fclaunch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k186%2Fclaunch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k186%2Fclaunch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k186%2Fclaunch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k186","download_url":"https://codeload.github.com/k186/claunch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k186%2Fclaunch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34472826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ai","ai-provider","anthropic","claude","claude-code","cli","deepseek","developer-tools","fzf","launcher","llm","minimax","model-switcher","shell","terminal","zsh"],"created_at":"2026-06-18T02:02:09.726Z","updated_at":"2026-06-18T02:02:11.254Z","avatar_url":"https://github.com/k186.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# claunch\n\n\u003cimg src=\"logo/claunch-logo.png\" alt=\"claunch\" width=\"600\"/\u003e\n\nClaude Code smart launcher with fzf model switcher.\n\n**Run a different AI model in every terminal window — simultaneously, without conflicts.**  \nOne window on Claude Opus, another on MiniMax, another on DeepSeek. Each session is fully isolated.\n\n[中文文档](README.zh.md)\n\n---\n\n## Why claunch\n\nMost setups force you to pick one model globally. claunch lets you open multiple terminal windows, each running a different provider or model at the same time — no config files to swap, no environment leaking between sessions.\n\n**How it works:** claunch injects model credentials as process-level environment variables (`env KEY=VAL claude ...`). Each terminal process has its own environment, so switching models in one window never affects another. Switch models per-window, per-task, per-context.\n\n## Features\n\n- **Per-window model isolation** — each terminal session runs its own model, completely independent\n- `ca --new` — pick any model via fzf before launching\n- `ca` — launch with the last-used model in this window\n- `ca --list` — browse models interactively: **Enter** launch, **e** edit, **Del** delete\n- Model management: add, remove, edit models without touching JSON files\n- Background version check — notifies when an upgrade is available\n- Bilingual UI: English and Chinese (`ca --lang zh`)\n- All `claude` flags pass through (e.g. `ca --continue`, `ca --resume \u003cid\u003e`)\n- Restores terminal state (p10k, Starship, Pure, and other prompt frameworks) cleanly after exit\n\n## Requirements\n\n- [Claude Code](https://claude.ai/code) (`claude` CLI)\n- [Homebrew](https://brew.sh/) (for auto-installing `jq` and `fzf`)\n- zsh\n\n## Install\n\n```zsh\nbash \u003c(curl -fsSL https://raw.githubusercontent.com/k186/claunch/main/install.sh)\nsource ~/.zshrc\n```\n\n`jq` and `fzf` are installed automatically via Homebrew if missing.\n\nOr clone and install locally:\n\n```zsh\ngit clone https://github.com/k186/claunch ~/claunch\nzsh ~/claunch/install.sh\nsource ~/.zshrc\n```\n\n## Usage\n\n```zsh\nca                      # launch with current model\nca --new                # pick model with fzf, then launch\nca --continue           # resume last session\nca --new --resume \u003cid\u003e  # pick model + resume session\n```\n\nAll `claude` flags pass through verbatim after `ca`.\n\n## Model management\n\n```zsh\nca --list               # browse models (Enter=launch, e=edit, Del=delete)\nca --add                # add a new model (interactive wizard)\nca --remove             # remove a model (fzf picker)\nca --current            # show which model is active in this window\n```\n\n`ca --list` opens an interactive fzf panel with a live preview of each model's configuration. Press **Enter** to launch, **e** to edit, **Del** to delete (with confirmation).\n\n## Other commands\n\n```zsh\nca --update            # upgrade claunch (models.json is never modified)\nca --lang [en|zh]       # show or set the UI language\nca --help               # show all commands\n```\n\nclaunch checks for updates in the background on every launch and prints a notice if a newer version is available.\n\n## Configuration\n\n`~/.claude/models.json` is created from `models.example.json` on first install. You can also manage models interactively with `ca --add`, `ca --remove`, and `ca --list`.\n\n```json\n{\n  \"name\": \"claunch\",\n  \"lang\": \"en\",\n  \"models\": [\n    {\n      \"name\": \"Claude Opus 4.7\",\n      \"model\": \"claude-opus-4-7\",\n      \"env\": {}\n    },\n    {\n      \"name\": \"MiniMax-M2.7\",\n      \"model\": \"\",\n      \"env\": {\n        \"ANTHROPIC_BASE_URL\": \"https://api.minimaxi.com/anthropic\",\n        \"ANTHROPIC_AUTH_TOKEN\": \"your-api-key\",\n        \"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC\": \"1\",\n        \"ANTHROPIC_MODEL\": \"MiniMax-M2.7\"\n      }\n    },\n    {\n      \"name\": \"DeepSeek V4 Pro (1M)\",\n      \"model\": \"\",\n      \"env\": {\n        \"ANTHROPIC_BASE_URL\": \"https://api.deepseek.com/anthropic\",\n        \"ANTHROPIC_AUTH_TOKEN\": \"your-api-key\",\n        \"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC\": \"1\",\n        \"CLAUDE_MAX_CONTEXT_WINDOW\": \"1000000\",\n        \"ANTHROPIC_MODEL\": \"deepseek-v4-pro[1m]\"\n      }\n    }\n  ]\n}\n```\n\n**Field reference:**\n\n| Field | Description |\n|-------|-------------|\n| `name` | Display name shown in fzf |\n| `model` | Passed as `--model` to claude. Leave `\"\"` to use the provider's default via env vars |\n| `env` | Environment variables injected per-session (API keys, base URLs, etc.) |\n\n**For third-party providers** (MiniMax, DeepSeek, etc.), set:\n- `ANTHROPIC_BASE_URL` — provider's Anthropic-compatible API endpoint\n- `ANTHROPIC_AUTH_TOKEN` — your API key\n- `ANTHROPIC_MODEL` — model name as the provider expects it\n- `CLAUDE_MAX_CONTEXT_WINDOW` — optional, e.g. `\"1000000\"` for 1M context\n- `CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC` — set to `\"1\"` for third-party providers\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk186%2Fclaunch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk186%2Fclaunch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk186%2Fclaunch/lists"}