Skip to content

jerilseb/github-prompter

Repository files navigation

🚀 GitHub Prompter

Chrome Extension License: MIT

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

🚀 Quick Start

  1. Click the GitHub Prompter icon while on any GitHub repository page
  2. Browse the file tree and select the files you want to include
  3. Click "Copy Selected Files" to copy them in Markdown format
  4. 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).

⚙️ Configuration

Need to access private repos or avoid rate limits? Add a GitHub token:

  1. Click the ⚙️ icon in the popup to open the extension options page
  2. Follow the instructions there to grab a Github Token
  3. Paste your token and save!

📦 Installation

From Chrome Web Store:

  1. Install from the Chrome Web Store
  2. Pin to your toolbar for easy access

For Development:

  1. Clone this repo
  2. Open chrome://extensions/
  3. Enable Developer mode
  4. Click "Load unpacked" and select the project folder

Happy prompting! 🎉

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published