{"id":17621080,"url":"https://github.com/wowu/pro","last_synced_at":"2025-06-11T01:31:52.795Z","repository":{"id":47388612,"uuid":"509544135","full_name":"wowu/pro","owner":"wowu","description":"⚡ Open current PR in browser with a single command. Supports GitHub and GitLab.","archived":false,"fork":false,"pushed_at":"2025-04-23T17:29:29.000Z","size":1821,"stargazers_count":44,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-23T18:37:00.577Z","etag":null,"topics":["command-line","github","gitlab","go","pull-requests","terminal"],"latest_commit_sha":null,"homepage":"https://github.com/wowu/pro","language":"Go","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/wowu.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-07-01T17:51:30.000Z","updated_at":"2025-04-23T17:29:23.000Z","dependencies_parsed_at":"2025-04-23T18:27:13.046Z","dependency_job_id":"a6a631eb-9676-4057-b7db-b7029e51a34c","html_url":"https://github.com/wowu/pro","commit_stats":{"total_commits":67,"total_committers":2,"mean_commits":33.5,"dds":0.02985074626865669,"last_synced_commit":"04e27dfcfda9cf208fb9b0fb2aa4eae05837e004"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wowu%2Fpro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wowu%2Fpro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wowu%2Fpro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wowu%2Fpro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wowu","download_url":"https://codeload.github.com/wowu/pro/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wowu%2Fpro/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259180941,"owners_count":22817836,"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":["command-line","github","gitlab","go","pull-requests","terminal"],"created_at":"2024-10-22T20:10:28.645Z","updated_at":"2025-06-11T01:31:52.788Z","avatar_url":"https://github.com/wowu.png","language":"Go","readme":"# `pro` - Pull Request Opener \u003c!-- omit in toc --\u003e\n\n[![](https://img.shields.io/github/v/release/wowu/pro?label=version)](https://github.com/wowu/pro/releases/latest)\n[![](https://img.shields.io/badge/platform-windows%20%7C%20macos%20%7C%20linux-lightgrey)](#installation)\n\nA single command to open current PR in browser. Supports GitHub and GitLab. Available for macOS, Linux and Windows.\n\n![pro](pro.png)\n\n- [Demo](#demo)\n- [Installation](#installation)\n  - [Homebrew (macOS/Linux) - recommended](#homebrew-macoslinux---recommended)\n  - [Scoop (Windows)](#scoop-windows)\n  - [dpkg (Ubuntu/Debian)](#dpkg-ubuntudebian)\n  - [Download latest binary (Linux)](#download-latest-binary-linux)\n  - [Go package](#go-package)\n  - [Compile from source](#compile-from-source)\n  - [Precompiled binaries](#precompiled-binaries)\n- [Usage](#usage)\n  - [Authorize GitHub / GitLab](#authorize-github--gitlab)\n    - [GitHub](#github)\n    - [GitLab](#gitlab)\n  - [Open Pull Request in default browser](#open-pull-request-in-default-browser)\n\n## Demo\n\n![pro](pro.gif)\n\n## Installation\n\n### Homebrew (macOS/Linux) - recommended\n\n```bash\nbrew install wowu/tap/pro\n```\n\n### Scoop (Windows)\n\n```bash\nscoop bucket add wowu https://github.com/wowu/scoop.git\nscoop install wowu/pro\n```\n\n### dpkg (Ubuntu/Debian)\n\n```bash\nwget https://github.com/wowu/pro/releases/latest/download/pro-linux-amd64.deb\ndpkg -i pro-linux-amd64.deb\n```\n\nReplace `amd64` with `arm64` if you are on ARM.\n\n### Download latest binary (Linux)\n\n```bash\ncurl -sSL -o /usr/local/bin/pro https://github.com/wowu/pro/releases/latest/download/pro-linux-amd64\nchmod +x /usr/local/bin/pro\n```\n\nReplace `amd64` with `arm64` if you are on ARM.\n\n### Go package\n\n```bash\ngo install github.com/wowu/pro@latest\n```\n\n`pro` binary will be installed in `$GOPATH/bin` (most likely `~/go/bin/pro`).\n\n### Compile from source\n\n1. Install Go (`brew install go` or [see offical docs](https://go.dev/doc/install))\n2. Clone the repository and build the project:\n\n   ```bash\n   git clone git@github.com:wowu/pro.git \u0026\u0026 cd pro\n   go build\n   ```\n\n### Precompiled binaries\n\nDownload binaries from the [releases page](https://github.com/wowu/pro/releases/latest).\n\n## Usage\n\n### Authorize GitHub / GitLab\n\n`pro` uses GitHub or GitLab API to find Pull Request related to current branch. Access is granted via personal access tokens.\n\n#### GitHub\n\nUse `auth` command to login:\n\n```bash\npro auth github\n```\n\nYou will be asked to [generate personal access token](https://github.com/settings/tokens/new?description=pro+cli\u0026scopes=repo) and paste it in the prompt. It's recommended to change \"Expiration\" to \"No expiration\" before creating the token. Token will be stored in `~/.config/pro/config.yml`.\n\n#### GitLab\n\nUse `auth` command to login:\n\n```bash\npro auth gitlab\n```\n\nYou will be asked to [generate personal access token](https://gitlab.com/-/user_settings/personal_access_tokens?name=pro+cli\u0026scopes=read_api) and paste it in the prompt. Token will be stored in `~/.config/pro/config.yml`.\n\n### Open Pull Request in default browser\n\nTo open current Pull Request simply type:\n\n```bash\npro\n```\n\nIf you're on the main branch (`main`, `master`, `trunk`, etc.) repository homepage will be opened instead. If no PR matching current branch is found but the branch is pushed to remote, \"Create Pull Request\" page will be opened.\n\nUse `-p | --print` flag to print the Pull Request URL instead of opening it in default browser:\n\n```bash\npro -p\n```\n\nUse `-c | --copy` flag to copy the Pull Request URL to clipboard instead of opening it in default browser:\n\n```bash\npro -c\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwowu%2Fpro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwowu%2Fpro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwowu%2Fpro/lists"}