{"id":29195819,"url":"https://github.com/md-command-line/gh_reveal","last_synced_at":"2025-07-02T05:06:01.133Z","repository":{"id":45343914,"uuid":"121752716","full_name":"md-command-line/gh_reveal","owner":"md-command-line","description":"Do not open browsers; let terminal show (default all) or (specific) remote in browser. From your current git project.","archived":false,"fork":false,"pushed_at":"2024-06-22T18:57:44.000Z","size":56,"stargazers_count":6,"open_issues_count":4,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-30T12:12:27.144Z","etag":null,"topics":["bash","git","github","gitlab","remote"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/md-command-line.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-16T13:16:48.000Z","updated_at":"2024-06-22T18:53:50.000Z","dependencies_parsed_at":"2022-09-02T00:01:21.041Z","dependency_job_id":null,"html_url":"https://github.com/md-command-line/gh_reveal","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/md-command-line/gh_reveal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/md-command-line%2Fgh_reveal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/md-command-line%2Fgh_reveal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/md-command-line%2Fgh_reveal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/md-command-line%2Fgh_reveal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/md-command-line","download_url":"https://codeload.github.com/md-command-line/gh_reveal/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/md-command-line%2Fgh_reveal/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263077627,"owners_count":23410167,"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":["bash","git","github","gitlab","remote"],"created_at":"2025-07-02T05:06:00.290Z","updated_at":"2025-07-02T05:06:01.077Z","avatar_url":"https://github.com/md-command-line.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# reveal_brew\n[![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors)\nin terminal, quickly open the git project in default browser.\n\n## Install with Homebrew (macintosh computers):\n```\nbrew tap md-command-line/taps \u0026\u0026\nbrew install reveal;\n```\n\n### To see additional taps checkout:\n- https://github.com/md-command-line/homebrew-taps\n- https://github.com/MenkeTechnologies/homebrew-taps\n\n## Implementation\n\n`reveal`\n\n\u003cb\u003ewant to reveal all of your projects in a given directory?\u003c/b\u003e\u003cbr/\u003e\n`for d in ./*/ ; do (cd \"$d\" \u0026\u0026 echo \"$d\" \u0026\u0026 reveal); done`\u003cbr/\u003e\n\n\u003cb\u003eor as with my environment  maybe all of your projects are in a folder that is subdivided by category folders.\u003c/b\u003e\u003cbr/\u003e\n`for d in ./*/ ; do (cd \"$d\" \u0026\u0026 echo \"$d\" \u0026\u0026  for p in ./*/ ; do (cd \"$p\" \u0026\u0026 echo \"$p\" \u0026\u0026 reveal); done); done`\n\n![reveal gif](https://github.com/MichaelDimmitt/assets_used_by_other_repos/blob/master/assets/how_reveal_works_my_environment.gif)\n\n## Additional Examples\nReveal takes a \u003cb\u003esingle command line argument\u003c/b\u003e.\n\u003cbr\u003eThis argument is the \u003cb\u003eremote\u003c/b\u003e you would like to open for the current directory git project.\n\u003cbr\u003eIf no \u003cb\u003eremote\u003c/b\u003e is specified it will reveal all remotes on the project in the browser.\n\u003cbr\u003eFor most users this is just the one \u003cb\u003eremote\u003c/b\u003e either \u003cb\u003egitlab\u003c/b\u003e or github (\u003cb\u003eorigin\u003c/b\u003e).\n\n1) `reveal origin`\n2) `reveal gitlab`\n3) `reveal \u003cyour remote name here\u003e`\n\nNot sure what \u003cb\u003eremote\u003c/b\u003e means? (context .git)\n\u003cbr\u003ecd into your git project and type `git remote -v`\n\n\n## How does it work?\nthrough the use of command:\n```\ngit remote -v\n```\ngather's all \u003cb\u003eremotes\u003c/b\u003e for project\n\u003cbr\u003eand proceeds to  filter the output into url's\n\u003cbr\u003epiping each as a unique url opens all the stuff.\n\n## Install for Zinit\n\u003e `~/.zshrc`\n```sh\nsource \"$HOME/.zinit/bin/zinit.zsh\"\nzinit ice lucid nocompile\nzinit load md-command-line/gh_reveal\n```\n\n## Install as oh-my-zsh plugin\n```bash\ngit clone https://github.com/md-command-line/gh_reveal.git ~/.oh-my-zsh/custom/plugins/gh_reveal\n```\nadd gh_reveal to plugins array in `~/.zshrc` like so\n`plugins=(gh_reveal git zsh-more-completions)`\n\n\n## Alternative install/uninstall experience:\nClone and cd into the project:\n```bash\ngit clone https://github.com/md-command-line/gh_reveal.git \u0026\u0026 cd gh_reveal;\n```\n\ninstall\n```bash\n./install.sh;\n```\n\nuninstall\n```bash\n./uninstall.sh\n```\n\n\n## Contributors ✨\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore --\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://twitter.com/m_dimmitt\"\u003e\u003cimg src=\"https://avatars1.githubusercontent.com/u/11463275?v=4\" width=\"100px;\" alt=\"MichaelDimmitt\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eMichaelDimmitt\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#infra-MichaelDimmitt\" title=\"Infrastructure (Hosting, Build-Tools, etc)\"\u003e🚇\u003c/a\u003e \u003ca href=\"https://github.com/md-command-line/gh_reveal/commits?author=MichaelDimmitt\" title=\"Documentation\"\u003e📖\u003c/a\u003e \u003ca href=\"https://github.com/md-command-line/gh_reveal/commits?author=MichaelDimmitt\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"http://www.jakobmenke.com\"\u003e\u003cimg src=\"https://avatars0.githubusercontent.com/u/18195247?v=4\" width=\"100px;\" alt=\"Jacob Menke\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eJacob Menke\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#infra-MenkeTechnologies\" title=\"Infrastructure (Hosting, Build-Tools, etc)\"\u003e🚇\u003c/a\u003e \u003ca href=\"https://github.com/md-command-line/gh_reveal/commits?author=MenkeTechnologies\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmd-command-line%2Fgh_reveal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmd-command-line%2Fgh_reveal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmd-command-line%2Fgh_reveal/lists"}