{"id":15055445,"url":"https://github.com/zhaochunqi/git-open","last_synced_at":"2026-02-17T20:06:58.437Z","repository":{"id":246557560,"uuid":"814734218","full_name":"zhaochunqi/git-open","owner":"zhaochunqi","description":"Open your git repo in browser using one command","archived":false,"fork":false,"pushed_at":"2026-02-12T18:42:03.000Z","size":114,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-13T02:14:43.622Z","etag":null,"topics":["git","git-open","github","gitlab"],"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/zhaochunqi.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":"2024-06-13T15:37:53.000Z","updated_at":"2026-01-19T06:33:29.000Z","dependencies_parsed_at":"2025-01-19T08:23:01.290Z","dependency_job_id":"f68cf8bc-6f54-4c50-8059-82f6ba03363a","html_url":"https://github.com/zhaochunqi/git-open","commit_stats":{"total_commits":13,"total_committers":2,"mean_commits":6.5,"dds":0.07692307692307687,"last_synced_commit":"a774e6114d2973a94b0ff70eb2255a8af7180319"},"previous_names":["zhaochunqi/git-web-url"],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/zhaochunqi/git-open","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaochunqi%2Fgit-open","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaochunqi%2Fgit-open/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaochunqi%2Fgit-open/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaochunqi%2Fgit-open/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhaochunqi","download_url":"https://codeload.github.com/zhaochunqi/git-open/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaochunqi%2Fgit-open/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29556434,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T18:16:07.221Z","status":"ssl_error","status_checked_at":"2026-02-17T18:16:04.782Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["git","git-open","github","gitlab"],"created_at":"2024-09-24T21:42:12.607Z","updated_at":"2026-02-17T20:06:53.404Z","avatar_url":"https://github.com/zhaochunqi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git Open\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/zhaochunqi/git-open)](https://goreportcard.com/report/github.com/zhaochunqi/git-open) [![codecov](https://codecov.io/github.com/zhaochunqi/git-open/graph/badge.svg?token=TXC9ZOSHFT)](https://codecov.io/github.com/zhaochunqi/git-open)\n\n## 🚀 Quick Install\n\n### Recommended (macOS)\n```sh\nbrew install --cask zhaochunqi/tap/git-open\n```\n\n\n\n---\n\nA Go-based tool that allows you to open the current repository in a web browser with a single command. It's a simple yet efficient solution for quickly accessing your project's online resources.\n\n## Features\n\n* Easy Access: Open your repository in a web browser with a single command.\n* Cross-Platform: Built using Go, the tool is compatible with various operating systems.\n* Lightweight: Minimal dependencies and efficient code ensure the tool runs smoothly.\n\n## Installation Options\n\nThere are multiple ways to install the tool:\n\n### Homebrew (macOS) - Recommended\n\nThe easiest method for macOS users with automatic updates:\n\n```sh\nbrew install --cask zhaochunqi/tap/git-open\n```\n\n### GitHub Releases\n\nDownload the pre-compiled binary for your platform:\n\n```sh\n# macOS (Intel)\ncurl -L https://github.com/zhaochunqi/git-open/releases/latest/download/git-open-darwin-amd64 -o git-open\nchmod +x git-open\nsudo mv git-open /usr/local/bin/\n\n# macOS (Apple Silicon)\ncurl -L https://github.com/zhaochunqi/git-open/releases/latest/download/git-open-darwin-arm64 -o git-open\nchmod +x git-open\nsudo mv git-open /usr/local/bin/\n\n# Linux (x64)\ncurl -L https://github.com/zhaochunqi/git-open/releases/latest/download/git-open-linux-amd64 -o git-open\nchmod +x git-open\nsudo mv git-open /usr/local/bin/\n```\n\n### mise with ubi\n\nFor users who prefer mise for version management:\n\n```sh\nmise use -g ubi:zhaochunqi/git-open\n```\n\n## Usage\n\nNavigate to your project's directory and run the following command:\n\n`git-open` or `git open`\n\nThis will open your repository in the default web browser.\n\n## Testing\n\nThis project follows Go testing best practices. Here's how to run the tests:\n\n### Running Tests\n\n```bash\n# Run all tests\ngo test ./...\n\n# Run tests with coverage\ngo test -cover ./...\n\n# Run benchmark tests\ngo test -bench=. ./...\n```\n\n### Test Structure\n\nThe tests are organized as follows:\n\n- Unit tests for core functionality\n- Integration tests for git repository operations\n- Benchmark tests for performance-critical functions\n\nThe test suite uses a custom test utility package (`internal/testutil`) that provides common testing functions and fixtures.\n\n### Test Coverage\n\nWe aim to maintain high test coverage with:\n- Multiple test cases for each function\n- Edge case testing\n- Error condition testing\n- Performance benchmarking for critical paths\n\n### Contributing Tests\n\nWhen adding new features, please ensure:\n1. Add corresponding test cases\n2. Include both positive and negative test scenarios\n3. Add benchmark tests for performance-sensitive functions\n4. Use the provided test utilities from `internal/testutil`\n\n## Contributing\n\nContributions are welcome! If you have any suggestions, improvements, or bug fixes, please submit a pull request. For major changes, please open an issue first to discuss what you would like to change.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhaochunqi%2Fgit-open","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhaochunqi%2Fgit-open","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhaochunqi%2Fgit-open/lists"}