SideChatPROJECT DETAILS
Contextual AI Browser Extension
Browser Extension · AI Integration · Software Architecture

Project Overview
A browser extension enabling contextual floating conversations with ChatGPT and Claude using existing authenticated browser sessions.
Problem & Solution
Asking a follow-up about a small part of a long AI response can interrupt the main conversation and lose its reading context.
Capture selected text into floating side conversations, with platform-specific adapters keeping browser integration separate from the shared interface.
Key Features
- Contextual floating conversations
- ChatGPT and Claude adapters
- Multiple conversations and local persistence
- Copy and insert-back interactions
- Interface isolation from the host page
Technical Implementation
Manifest V3 content scripts mount a Preact interface in a Shadow DOM root; a background service worker handles extension-level events.
An adapter factory selects the platform implementation behind a shared adapter interface.
Preact Signals manage reactive state and the browser Storage API persists conversations.
Vite bundles the TypeScript extension. Conversations integrate with existing authenticated browser sessions rather than a separate Node.js backend.
Engineering Considerations and Limitations
- Host-page changes and session behavior are integration constraints; platform adapters localize that logic.
- Shadow DOM isolates styling, while shared state and persistence keep the workspace independent of host-page rendering.