{"id":29440854,"url":"https://github.com/gh0stfrk/gitzy","last_synced_at":"2025-07-13T12:16:06.710Z","repository":{"id":303366374,"uuid":"1015234697","full_name":"gh0stfrk/gitzy","owner":"gh0stfrk","description":"gitzy is a cross-platform command-line tool for managing and switching between multiple GitHub identities","archived":false,"fork":false,"pushed_at":"2025-07-07T08:29:00.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-07T08:44:23.879Z","etag":null,"topics":["cli","golang","tool","utility"],"latest_commit_sha":null,"homepage":"https://gh0stfrk.github.io/gitzy/","language":"Go","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/gh0stfrk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2025-07-07T07:48:27.000Z","updated_at":"2025-07-07T08:26:12.000Z","dependencies_parsed_at":"2025-07-07T08:44:26.529Z","dependency_job_id":"8e1f0785-977b-48e1-a899-75c3af268bb1","html_url":"https://github.com/gh0stfrk/gitzy","commit_stats":null,"previous_names":["gh0stfrk/gitzy"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/gh0stfrk/gitzy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh0stfrk%2Fgitzy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh0stfrk%2Fgitzy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh0stfrk%2Fgitzy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh0stfrk%2Fgitzy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gh0stfrk","download_url":"https://codeload.github.com/gh0stfrk/gitzy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh0stfrk%2Fgitzy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265137053,"owners_count":23716783,"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","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":["cli","golang","tool","utility"],"created_at":"2025-07-13T12:16:01.857Z","updated_at":"2025-07-13T12:16:06.696Z","avatar_url":"https://github.com/gh0stfrk.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003ca href=\"https://github.com/gh0stfrk/gitzy\"\u003e\n    \u003cimg src=\"./docs/icon.svg\"\u003e\n\u003c/a\u003e\n\u003c/p\u003e\n\u003ch1 align=center\u003eGitzy\u003c/h1\u003e\n\u003ch2 align=\"center\"\u003eQuickly zap into a new profile ⚡\u003c/h2\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://github.com/gh0stfrk/gitzy/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/gh0stfrk/gitzy\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/gh0stfrk/gitzy/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/gh0stfrk/gitzy\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/gh0stfrk/gitzy/actions\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/gh0stfrk/gitzy/ci.yml\"\u003e\u003c/a\u003e\n\u003ca href=\"https://goreportcard.com/report/github.com/gh0stfrk/gitzy\"\u003e\u003cimg src=\"https://goreportcard.com/badge/github.com/gh0stfrk/gitzy\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## About\n\nGitzy is a cross-platform CLI tool that helps developers manage multiple GitHub identities and switch between them seamlessly. Whether you're working on personal projects, client work, or contributing to different organizations, Gitzy makes it easy to maintain separate Git configurations and credentials.\n\n### Features\n\n- 🔄 **Quick Profile Switching**: Switch between different Git identities instantly\n- 👤 **Multiple Identity Management**: Store and manage unlimited GitHub profiles\n- 🔐 **Secure Credential Storage**: Safely store GitHub tokens and credentials\n- 🖥️ **Cross-Platform**: Works on Windows, macOS, and Linux\n- ⚡ **Fast \u0026 Lightweight**: Built with Go for optimal performance\n- 🛠️ **Easy Setup**: Simple commands to add, switch, and manage profiles\n\n## Installation\n\n### Option 1: Install from GitHub Releases (Recommended)\n\n1. Go to the [Releases page](https://github.com/gh0stfrk/gitzy/releases)\n2. Download the appropriate binary for your platform:\n   - **Windows**: `gitzy-windows-amd64.zip`\n   - **Linux**: `gitzy-linux-amd64.zip`\n   - **macOS**: `gitzy-darwin-amd64.zip`\n3. Extract the archive and run the included install script:\n   - **Windows**: Run `install_windows.ps1` in PowerShell\n   - **Linux/macOS**: Run `chmod +x install_linux.sh \u0026\u0026 ./install_linux.sh`\n\n### Option 2: Install with Go\n\n```bash\ngo install github.com/gh0stfrk/gitzy@latest\n```\n\n### Option 3: Build from Source\n\n```bash\ngit clone https://github.com/gh0stfrk/gitzy.git\ncd gitzy\nmake build\n```\n\n## Quick Start\n\n1. **Add a new profile**:\n   ```bash\n   gitzy add work\n   ```\n\n2. **Switch to a profile**:\n   ```bash\n   gitzy switch work\n   ```\n\n3. **List all profiles**:\n   ```bash\n   gitzy list\n   ```\n\n4. **Remove a profile**:\n   ```bash\n   gitzy wipe work\n   ```\n\n## Usage\n\n### Adding a Profile\n\n```bash\ngitzy add \u003cprofile-name\u003e\n```\n\nThis will prompt you to enter:\n- GitHub username\n- Email address\n- Personal access token (optional)\n\n### Switching Profiles\n\n```bash\ngitzy switch \u003cprofile-name\u003e\n```\n\nThis updates your global Git configuration to use the selected profile's credentials.\n\n### Listing Profiles\n\n```bash\ngitzy list\n```\n\nShows all configured profiles with their details.\n\n### Removing Profiles\n\n```bash\ngitzy wipe \u003cprofile-name\u003e\n```\n\nPermanently removes a profile and its associated data.\n\n### Troubleshooting\n\n```bash\ngitzy doctor --docs\n```\n\nProvides diagnostic information and troubleshooting guidance.\n\n## Development\n\n### Prerequisites\n\n- Go 1.22 or later\n- Make (optional, for using Makefile commands)\n\n### Setting Up Development Environment\n\n1. **Clone the repository**:\n   ```bash\n   git clone https://github.com/gh0stfrk/gitzy.git\n   cd gitzy\n   ```\n\n2. **Install dependencies**:\n   ```bash\n   go mod download\n   ```\n\n3. **Install development tools**:\n   ```bash\n   go install honnef.co/go/tools/cmd/staticcheck@latest\n   ```\n\n4. **Run tests**:\n   ```bash\n   make test\n   # or\n   go test ./...\n   ```\n\n5. **Build the project**:\n   ```bash\n   make build\n   # or\n   go build -o bin/gitzy .\n   ```\n\n### Development Commands\n\n- `make build` - Build the binary\n- `make test` - Run all tests\n- `make vet` - Run go vet\n- `make staticcheck` - Run static analysis\n- `make release` - Build release binaries for all platforms\n\n### Project Structure\n\n```\n├── cmd/           # CLI commands and subcommands\n├── internal/      # Internal packages\n│   ├── git/       # Git profile management\n│   └── ui/        # User interface utilities\n├── docs/          # Documentation\n├── scripts/       # Installation scripts\n├── tools/         # Development tools\n└── examples/      # Usage examples\n```\n\n## Contributing\n\nWe welcome contributions! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.\n\n### Quick Contribution Guide\n\n1. Fork the repository\n2. Create a feature branch: `git checkout -b feature-name`\n3. Make your changes and add tests\n4. Run the test suite: `make test`\n5. Run linting: `make vet \u0026\u0026 make staticcheck`\n6. Commit your changes: `git commit -am 'Add feature'`\n7. Push to the branch: `git push origin feature-name`\n8. Submit a pull request\n\n## CLI Reference\n\nDetailed CLI documentation is available in [docs/cli/](docs/cli/) or visit our [documentation site](https://gh0stfrk.github.io/gitzy/).\n\n## Configuration\n\n### Storage Locations\n\n- **Windows**: `%USERPROFILE%\\.gitzy`\n- **Linux/macOS**: `~/.gitzy` (respects `XDG_CONFIG_HOME` if set)\n- **Custom**: Set `GITZY_HOME` environment variable\n\n### Security Notes\n\n- Tokens are stored unencrypted in the configuration directory\n- Follow [GitHub token best practices](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)\n- Consider using tokens with minimal required scopes\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Support\n\n- 📖 [Documentation](https://gh0stfrk.github.io/gitzy/)\n- 🐛 [Report Issues](https://github.com/gh0stfrk/gitzy/issues)\n- 💬 [Discussions](https://github.com/gh0stfrk/gitzy/discussions)\n- ⭐ Star this repo if you find it helpful!\n\n## Acknowledgments\n\n- Built with [Cobra](https://github.com/spf13/cobra) for CLI framework\n- Uses [Survey](https://github.com/AlecAivazis/survey) for interactive prompts\n- Inspired by the need for seamless Git identity management\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgh0stfrk%2Fgitzy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgh0stfrk%2Fgitzy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgh0stfrk%2Fgitzy/lists"}