Prerequisites
Before you begin, ensure you have the following installed:- Node.js (v18 or higher recommended)
- Bun (package manager and runtime)
- Git (for version control)
- Chrome or Firefox browser
This project uses Bun as the package manager. If you don’t have it installed, run:
Installation
Install dependencies
Install all required dependencies using Bun:This will install all development dependencies including Vue 3, Vite, TypeScript, and build tools.
Start the development server
Choose the appropriate command based on your target browser:This will:
- Clear previous builds
- Generate manifest files
- Start Vite dev server with HMR (Hot Module Replacement)
- Watch for file changes
Load the extension in your browser
For Chrome/Chromium
- Open Chrome and navigate to
chrome://extensions - Enable Developer mode (toggle in the top-right corner)
- Click Load unpacked
- Select the
extension/folder from your project directory
For Firefox
- Open Firefox and navigate to
about:debugging#/runtime/this-firefox - Click Load Temporary Add-on
- Navigate to the
extension/folder and select themanifest.jsonfile
Development Workflow
With the dev server running, you can:- Edit Vue components in
src/and see changes instantly via HMR - Modify styles and see updates without reloading
- Add new features with TypeScript support
The development server runs on
http://localhost:3303 by default. The extension loads resources from this server during development.Alternative Testing
You can also useweb-ext to run the extension in a standalone browser instance:
Next Steps
Building
Learn how to build the extension for production
Release
Understand the release process