Browse Bot - AI-Powered Web Extension
A page-aware AI browser extension that helps users navigate and interact with web pages. Built with Svelte, TypeScript, and Vite for both Chrome and Firefox, this tool supports AI agent-style workflows to save time, reduce errors during research, and improve user experience.
Install
πΉ Chrome: https://chromewebstore.google.com/detail/browse-bot/hkcbjmdeheceggmlbhbiljejkkpjljjp πΉ Firefox: https://addons.mozilla.org/en-US/firefox/addon/browse-bot/
Features
- AI-Powered Web Actions: Perform complex web tasks using natural language
- Smart Content Processing: Summarize, clean, and aggregate web content
- Multi-Step Planning: Plan and execute multi-step on-page interactions
- Cross-Browser Support: Use both on Chrome (Manifest V3) and Firefox
- Side Panel UI: Enjoy a minimalist and modern side-bar interface
Architecture
This extension uses a sophisticated AI-powered architecture:
- OpenRouter AI Service: Integration with multiple AI models
- Tool-Based Operations: Structured AI interactions including:
plannerTool: Plans multi-step web actionsperformWebAction: Executes actions on web pagessummarizationTool: Summarizes text contentaggregationAndCleaningTool: Processes and cleans data
- Service Layer: Singleton services for AI, configuration, messaging, and state
- Content Scripts: Injected scripts for web page interaction
Tech Stack
- Frontend: Svelte 5 + TypeScript
- Build Tool: Vite with separate Chrome/Firefox configurations
- AI Integration: OpenRouter API with multiple model support
- Browser APIs: Manifest V3, Side Panel, Content Scripts
Development
Prerequisites
- Node.js (latest LTS version)
- npm or yarn
- Chrome/Firefox browser for testing
Installation
Development Commands
Start development server for Chrome:
Start development server for Firefox:
Building
Build for Chrome:
Build for Firefox:
Code Quality
Lint code:
Auto-fix linting issues:
Installation
Chrome
- Build the extension:
npm run build:chrome - Open Chrome and go to
chrome://extensions/ - Enable "Developer mode"
- Click "Load unpacked" and select the
distfolder
Firefox
- Build the extension:
npm run build:firefox - Open Firefox and go to
about:debugging - Click "This Firefox"
- Click "Load Temporary Add-on"
- Select the
manifest.jsonfile from thedistfolder
Configuration
The extension requires an OpenRouter API key for AI functionality:
- Get an API key from OpenRouter
- Open the extension settings
- Enter your API key
- Configure your preferred AI model
Threat model
Browse Bot is designed to be transparent, predictable, and limited by default.
What it can access
- The content and structure of the current webpage, only when you trigger an action
- Local files (PDFs, images, screenshots) only when you explicitly select them
What it does not access
- Browsing history, cookies, passwords, or authentication data
- Pages you are not actively viewing
- Any data in the background or without user interaction
If you donβt actively use Browse Bot, it does nothing.
Data handling
- Browse Bot does not send webpage content to the cloud
- No browsing data is collected, stored, or tracked
- All behavior stays within the clearly defined scope of the extension
What it protects against
- Accidental data sharing with third-party AI services
- Hidden background activity
- Undocumented or unclear data flows
What it does not protect against
- Malicious websites or compromised pages
- Browser-level vulnerabilities
- Other extensions with excessive permissions
Transparency
- Browse Bot is open-source (for personal use) and fully inspectable
- No obfuscated code or hidden network requests
- All permissions are documented and intentional
If something is unclear, it should be visible in the code.
Project Structure
βββ src/
β βββ components/ # Svelte UI components
β βββ services/ # Core services (AI, Config, State)
β βββ content/ # Content scripts
β βββ background/ # Background scripts
β βββ manifest/ # Extension manifests
βββ vite.config.chrome.ts # Chrome build configuration
βββ vite.config.firefox.ts # Firefox build configuration
βββ CLAUDE.md # AI assistant instructions
License
This project is licensed under BSL 1.1
Commercial use restrictions apply until 2030-09-29