{"id":15007968,"url":"https://github.com/tomoyaf/gh-prai","last_synced_at":"2026-01-18T06:11:21.355Z","repository":{"id":257570340,"uuid":"858642817","full_name":"tomoyaf/gh-prai","owner":"tomoyaf","description":"Generate the title and body of the Pull Request with ChatGPT API based on git diff. Create a new Pull Request or update an existing Pull Request based on this title and body.","archived":false,"fork":false,"pushed_at":"2024-09-18T15:26:03.000Z","size":20443,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T01:29:07.680Z","etag":null,"topics":["ai","automation","gh-extension","git","productivity","pull-request"],"latest_commit_sha":null,"homepage":"","language":"Go","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/tomoyaf.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-17T09:21:58.000Z","updated_at":"2025-02-13T23:29:20.000Z","dependencies_parsed_at":"2024-10-12T08:20:32.489Z","dependency_job_id":null,"html_url":"https://github.com/tomoyaf/gh-prai","commit_stats":null,"previous_names":["tomoyaf/gh-prai"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/tomoyaf/gh-prai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomoyaf%2Fgh-prai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomoyaf%2Fgh-prai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomoyaf%2Fgh-prai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomoyaf%2Fgh-prai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomoyaf","download_url":"https://codeload.github.com/tomoyaf/gh-prai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomoyaf%2Fgh-prai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28531993,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["ai","automation","gh-extension","git","productivity","pull-request"],"created_at":"2024-09-24T19:14:40.925Z","updated_at":"2026-01-18T06:11:21.322Z","avatar_url":"https://github.com/tomoyaf.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## PRAI - Automate Your Pull Request Titles and Descriptions\n\n[![release](https://github.com/tomoyaf/gh-prai/actions/workflows/release.yml/badge.svg)](https://github.com/tomoyaf/gh-prai/actions/workflows/release.yml)\n\n[GitHub CLI Extension](https://docs.github.com/ja/github-cli/github-cli/about-github-cli)\n\nPRAI (Pull Request AI) is a GitHub CLI extension that automates the creation of pull request titles and descriptions by leveraging the power of OpenAI's ChatGPT API. Whether you're a solo developer or part of a team, PRAI helps you save time by generating thoughtful, concise, and well-structured PR summaries based on your git diffs.\n\n### Key Features\n\n- **Automatic PR Title and Description Generation:** PRAI generates pull request titles and bodies based on your git diff, removing the need for manual writing.\n- **Integration with GitHub CLI:** Easily create new pull requests or update existing ones with a few simple commands.\n- **Flexible Configuration:** Customize the PR templates, language, and prompts to fit your workflow.\n\n### DEMO\n### Default Usage\n\nhttps://github.com/user-attachments/assets/b09d5c22-6711-4bbc-b652-3675b922c0fe\n\n\n### Configure Language to English\n\nhttps://github.com/user-attachments/assets/011514dc-348e-417d-b753-ee3e7144c87f\n\n## Why Use PRAI?\n- **Time-saving:** Focus on coding while PRAI writes your PR descriptions.\n- **Consistency:** Maintain a uniform style and tone in your PRs across your projects.\n- **AI-Powered:** PRAI uses ChatGPT to analyze your code changes and summarize them effectively.\n\n## Installation\nInstall the extension using GitHub CLI:\n\n```bash\ngh extension install tomoyaf/gh-prai\n```\n\n## Usage\n### Step 1: Set up Your OpenAI API Key\nBefore you can start using PRAI, configure your OpenAI API key:\n```bash\ngh prai config api_key YOUR_OPENAI_API_KEY\n```\n\n### Step 2: Generate a Pull Request\nTo automatically generate the title and body of your pull request, simply run:\n\n```bash\ngh prai # or 'gh prai create'\n```\n\n### Additional Configurations\n**Language:** Set the language for the PR title and description (default: English).\n```bash\ngh prai config language en  # or 'ja'\n```\n**Template:** Customize the template used for PR descriptions.\n```bash\ngh prai config template default  # or './.github/PULL_REQUEST_TEMPLATE/mytemplate.md'\n```\n**Custom Prompts:** Tailor the AI's behavior by providing a custom prompt.\n```bash\ngh prai config prompt \"Your custom prompt\"\n```\n\n## Help and Documentation\nFor more details on available commands and options:\n```bash\ngh prai --help\n```\n\n## Contributing\nWe welcome contributions! Please feel free to submit issues or pull requests to help improve PRAI.\n\n## License\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomoyaf%2Fgh-prai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomoyaf%2Fgh-prai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomoyaf%2Fgh-prai/lists"}