Installation
There are two ways to install Graytool in your Chrome browser.
Developer Mode Installation (Recommended)
Prerequisites
- Google Chrome (or a Chromium-based browser)
- Node.js (v18+) and npm
Steps
- Clone the project:
git clone https://github.com/bozkurtemre/graytool.git
cd graytool
- Install dependencies:
npm install
- Build the project:
npm run build
-
Load into Chrome:
- Navigate to
chrome://extensions/in Chrome - Enable "Developer mode" in the top right
- Click "Load unpacked"
- Select the
srcfolder in the project
- Navigate to
-
Done! The Graytool icon will appear in the toolbar.
Updating
After code changes:
npm run build
Then click the reload (🔄) button on the Graytool card in chrome://extensions/.
Production Build
Optimized build for distribution:
npm run build:prod
This produces minified files without source maps.
Watch Mode (Development)
Automatic rebuild on file changes:
npm run dev
tip
In watch mode, you still need to reload the Chrome extension after each change. Use the reload button on the chrome://extensions/ page.
Troubleshooting
Extension won't load
- Make sure you selected the
srcfolder (not the project root) - Verify that
npm run buildcompleted successfully - Ensure Chrome is up to date
Permission errors
Graytool requests separate permissions for each URL pattern. When you add your first URL pattern, Chrome will show a permission dialog. You need to click "Allow".