A Chrome extension that enhances text selection capabilities through OpenAI API integration, delivering contextual insights for selected text.
- Clone this repository
git clone https://github.com/finnbergquist/HighlightAndQuery
- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode" in the top right
- Click "Load unpacked" and select the extension directory
- Click the extension icon in Chrome's toolbar
- Enter your OpenAI API key
- (Optional) Customize the system prompt
- Click "Save Settings"
-
Via Context Menu:
- Select any text on a webpage
- Right-click and choose "Analyze with OpenAI"
-
Via Keyboard Shortcut:
- Select any text on a webpage
- Press Command+Shift+1 (Mac) or Ctrl+Shift+1 (Windows/Linux)
├── assets/ # SVG icons
├── scripts/
│ ├── background.js # Service worker
│ ├── content.js # Content script
│ └── popup.js # Popup UI logic
├── styles/ # CSS files
└── manifest.json # Extension manifest
This project is licensed under the MIT License - see the LICENSE file for details.


