{"id":20541993,"url":"https://github.com/torantulino/git-aid","last_synced_at":"2025-07-23T19:33:34.200Z","repository":{"id":154089529,"uuid":"629755687","full_name":"Torantulino/git-aid","owner":"Torantulino","description":"LLM powered functions to supercharge your GitHub workflow.","archived":false,"fork":false,"pushed_at":"2023-05-19T17:32:20.000Z","size":49,"stargazers_count":67,"open_issues_count":1,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-14T09:11:20.322Z","etag":null,"topics":["git","github","github-management","gpt4","issues","openai","pull-requests"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Torantulino.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"Torantulino"}},"created_at":"2023-04-19T00:55:48.000Z","updated_at":"2025-03-23T18:43:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"b8a22413-627e-4817-b2f5-54d970ff617c","html_url":"https://github.com/Torantulino/git-aid","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Torantulino/git-aid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torantulino%2Fgit-aid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torantulino%2Fgit-aid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torantulino%2Fgit-aid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torantulino%2Fgit-aid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Torantulino","download_url":"https://codeload.github.com/Torantulino/git-aid/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torantulino%2Fgit-aid/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266738320,"owners_count":23976416,"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-23T02:00:09.312Z","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":["git","github","github-management","gpt4","issues","openai","pull-requests"],"created_at":"2024-11-16T01:28:04.422Z","updated_at":"2025-07-23T19:33:34.172Z","avatar_url":"https://github.com/Torantulino.png","language":"Python","readme":"# Git-Aid: AI-Assisted GitHub Utilities\n\nThis repository contains a collection of AI-assisted utilities to improve your experience with GitHub. These utilities include tools for finding duplicate issues, generating responses to issues, extracting information about repositories, and assisting with reviewing pull requests.\n\n## Table of Contents\n\n1. [Installation](#installation)\n2. [Usage](#usage)\n    1. [Duplicate Issue Finder](#duplicate-issue-finder)\n    2. [GPT-4 Issue Responder](#gpt-4-issue-responder)\n    3. [Software Architecture Generator](#software-architecture-generator)\n    4. [README Generator](#readme-generator)\n    5. [GitHub Repository Information Extractor](#github-repository-information-extractor)\n    6. [Pull Request Reviewer](#pull-request-reviewer)\n3. [Contributing](#contributing)\n\n## Installation\n\n1. Clone the repository:\n\n```\ngit clone https://github.com/your-username/AI-Assisted-GitHub-Utilities.git\n```\n\n2. Install the required dependencies:\n\n```\npip install -r requirements.txt\n```\n\n3. Create a `.env` file in the project root directory and add your GitHub Read-only token, Read/Write token, and OpenAI API key:\n\n```\nGITHUB_READ_ONLY_TOKEN=your_read_only_token\nGITHUB_READ_WRITE_TOKEN=your_read_write_token\nOPENAI_API_KEY=your_openai_api_key\n```\n\n## Usage\n\n### Duplicate Issue Finder\n\nTo find duplicate issues in a GitHub repository, use the `duplicate_issue_finder.py` script with the repository owner and name as command-line arguments, plus any additional options:\n\n```\npython duplicate_issue_finder.py owner repo_name --days 30 --threshold 0.8 --top_n 10\n```\n\n### GPT-4 Issue Responder\n\nTo generate responses to GitHub issues using OpenAI's GPT-4 model and post them as comments, run the `gpt_issue_responder.py` script with the repository owner and name as command-line arguments:\n\n```\npython gpt_issue_responder.py owner repo_name\n```\n\n### Software Architecture Generator\n\nTo generate a software architecture from a given repository URL, run the `architecture_generator.py` script with the repository URL as an argument:\n\n```\npython architecture_generator.py https://github.com/owner/repo_name\n```\n\n### README Generator\n\nTo generate a README file for a GitHub repository using OpenAI's GPT-3.5 Turbo model, run the `docs_generator.py` script with the GitHub repository URL as input:\n\n```\npython docs_generator.py https://github.com/owner/repo_name\n```\n\n### GitHub Repository Information Extractor\n\nTo extract information about a GitHub repository using the GitHub API, import and use the functions from `github_info_extractor.py`:\n\n```python\nfrom github_info_extractor import extract_files_from_url, extract_repopath_from_url, get_files_in_repo\n\nfiles = extract_files_from_url(\"https://github.com/owner/repo_name\")\nrepo_path = extract_repopath_from_url(\"https://github.com/owner/repo_name\")\nall_files = get_files_in_repo(repo_path)\n```\n\n### Pull Request Reviewer\n\nTo assist with reviewing GitHub pull requests using OpenAI's GPT-4 language model, run the `pr_reviewer.py` script with the pull request URL as an argument:\n\n```\npython pr_reviewer.py https://github.com/owner/repo_name/pull/123\n```\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a pull request, report bugs, or suggest new features.\n\n_This README file was generated automatically by this repository._\n","funding_links":["https://github.com/sponsors/Torantulino"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorantulino%2Fgit-aid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftorantulino%2Fgit-aid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorantulino%2Fgit-aid/lists"}