{"id":16962727,"url":"https://github.com/sgoudham/git-view","last_synced_at":"2025-03-22T14:30:54.497Z","repository":{"id":39783272,"uuid":"500443785","full_name":"sgoudham/git-view","owner":"sgoudham","description":"A git sub-command to view your git repository on GitHub","archived":false,"fork":false,"pushed_at":"2023-10-01T07:34:50.000Z","size":724,"stargazers_count":7,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T00:36:49.849Z","etag":null,"topics":["browser","crate","git","github","hacktoberfest","rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/git-view","language":"Rust","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/sgoudham.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"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}},"created_at":"2022-06-06T13:26:15.000Z","updated_at":"2024-05-02T16:27:33.000Z","dependencies_parsed_at":"2024-10-28T13:21:37.850Z","dependency_job_id":"7e46cee7-958b-4a8c-850d-9c818d1579e3","html_url":"https://github.com/sgoudham/git-view","commit_stats":{"total_commits":74,"total_committers":3,"mean_commits":"24.666666666666668","dds":"0.20270270270270274","last_synced_commit":"4ea6a82bb1bf5bc65177e48c3bb8431839c43398"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgoudham%2Fgit-view","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgoudham%2Fgit-view/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgoudham%2Fgit-view/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgoudham%2Fgit-view/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sgoudham","download_url":"https://codeload.github.com/sgoudham/git-view/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244217802,"owners_count":20417665,"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":["browser","crate","git","github","hacktoberfest","rust"],"created_at":"2024-10-13T23:07:41.869Z","updated_at":"2025-03-22T14:30:54.061Z","avatar_url":"https://github.com/sgoudham.png","language":"Rust","readme":"\u003ch1 align=\"center\"\u003e\n    git-view (\n    \u003ca href=\"https://github.com/sgoudham/git-view/actions/workflows/build.yml\"\u003e\u003cimg src=\"https://github.com/sgoudham/git-view/actions/workflows/build.yml/badge.svg\"\u003e\u003c/a\u003e )\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/sgoudham/git-view/stargazers\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/sgoudham/git-view?colorA=363a4f\u0026colorB=b7bdf8\u0026style=for-the-badge\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://crates.io/crates/git-view\"\u003e\u003cimg src=\"https://img.shields.io/crates/v/git-view?colorA=363a4f\u0026colorB=ee99a0\u0026style=for-the-badge\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://crates.io/crates/git-view\"\u003e\u003cimg src=\"https://img.shields.io/crates/d/git-view?colorA=363a4f\u0026colorB=eed49f\u0026style=for-the-badge\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## About\n\nAre you _**also**_ frustrated from moving your hands away from the keyboard to view your git repository on GitHub?\n\n\u003e Me too!!!\n\n`git-view` alleviates that pain by allowing you to chuck away your mouse and instead open it via the CLI!\n\n\u003e **Note**  \n\u003e You should always use `git view -h` instead of `git view --help` as the manpage/html files are **NOT** included.\n\n## Features\n\n- [x] View Branches, Commits \u0026 Issues\n- [x] Custom Remote\n- [x] Custom Directory\n\n## Installation\n\nBinaries are available [here](https://github.com/sgoudham/git-view/releases/latest).\n\n### Cargo\n\n```shell\ncargo install git-view\n```\n\n### Nix\n\n```shell\nnix run github:sgoudham/git-view\n```\n\n### Homebrew\n\n```shell\nbrew tap sgoudham/tap\nbrew install git-view\n```\n\n## Usage\n\n```shell\n$ git view\n# https://github.com/TRACKED_REMOTE_USER/REPO/tree/CURRENT_BRANCH\n\n$ git view --remote remote\n# https://github.com/PROVIDED_REMOTE_USER/REPO/tree/CURRENT_BRANCH\n\n$ git view --remote remote --branch branch\n# https://github.com/PROVIDED_REMOTE_USER/REPO/tree/PROVIDED_BRANCH\n\n$ git view --issue\n# Branch 'TICKET-123'\n# https://github.com/TRACKED_REMOTE_USER/REPO/issues/123\n\n$ git view --issue 42\n# https://github.com/TRACKED_REMOTE_USER/REPO/issues/42\n\n$ git view --commit\n# https://github.com/TRACKED_REMOTE_USER/REPO/tree/CURRENT_COMMIT\n\n$ git view --commit efa38be50ad34d\n# https://github.com/TRACKED_REMOTE_USER/REPO/tree/efa38be50ad34d\n\n$ git view --commit efa38be50ad34d --path src/lib.rs\n# https://github.com/TRACKED_REMOTE_USER/REPO/tree/efa38be50ad34d/src/lib.rs\n\n$ git view --path\n# Working Directory 'src/lib.rs'\n# https://github.com/TRACKED_REMOTE_USER/REPO/tree/CURRENT_BRANCH/src/lib.rs\n\n$ git view --path CONTRIBUTING.md\n# https://github.com/TRACKED_REMOTE_USER/REPO/tree/CURRENT_BRANCH/CONTRIBUTING.md\n\n$ git view --path CONTRIBUTING.md --branch testing\n# https://github.com/TRACKED_REMOTE_USER/REPO/tree/PROVIDED_BRANCH/CONTRIBUTING.md\n\n$ git view --print\n# prints https://github.com/TRACKED_REMOTE_USER/REPO/tree/CURRENT_BRANCH\n```\n\n## Help\n\n```shell\ngit-view 1.0.0\nGoudham Suresh \u003csgoudham@gmail.com\u003e\nA git sub-command to view your git repository on GitHub\n\nUSAGE:\n    git-view [OPTIONS]\n\nOPTIONS:\n    -r, --remote \u003cname\u003e     The remote to view on GitHub\n                            [default: default remote]\n    -b, --branch \u003cname\u003e     The branch to view on GitHub\n                            [default: current branch]\n    -i, --issue \u003cnumber\u003e    The GitHub issue number\n                            [default: number from current branch]\n    -c, --commit \u003chash\u003e     The commit to view on GitHub\n                            [default: current commit]\n    -p, --path \u003cpath\u003e       The directory/file to view on GitHub\n                            [default: current working directory]\n        --print             Print URL instead of opening on GitHub\n    -h, --help              Print help information\n    -V, --version           Print version information\n```\n\n## Contributing\n\nPlease read the [CONTRIBUTING.md](./CONTRIBUTING.md) before contributing!\n\n## License\n\n[MIT](LICENSE)\n\n## Acknowledgement\n\nThe idea for this project came about from an existing project [git-open](https://github.com/paulirish/git-open/blob/master/git-open)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgoudham%2Fgit-view","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsgoudham%2Fgit-view","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgoudham%2Fgit-view/lists"}