Back to Projects

SideChatPROJECT DETAILS

Contextual AI Browser Extension

Browser Extension · AI Integration · Software Architecture

SideChat project preview
Existing SideChat project preview.

Project Overview

A browser extension enabling contextual floating conversations with ChatGPT and Claude using existing authenticated browser sessions.

Problem & Solution

Problem Statement

Asking a follow-up about a small part of a long AI response can interrupt the main conversation and lose its reading context.

Proposed Solution

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

01

Manifest V3 content scripts mount a Preact interface in a Shadow DOM root; a background service worker handles extension-level events.

02

An adapter factory selects the platform implementation behind a shared adapter interface.

03

Preact Signals manage reactive state and the browser Storage API persists conversations.

04

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.

Technology Stack

TypeScriptPreactSignalsManifest V3Vite