{"id":17604271,"url":"https://github.com/arunvenkata/ghpr","last_synced_at":"2025-04-30T10:08:23.043Z","repository":{"id":257951676,"uuid":"873867008","full_name":"ArunVenkata/ghpr","owner":"ArunVenkata","description":"⚡ Instantly create PRs on github","archived":false,"fork":false,"pushed_at":"2024-10-27T20:42:59.000Z","size":76,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-25T06:43:27.057Z","etag":null,"topics":["clap-rs","cli","hacktoberfest","hacktoberfest2024","rust","rust-lang","rustlang"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/ghpr","language":"Rust","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/ArunVenkata.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2024-10-16T21:19:37.000Z","updated_at":"2024-11-11T22:19:13.000Z","dependencies_parsed_at":"2024-10-22T02:51:34.301Z","dependency_job_id":null,"html_url":"https://github.com/ArunVenkata/ghpr","commit_stats":null,"previous_names":["arunvenkata/ghpr"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArunVenkata%2Fghpr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArunVenkata%2Fghpr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArunVenkata%2Fghpr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArunVenkata%2Fghpr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ArunVenkata","download_url":"https://codeload.github.com/ArunVenkata/ghpr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242635331,"owners_count":20161437,"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":["clap-rs","cli","hacktoberfest","hacktoberfest2024","rust","rust-lang","rustlang"],"created_at":"2024-10-22T14:07:36.681Z","updated_at":"2025-03-09T02:30:41.278Z","avatar_url":"https://github.com/ArunVenkata.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🦀 Github PR URL Generator\n\nWelcome to the **GitHub PR URL Generator**! This command-line tool simplifies the creation of pull request for your GitHub repositories.\n\nTo create a PR quickly, run the command and click the generated link.\n\n\n\n[](https://github.com/user-attachments/assets/50ccbc19-e587-4820-9e7a-d02704d99add)\n\n\n\n## 🚀 Examples of Usage\n\nHere are some examples of how to use the `ghpr` command:\n\n1. Generate a pull request URL with a specified repository, source branch, and destination branch: \n```bash\nghpr --repo owner/repo --src my-feature-branch --dest main\n```\n\n2. Generate a pull request URL with additional parameters like title and body:\n```bash\nghpr --repo owner/repo --src main --dest feature-branch --title \"Fix bug\" --body \"This PR fixes the bug.\"\n```\n\n\n3. Generate a pull request URL using values from a `.ghprrc` file (destination is picked up from the file):\n```bash\nghpr --src feature-branch --title \"Add new feature\"\n```\n\n.ghprrc file:\n```ini\n[defaults]\ndest=\"master\"\nrepo=\"ArunVenkata/ghpr\"\n```\nGenerated URL: https://github.com/ArunVenkata/ghpr/compare/feature-branch...master?quick_pull=1\u0026title=Add%20new%20feature\n\n## 📦 Installation Instructions\n\n1. Ensure you have [Rust](https://www.rust-lang.org/tools/install) installed on your machine.\n\n2. Run the following command \n```bash\ncargo install ghpr\n```\n\n## 🖥️ Install from Source\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/ArunVenkata/ghpr.git\ncd ghpr\n```\n2. Ensure you have [Rust](https://www.rust-lang.org/tools/install) installed on your machine.\n\n3. Build the project:\n```bash\ncargo build --release\n```\n\n4. Run the tool:\n```bash\n./target/release/ghpr --help\n```\n\n\n## ⚙️ About the .ghprrc File\n\nThe .ghprrc file allows you to set default values for various parameters used in the ghpr command. This file should be located in your project directory and formatted as follows:\n\n```ini\n[defaults]\nrepo = \"owner/repo\"\nsrc = \"feature-branch\"\ndest = \"main\"\ntitle = \"Your PR Title\"\nbody = \"Description of the pull request.\"\nlabels = \"bug,enhancement\"\nmilestone = \"1.0\"\nassignees = \"username1,username2\"\nprojects = \"project1,project2\"\ntemplate = \"template_name\"\n```\n\u003e _Note: If `src` is not specified, it automatically refers to your current git branch (provided your current directory is a git repository)_\n\n\nRun `ghpr --help` for more information on the supported parameters.\n\n\n## 🤝 Contributing Guidelines\n\nIf you would like to contribute to the project, please follow these guidelines:\n1. Fork the repository and create your feature branch:\n\n```bash\ngit checkout -b feature/new-feature\n```\n\n2. Commit your changes:\n\n```bash\ngit commit -m \"Add some feature\"\n```\n\n3. Push to the branch:\n```bash\ngit push origin feature/new-feature\n```\n\n4. Open a pull request and describe your changes.\n\n\n\n## 🎉 License\n\nThis project is licensed under the MIT License. See the [LICENSE](https://www.github.com/ArunVenkata/ghpr/blob/master/LICENSE) file for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farunvenkata%2Fghpr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farunvenkata%2Fghpr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farunvenkata%2Fghpr/lists"}