A Chrome extension that adds a "Send to Cursor" button to GitHub PR feedback, making it easy to copy comments and feedback directly to Cursor chat.
- 🚀 One-click copy of GitHub PR feedback to clipboard
- 📝 Includes PR context (PR number, file path, line number, author)
- 🎨 Seamlessly integrates with GitHub's UI
- 🌓 Supports both light and dark modes
- ⚡ Works on all GitHub PR pages
-
Clone this repository:
git clone https://github.com/PinePeakDigital/gh2cursor.git cd gh2cursor -
Open Chrome and navigate to
chrome://extensions/ -
Enable "Developer mode" (toggle in the top-right corner)
-
Click "Load unpacked"
-
Select the
gh2cursordirectory -
The extension is now installed! You should see the gh2cursor icon in your extensions list.
-
Navigate to any GitHub Pull Request page
-
Look for PR comments and review feedback
-
Click the green "Send to Cursor" button next to any comment
-
The feedback will be copied to your clipboard with context (PR number, file, line, author)
-
Open Cursor and paste the feedback into the chat
When you click "Send to Cursor", the extension formats the feedback like this:
PR #123 - src/components/Button.tsx (Line 45)
From: reviewer-username
[Comment text here]
The extension consists of:
manifest.json- Extension configurationcontent.js- Main content script that injects buttonsstyles.css- Styling for buttons and notificationsicons/- Extension icons in various sizes
This extension:
- ✅ Only runs on github.com
- ✅ Does not collect or transmit any data
- ✅ Does not require any external permissions
- ✅ All processing happens locally in your browser
MIT License - see LICENSE file for details