This little project is a manifest v3 compatible browser extension for Chrome that allows you to quickly start a chat session for the chat service of your choice (mine is open-webui) using a keyboard shortcut (Cmd+Shift+O
). The chat endpoint can be configured via a settings interface accessible by clicking the gear icon in the extension popup.
- Keyboard Shortcut: Start a chat session with
Cmd+Shift+O
. - Configurable Endpoint: Set your preferred chat endpoint via the settings interface.
- Local Storage: Endpoint configuration is stored in local storage for persistence.
-
Download the Extension:
- Clone the repository:
git clone https://github.com/your-username/ai-chrome-extension.git
- Navigate to the project directory:
cd ai-chrome-extension
- Clone the repository:
-
Load the Extension in Chrome:
- Open Chrome and go to
chrome://extensions/
. - Enable "Developer mode" using the toggle switch in the top right corner.
- Click "Load unpacked" and select the project directory.
- Open Chrome and go to
- Start a Chat Session:
- Press
Cmd+Shift+O
to open the chat interface.
- Press
usage_example_extension.mov
- Configure the Endpoint:
- Click the gear icon in the extension popup.
- If running open-webui locally, http://localhost:3000 would be your endpoint.
- Enter your desired chat endpoint URL.
- Click "Save" to apply the changes.
Contributions are welcome but it really ain't all that. Feel free to steal and do whatever you please. If you do want to contribute for some reason, please follow these steps to contribute:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Push your changes to your fork.
- Open a pull request to the main repository.
This project is licensed under the Apache License. Do with it as you please!