SearchInChatGPT is a lightweight browser extension that allows you to quickly search highlighted text directly in ChatGPT. Simplify your workflow with instant access to AI assistance from any webpage.
- π Search Highlighted Text: Select text on any webpage, right-click, and search directly in ChatGPT.
- β¨οΈ Keyboard Shortcuts: Use
Ctrl+Shift+S
(Windows) orCommand+Shift+S
(Mac) to initiate a search instantly. - π Simple Popup Interface: Enter custom queries directly from the popup for personalized searches.
-
Clone this repository:
git clone <https://github.com/your-username/SearchInChatGPT.git>
-
Open your browser and navigate to the extensions page:
- Chrome:
chrome://extensions
- Firefox:
about:addons
- Chrome:
-
Enable Developer Mode (if applicable).
-
Click Load unpacked or Install Add-on from File.
-
Select the cloned folder and upload the extension.
- Highlight any text on a webpage.
- Right-click and select Search in ChatGPT from the context menu.
- Use the popup to enter custom queries manually.
- Alternatively, use the keyboard shortcut to search instantly.
- manifest.json: Defines the extension's metadata and permissions.
- background.js: Handles background tasks, such as context menu creation and search logic.
- content.js: Interacts with the ChatGPT interface to input and submit text.
- popup.html: The user interface for entering and managing search queries.
- popup.js: Controls the functionality of the popup interface.
- styles.css: Styles the popup UI.
- browser-polyfill.min.js: Ensures compatibility with multiple browsers.
-
π΄ Fork the repository.
-
π± Create a new branch:
git checkout -b feature-branch-name
-
ποΈ Commit your changes:
git commit -m "Add feature or fix description"
-
π€ Push to your branch:
git push origin feature-branch-name
-
π Open a Pull Request.
This project is licensed under the MIT License. See the LICENSE
file for details.
Made with β€οΈ by Iman Reihanian