{"id":26390806,"url":"https://github.com/bluzed/repoinfoai","last_synced_at":"2025-09-01T16:45:19.882Z","repository":{"id":282704850,"uuid":"949065603","full_name":"BluZed/RepoInfoAI","owner":"BluZed","description":"Auto-send prompts to ChatGPT on the website that contains info about an arbitrary GitHub repository.","archived":false,"fork":false,"pushed_at":"2025-03-16T12:05:30.000Z","size":884,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T12:40:34.466Z","etag":null,"topics":["ai","chatgpt","github","repository","web"],"latest_commit_sha":null,"homepage":"https://github.com/BluZed/RepoInfoAI/","language":"JavaScript","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/BluZed.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":"2025-03-15T15:44:05.000Z","updated_at":"2025-03-16T12:05:34.000Z","dependencies_parsed_at":"2025-03-16T12:40:37.358Z","dependency_job_id":null,"html_url":"https://github.com/BluZed/RepoInfoAI","commit_stats":null,"previous_names":["bluzed/repoinfoai"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BluZed%2FRepoInfoAI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BluZed%2FRepoInfoAI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BluZed%2FRepoInfoAI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BluZed%2FRepoInfoAI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BluZed","download_url":"https://codeload.github.com/BluZed/RepoInfoAI/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244014187,"owners_count":20383716,"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":["ai","chatgpt","github","repository","web"],"created_at":"2025-03-17T10:15:43.095Z","updated_at":"2025-03-17T10:15:45.657Z","avatar_url":"https://github.com/BluZed.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg width=\"100\" src=\"https://github.com/BluZed/RepoInfoAI/blob/main/assets/openai_logo.png?raw=true\"\u003e\u003c/img\u003e\n\u003cimg width=\"100\" src=\"https://github.com/BluZed/RepoInfoAI/blob/main/assets/github_logo.png?raw=true\"\u003e\u003c/img\u003e\n# RepoInfoAI\nAuto-send prompts to ChatGPT on the website that contains info about an arbitrary GitHub repository.\u003cbr\u003e\nThe information includes:\n- Name\n- Description\n- Files (including those in subfolders)\n- Content inside .md files\n- Created \u0026 Last updated at\n- Open Issues count\n- License\n- Stars\n- Watchers\n- Forks\n- Main language\n- Is archived / disabled\n\u003cbr\u003e\nChatGPT can further be asked about any information related to the given information.\nFor example, you may ask it to point out files in which a specific logic of the project may be.\nOr, you may ask it to generate an essay regarding the project. Anything infact.\n\nhttps://github.com/user-attachments/assets/ed70ab32-fe8e-499e-9e98-175e7312bcc9\n\nPrompts can be edited in main.js\u003cbr\u003e\nImprovements and PRs are welcome!\u003cbr\u003e\n# Usage (only pc / desktop mode)\n- Start the local server and install the userscript (steps mentioned in Installation Instructions below)\n- Go to https://chatgpt.com\n- Click on RepoInfo button at bottom right.\n- Enter Repo name along with owner (eg. `BluZed/RepoInfoAI`)\n- Enter the first prompt you want to ask ChatGPT about.\n- **Important!!!** Allow the script to fetch cross-origin requests if prompted for. This is required to interact with the local server due to [csp headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CSP) on the website.\n- wait for the results! It may take some time for large repositories.\n- you may also continue the chats.\n\n# Installation Instructions\nBoth of the following are required.\n\n## 1. Userscript setup\n(it requests the prompt data from the local server and sends it as chat prompt to ChatGPT)\n- Install tampermonkey browser extension if not installed already\n- Install the [userscript from this repository](https://github.com/BluZed/RepoInfoAI/raw/refs/heads/main/web.user.js).\n\n## 2. Local server setup \n(it is responsible for the git api requests and parsing the prompts.)\n- Ensure that you have [Node.js](https://nodejs.org/en) installed on your system (project tested on Node.js [v20.12.2](https://nodejs.org/download/release/v20.12.2/)).\n- Clone this repository OR download the source code as a zip file.\n\nFor cloning:\n```bash\ngit clone https://github.com/BluZed/RepoInfoAI\n```\n\nFor downloading as a zip: [click here](https://github.com/BluZed/RepoInfoAI/archive/refs/heads/main.zip)\n- Extract the zip contents into a folder.\n- cd into the repo contents.\n```bash\ncd RepoInfoAI\n```\n- Install all npm dependencies\n```bash\nnpm i\n```\n- Get your github access token (optional, recommended due to [rate limits](https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api?apiVersion=2022-11-28)) and add it to the .env file.\n```\nGHACCESSTOKEN=\u003cYOUR TOKEN HERE\u003e\n```\nYou may also add a ```PORT=\u003ccustom port number\u003e``` to modify the default PORT (4070) at which the server runs on, but please also edit it in the userscript else it will break.\n- Start the local server \n```bash\nnpm start\n```\n\n# Credits\n- https://github.com/KudoAI/chatgpt.js/\n- https://medium.com/@josediazmoreno/break-the-limits-send-large-text-blocks-to-chatgpt-with-ease-6824b86d3270\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbluzed%2Frepoinfoai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbluzed%2Frepoinfoai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbluzed%2Frepoinfoai/lists"}