Grab code from any GitHub repo and format it perfectly for Gemini, ChatGPT, Claude, or your favorite LLM - all with just a few clicks! No more copy-paste marathons or repository cloning just to ask a question about some code. 💪
github-prompter.mp4
- Click the GitHub Prompter icon while on any GitHub repository page
- Browse the file tree and select the files you want to include
- Click "Copy Selected Files" to copy them in Markdown format
- Paste directly into Gemini, ChatGPT, Claude, or any other AI assistant
Because of Github API rate limits, only 60 files can be copied per hour. To increase the limit to 5000 files per hour, the extension allows you enter a Github Personal Access Token (PAT) in the options page. The token is stored securely in your browser's local storage and is never transmitted anywhere except directly to GitHub's API. For working with public repositories, you can create a token with no permissions at all. If you need to access private repositories, you'll only need to grant the token repository 'read' access. Detailed instructions on how to generate the token can be found in the extension's option page.
Note: Performance will be a bit sluggish when working with large repositories (> 3000 files).
Need to access private repos or avoid rate limits? Add a GitHub token:
- Click the ⚙️ icon in the popup to open the extension options page
- Follow the instructions there to grab a Github Token
- Paste your token and save!
From Chrome Web Store:
- Install from the Chrome Web Store
- Pin to your toolbar for easy access
For Development:
- Clone this repo
- Open
chrome://extensions/
- Enable Developer mode
- Click "Load unpacked" and select the project folder
Happy prompting! 🎉