Skip to content

dandehoon/prompt-cast

Repository files navigation

Prompt Cast

Test Version License

Useful Chrome extension for broadcasting prompts to multiple AI chat sites at once with robust tab management.

Features

  • Multi-Site: Send to ChatGPT, Claude, Gemini, Grok... at once
  • Smart Tabs: Prevents duplicates, manages focus
  • Keyboard: Enter sends, Shift+Enter new line
  • Toggles: Enable/disable individual sites
  • Persistent: Remembers settings
  • Status: Real-time connection indicators

Quick Start

git clone https://github.com/dandehoon/prompt-cast
cd prompt-cast
pnpm install && pnpm build

Load in Chrome: chrome://extensions/ β†’ "Load unpacked" β†’ select the dist folder

The extension will appear in your toolbar with the Prompt Cast icon.

Usage

  1. Click extension icon
  2. Type message
  3. Press Enter to send (Shift+Enter for new line)
  4. Toggle sites on/off as needed

Sites

Site URL Status
ChatGPT chatgpt.com βœ…
Claude claude.ai βœ…
Gemini gemini.google.com βœ…
Grok grok.com βœ…
Perplexity perplexity.ai βœ…
Copilot copilot.microsoft.com βœ…

Development

Tech Stack

  • WXT Framework - Modern web extension development
  • Svelte 5 + TypeScript - Reactive UI components
  • Tailwind CSS - Utility-first styling
  • Playwright - End-to-end testing
  • Vitest - Unit testing
  • Chrome Extension API (Manifest V3)

Architecture

src/
β”œβ”€β”€ entrypoints/         # WXT entry points
β”‚   β”œβ”€β”€ background.ts    # Service worker
β”‚   β”œβ”€β”€ content.ts       # Content script
β”‚   └── popup/           # Svelte popup UI with stores
β”œβ”€β”€ shared/              # Types, utilities, messaging
β”œβ”€β”€ content/             # Content script modules
β”œβ”€β”€ background/          # Background script modules
└── types/               # TypeScript definitions

Commands

# Install dependencies
pnpm install

# Development (hot reload)
pnpm dev

# Build for production
pnpm build

# Run all tests (Vitest)
pnpm test

# Quality checks (type-check, lint, test, build)
pnpm check