Threadmark is a Chrome extension designed for power users of ChatGPT. It allows you to highlight, bookmark, and organize specific snippets of text within your ChatGPT conversations, creating a local "clipbook" of your most valuable AI interactions.
Threadmark on Chrome Web Store
ChatGPT conversations can become long and unwieldy. Finding that one specific code snippet or explanation from three weeks ago often involves scrolling endlessly or relying on imprecise browser history.
Threadmark solves this by letting you:
- Capture: Highlight any text in a ChatGPT conversation and save it with a single click.
- Annotate: Add tags and notes to your bookmarks.
- Re-anchor: Click a bookmark to instantly open the original chat and scroll to the exact position of the text, even if the chat uses lazy-loading.
- Review: Browse and search your clipbook via a dedicated Side Panel.
- Zero-Friction Capture: Select text -> Click Bookmark.
- Robust Anchoring: Uses fuzzy matching and DOM anchoring to find your text even if the chat content has shifted slightly.
- Local-First: All data is stored locally in your browser using IndexedDB. No data is sent to external servers.
- Side Panel Manager: robust search and filtering capabilities right alongside your chat.
- Privacy Focused: Minimal permissions, works only on
chatgpt.com.
This project is built with Bun, TypeScript, and Biome.
- Bun (v1.0+)
- Chrome-based browser (Chrome, Brave, Edge, etc.)
-
Install Dependencies:
bun install
-
Build the Extension:
bun run build
The output will be generated in the
dist/directory. -
Watch Mode (for development):
bun run dev
This will watch for file changes and rebuild automatically.
- Open Chrome and navigate to
chrome://extensions. - Enable "Developer mode" in the top-right corner.
- Click "Load unpacked".
- Select the
dist/directory created by the build step.
/
├── assets/ # Static assets (icons, store images)
├── dist/ # Compiled extension output
├── docs/ # Documentation (PRD, schema, plans)
├── scripts/ # Build and utility scripts
├── src/
│ ├── background.ts # Service worker (orchestration)
│ ├── manifest.json # Extension manifest
│ ├── features/
│ │ ├── capture/ # Content scripts for capturing text
│ │ ├── sidepanel/# Side panel UI logic
│ │ └── settings/ # Options page logic
│ └── shared/ # Shared utilities and DB access
└── ...
See LICENSE.