{"id":13447255,"url":"https://github.com/sindresorhus/gh-home","last_synced_at":"2025-04-07T19:13:29.692Z","repository":{"id":48978819,"uuid":"49517380","full_name":"sindresorhus/gh-home","owner":"sindresorhus","description":"Open the GitHub page of the given or current directory repo","archived":false,"fork":false,"pushed_at":"2024-07-21T11:57:59.000Z","size":19,"stargazers_count":191,"open_issues_count":0,"forks_count":9,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-03-31T18:21:50.552Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/sindresorhus.png","metadata":{"funding":{"github":"sindresorhus","open_collective":"sindresorhus","buy_me_a_coffee":"sindresorhus","custom":"https://sindresorhus.com/donate"},"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}},"created_at":"2016-01-12T17:36:33.000Z","updated_at":"2025-01-07T20:11:18.000Z","dependencies_parsed_at":"2024-11-06T00:01:54.898Z","dependency_job_id":"13fc5966-d3f1-475f-8f3c-a55561802d99","html_url":"https://github.com/sindresorhus/gh-home","commit_stats":{"total_commits":28,"total_committers":3,"mean_commits":9.333333333333334,"dds":0.1428571428571429,"last_synced_commit":"b8e25204d565233e0fd4f95e7776b1680e02e526"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fgh-home","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fgh-home/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fgh-home/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fgh-home/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sindresorhus","download_url":"https://codeload.github.com/sindresorhus/gh-home/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247338609,"owners_count":20922989,"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":[],"created_at":"2024-07-31T05:01:12.154Z","updated_at":"2025-04-07T19:13:29.010Z","avatar_url":"https://github.com/sindresorhus.png","language":"JavaScript","funding_links":["https://github.com/sponsors/sindresorhus","https://opencollective.com/sindresorhus","https://buymeacoffee.com/sindresorhus","https://sindresorhus.com/donate"],"categories":["Packages","JavaScript","包","目录","Command-line apps","Uncategorized"],"sub_categories":["Command-line apps","Other","命令行程序","命令行应用","Uncategorized"],"readme":"# gh-home\n\n\u003e Open the GitHub page of the given or current directory repo\n\nIt will attempt to open the upstream repo if there is one or the forked repo.\n\n## Install\n\n```sh\nnpm install --global gh-home\n```\n\n## Usage\n\n```\n$ gh-home --help\n\n  Usage\n    $ gh-home [repo | user/repo]\n\n  Options\n\t  --prs -p\t   Open the pull requests of a GitHub repo\n\t  --issues -i  Open the issues of a GitHub repo\n\n  Examples\n    $ gh-home\n    $ gh-home myrepo\n    $ gh-home avajs/ava\n    $ gh-home --issues\n    $ gh-home --prs\n```\n\n## Tips\n\nAdd `alias gh=gh-home` to your `.zshrc`/`.bashrc`, so that you can run it with `$ gh` instead.\n\nYou can also use the official [GitHub CLI](https://github.com/cli/cli) instead:\n\n```\n$ gh alias set home \"repo view --web\"\n$ gh home\n```\n\n## Related\n\n- [npm-home](https://github.com/sindresorhus/npm-home) - Open the npm page of a package\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Fgh-home","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsindresorhus%2Fgh-home","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Fgh-home/lists"}