{"id":15285891,"url":"https://github.com/oren0e/gitopen","last_synced_at":"2025-04-13T02:39:55.818Z","repository":{"id":44225110,"uuid":"422522724","full_name":"oren0e/gitopen","owner":"oren0e","description":"A command line utility to open git repository page in the browser from the repository location in terminal","archived":false,"fork":false,"pushed_at":"2024-03-29T20:02:17.000Z","size":50,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T02:39:02.092Z","etag":null,"topics":["bitbucket","command-line-tool","git","github","gitlab","rust","termial"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oren0e.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}},"created_at":"2021-10-29T09:50:14.000Z","updated_at":"2024-11-26T02:06:39.000Z","dependencies_parsed_at":"2022-09-06T21:40:38.236Z","dependency_job_id":null,"html_url":"https://github.com/oren0e/gitopen","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oren0e%2Fgitopen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oren0e%2Fgitopen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oren0e%2Fgitopen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oren0e%2Fgitopen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oren0e","download_url":"https://codeload.github.com/oren0e/gitopen/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248657853,"owners_count":21140843,"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":["bitbucket","command-line-tool","git","github","gitlab","rust","termial"],"created_at":"2024-09-30T15:08:13.477Z","updated_at":"2025-04-13T02:39:55.795Z","avatar_url":"https://github.com/oren0e.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"![example workflow name](https://github.com/oren0e/gitopen/workflows/CI/badge.svg)\n\n# Overview\n\nA command line utility to open git repository page in the browser from the repository location in terminal.  \nCurrently tested only on mac (prior to M1 chip).\n\n# Installation\n\nNote: You have to have rust installed with cargo to be able to install this utility.\n\n### From Github (this repository)\n\n1. Clone the repo\n2. Run `make install` from the repo's directory\n\n### From crates.io with Cargo\n\n1. Run `cargo install gitopen`  \n   (From [The Book](https://doc.rust-lang.org/book/ch14-04-installing-binaries.html): \"All binaries installed with `cargo install` are stored in the installation root’s bin folder. If you installed Rust using rustup.rs and don’t have any custom configurations, this directory will be `$HOME/.cargo/bin`. Ensure that directory is in your `$PATH` to be able to run programs you’ve installed with `cargo install`.\")\n\n# Usage\n\nBasic usages:\n\n- When in git repository in terminal, run `gitopen`.\n- After you've opened a branch and you are ready to push and open a PR, run `gitopen -p`. This will push the changes to the current branch and open the PR in the browser. This can be done at any stage during the work on the PR, not just when you're making the first push.\n- You can open a specific commit. Use `gitopen -c COMMIT` where COMMIT is the commit SHA.\n- You can open a specific line number of a file. Use `gitopen -l \u003cPATH TO FILE\u003e:\u003cLINE NUMBER\u003e`(note that you **have** to use the `:` separator between the file path and the line number). Example:\n\n```\n\u003e gitopen -l /src/main.rs:10\n```\n\n- If you've added a remote (other than `origin` which is the default) e.g. for a forked repository so the remote is the original repository URL, you can use gitopen to open that remote by specifying its name, for example:\n\n```\n\u003e gitopen -r upstream\n```\n\nNote that `gitopen -r origin` is the same as `gitopen`.\n\nFor help, use `gitopen --help`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foren0e%2Fgitopen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foren0e%2Fgitopen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foren0e%2Fgitopen/lists"}