npm installnpm run build- Open Chrome and go to
chrome://extensions/ - Enable "Developer mode" (toggle in top right)
- Click "Load unpacked"
- Select the
distfolder - Done! Click the extension icon to test it
For active development with auto-rebuild:
npm run devAfter making changes, click the refresh icon on your extension in chrome://extensions/
npm run dev- Watch mode (rebuilds on changes)npm run build- Production buildnpm run lint- Check code qualitynpm run lint:fix- Auto-fix linting issuesnpm run format- Format code with Prettier
- Click the extension icon in Chrome
- Enter a URL in the input field
- Click "Submit"
- Check the console logs:
- Right-click popup → "Inspect" (popup logs)
- Click "service worker" in extension details (background logs)
- Popup:
src/popup/- UI components - Background:
src/background/index.ts- Service worker - Content:
src/content/index.ts- Page scripts - API Client:
src/shared/api.ts- Backend utilities (stubs) - Types:
src/shared/types.ts- TypeScript definitions - Manifest:
public/manifest.json- Extension config
- Right-click popup → "Inspect"
- Console will show popup script logs
- Go to
chrome://extensions/ - Find your extension
- Click "service worker" link
- Console will show background script logs
- Open DevTools on any webpage (F12)
- Console will show "Content script loaded" message
See SETUP.md for detailed documentation on:
- Project structure
- Customization options
- API client implementation
- Advanced configuration
Happy coding! 🎉