{"id":31679235,"url":"https://github.com/ipfans/cc-quick-profile","last_synced_at":"2025-10-08T06:47:15.558Z","repository":{"id":307059592,"uuid":"1028136031","full_name":"ipfans/cc-quick-profile","owner":"ipfans","description":"A cross-platform system tray GUI application that allows you to quickly switch between Claude Code profiles.","archived":false,"fork":false,"pushed_at":"2025-07-29T07:34:50.000Z","size":29,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-29T08:48:20.747Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/ipfans.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}},"created_at":"2025-07-29T05:01:05.000Z","updated_at":"2025-07-29T07:40:07.000Z","dependencies_parsed_at":"2025-07-29T08:48:23.148Z","dependency_job_id":"dd16ffee-329c-485c-ac1c-11ece8dddbf6","html_url":"https://github.com/ipfans/cc-quick-profile","commit_stats":null,"previous_names":["ipfans/cc-quick-profile"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ipfans/cc-quick-profile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfans%2Fcc-quick-profile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfans%2Fcc-quick-profile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfans%2Fcc-quick-profile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfans%2Fcc-quick-profile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ipfans","download_url":"https://codeload.github.com/ipfans/cc-quick-profile/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfans%2Fcc-quick-profile/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278903010,"owners_count":26065786,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"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":[],"created_at":"2025-10-08T06:47:11.800Z","updated_at":"2025-10-08T06:47:15.549Z","avatar_url":"https://github.com/ipfans.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cc-quick-profile\n\nA cross-platform system tray GUI application that allows you to quickly switch between Claude Code profiles. Easily manage multiple API configurations and switch between them with a single click.\n\n**You need to manually restart Claude Code for the new profile to take effect.**\n\n## Features\n\n- 🔄 **Quick Profile Switching**: Switch Claude Code profiles instantly from system tray\n- 🌐 **Cross-Platform**: Full support for Windows, macOS, and Linux\n- ⚡ **Minimal Resource Usage**: Lightweight system tray application\n- 🔧 **Easy Management**: Add, activate, and manage profiles through intuitive UI\n- 🔐 **Secure Storage**: Profile configurations stored locally and securely\n- 🎯 **Smart Sync**: Automatic synchronization with Claude Code settings\n- ✨ **Modern UI**: Clean interface built with Fyne framework\n\n## Supported Platforms\n\n- ✅ Windows (x64, ARM64)\n- ✅ macOS (Intel, Apple Silicon)\n- ✅ Linux (x64, ARM64)\n\n## Requirements\n\n- Go 1.24.5 or later\n- [Task](https://taskfile.dev) for development (optional)\n\n## Installation\n\n### From Source\n\n```bash\ngo install github.com/ipfans/cc-quick-profile@latest\n```\n\n### From Releases\n\nDownload pre-built binaries from the [releases page](https://github.com/ipfans/cc-quick-profile/releases).\n\n## Quick Start\n\n1. **Launch the application** - The system tray icon will appear\n2. **Add your first profile** - Right-click the tray icon and select \"添加新配置\"\n3. **Fill in the details**:\n   - **Profile Name**: A friendly name for your configuration\n   - **API URL**: Your Claude API endpoint\n   - **API Key**: Your authentication token\n4. **Activate the profile** - Click on the profile name in the tray menu\n5. **Restart Claude Code** - You need to manually restart Claude Code for the new profile to take effect\n6. **Start using Claude Code** with your selected profile!\n\n## Configuration\n\nThe application manages two types of settings:\n\n### Application Settings\n\n- **Windows**: `%APPDATA%\\cc-quick-profile\\settings.json`\n- **macOS/Linux**: `$HOME/.config/cc-quick-profile/settings.json`\n\n### Claude Code Integration\n\n- **All platforms**: `$HOME/.claude/settings.json` (managed automatically)\n- Sets `ANTHROPIC_AUTH_TOKEN` and `ANTHROPIC_BASE_URL` environment variables\n\n## Development\n\nThis project uses [Task](https://taskfile.dev) for build automation.\n\n### Common Commands\n\n```bash\n# Show available tasks\ntask\n\n# Build and run\ntask run\n\n# Build for current platform\ntask build\n\n# Build for all platforms\ntask build:all\n\n# Run tests and checks\ntask check\n```\n\n### Project Structure\n\n```\n├── main.go              # Application entry point and system tray logic\n├── assets/              # Embedded resources (icons, templates)\n├── claude/              # Claude Code settings management\n├── config/              # Application configuration management\n├── models/              # Data structures (Profile, Settings)\n├── ui/                  # User interface components (modal dialogs)\n├── Taskfile.yml         # Build automation tasks\n└── go.mod              # Go module dependencies\n```\n\n## How It Works\n\n1. **Profile Storage**: Your profiles are stored locally in a JSON configuration file\n2. **System Tray Integration**: The application runs in the background with a system tray icon\n3. **Claude Integration**: When you activate a profile, the app updates Claude Code's settings automatically (requires Claude Code restart to take effect)\n4. **Cross-Platform**: Built with Fyne, ensuring consistent behavior across all supported platforms\n\n## Contributing\n\n1. Fork the repository\n2. Create a feature branch (`git checkout -b feature/amazing-feature`)\n3. Make your changes\n4. Run `task check` to ensure code quality\n5. Commit your changes (`git commit -am 'Add amazing feature'`)\n6. Push to the branch (`git push origin feature/amazing-feature`)\n7. Open a Pull Request\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipfans%2Fcc-quick-profile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fipfans%2Fcc-quick-profile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipfans%2Fcc-quick-profile/lists"}