VibeMonkey is a Chrome extension that acts as your AI companion for generating userscripts on the fly. Simply describe a visual change you want to make to a webpage, and VibeMonkey will generate a Tampermonkey/Greasemonkey script to accomplish it.
- AI-Powered Script Generation: Uses Google's Gemini models to understand your requests and generate high-quality userscripts.
- Context-Aware: Analyzes the current page's structure to create robust and effective scripts.
- Side Panel UI: An easy-to-use interface that lives in your browser's side panel.
- Secure: Your API key is stored locally and is never exposed.
- Customizable: Choose the Gemini model that best suits your needs.
- Clone the repository:
git clone https://github.com/your-username/vibemonkey.git
- Install dependencies:
cd vibemonkey npm install - Build the extension:
npm run build
- Load the extension in Chrome:
- Open Chrome and navigate to
chrome://extensions. - Enable "Developer mode" in the top right corner.
- Click "Load unpacked".
- Select the
vibemonkeydirectory.
- Open Chrome and navigate to
- Set your API Key:
- Click the VibeMonkey icon in the Chrome toolbar.
- Click "Settings".
- Enter your Google AI API key and choose a model.
- Click "Save".
- Generate a Script:
- Open the webpage you want to modify.
- Click the VibeMonkey icon and select "Open Sidebar".
- In the sidebar, describe the change you want to make (e.g., "Change the background color of the header to blue").
- Click "Generate Script".
- Use the Script:
- The generated script will appear in the result area.
- You can Copy it to your clipboard or Save it as a
.user.jsfile to be used with a userscript manager like Tampermonkey.
This project uses webpack to bundle the JavaScript files. To watch for changes and automatically rebuild during development, run:
npm run watchThis project is experimental. Always review generated scripts before executing them.