{"id":23508618,"url":"https://github.com/bitbonsai/gitlink-cli","last_synced_at":"2025-07-22T13:34:03.030Z","repository":{"id":66622540,"uuid":"125030007","full_name":"bitbonsai/gitlink-cli","owner":"bitbonsai","description":"Small CLI tool to open the git repo page (github, gitlab, bitbucket) in default browser, or print its URL (in case you're in a remote terminal). Can also show a specific commit page if partiaal sha1 is provided","archived":false,"fork":false,"pushed_at":"2022-05-26T03:44:19.000Z","size":29,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-08T09:47:42.209Z","etag":null,"topics":["cli","git","nodejs","utils"],"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/bitbonsai.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}},"created_at":"2018-03-13T09:59:37.000Z","updated_at":"2024-09-18T18:27:01.000Z","dependencies_parsed_at":"2023-07-16T18:15:45.711Z","dependency_job_id":null,"html_url":"https://github.com/bitbonsai/gitlink-cli","commit_stats":null,"previous_names":["bitbonsai/gitremote"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bitbonsai/gitlink-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbonsai%2Fgitlink-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbonsai%2Fgitlink-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbonsai%2Fgitlink-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbonsai%2Fgitlink-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitbonsai","download_url":"https://codeload.github.com/bitbonsai/gitlink-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbonsai%2Fgitlink-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266506175,"owners_count":23940019,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cli","git","nodejs","utils"],"created_at":"2024-12-25T11:24:20.550Z","updated_at":"2025-07-22T13:34:02.958Z","avatar_url":"https://github.com/bitbonsai.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gitlink-cli\n\nThis is a small command line utility to open the current remote repository in a browser from the command line.\n\nThe idea is that you're in terminal, working on a repo, then just type `gitlink` and your default browser magically opens the gitlab/github/bitbucket... url.\n\nIf you're not on a git repo, there's a nice and color error message.\n\nTested on mac only, created in a few minutes in node after banging my head on the table trying to make it work on bash.\n\n## Installation\n\n### Package managers (`yarn`, `npm`)\n`yarn global add gitlink-cli`\n\n`npm -g install gitlink-cli`\n\n### Cloning\n1. Clone this repo somewhere in your computer: `git clone https://github.com/bitbonsai/gitlink-cli.git`\n2. `yarn link` in the directory is the fastest/easiest way to install (and be able to customize).\n3. `npm link` also works, if you're not into yarn.\n\n## Usage\nJust go to a repo and type `gitlink` to open a browser window with the repo. If you're on an environment without a browser or pass `--print`, it will just print the URL, so you can command click (for my friends who work from ssh)\n\nOr add part of a `sha1` to it and open a single commit page: `gitlink b844b99` (thanks for the idea, @ricardobeat)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitbonsai%2Fgitlink-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitbonsai%2Fgitlink-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitbonsai%2Fgitlink-cli/lists"}