Skip to content

Repository files navigation

MindCache FYI — Browser Extension

CI Release License: MIT

The browser extension for MindCache FYI. It captures AI chat conversations from supported web pages and saves them to your MindCache server, so valuable knowledge from chat sessions does not get lost.

Works out of the box with ChatGPT, Gemini, Claude, DeepSeek, and Yuanbao (腾讯元宝). Capture happens with one click on the page you're already on — and you review every extraction before anything is saved.

How It Works

  1. A content script extracts the chat thread from supported pages using per-site rules (see src/rules.json)
  2. Captured context is queued in the popup and batched for upload
  3. The server analyses the content with an LLM and stores the resulting knowledge entries

New to MindCache? The quick start walks you through the whole system in a few minutes.

Install

From your browser's store — see the download page for the current status of each store:

Or install manually from a release zip: download the latest release, unzip it, and load it as an unpacked extension (chrome://extensions → "Load unpacked" on Chrome/Edge). Note that Firefox only allows store-signed packages to be installed permanently, so a manual Firefox zip is limited to temporary loading via about:debugging.

Requirements

A running MindCache server. Point the extension at it via the server URL setting in the popup (defaults to http://localhost:9000). See the server repository for how to run one, or the quick start for the whole system.

Supporting a new site

Site support is data-driven: each supported site is one rule in the versioned src/rules.json, and the tooling in scripts/ develops, verifies, and LLM-repairs rules against live pages:

pnpm rules:login <provider>                # verify/refresh a browser session
pnpm rules:check [provider...]             # verify rules against live pages
pnpm rules:update [provider...]            # LLM repairs broken rules, verified live
pnpm rules:add <domain> --url <chat-url>   # develop extraction for a new site

Point the tooling at your LLM with LLM_BASE_URL / LLM_API_KEY / LLM_MODEL (OpenAI-compatible; defaults to a local LM Studio). Sessions and captured page snapshots are gitignored — they contain private conversation data. Sites with bot protection may challenge the automated browser: run any command with --headed, complete the check manually, and press Enter to continue.

Full details — the rule schema, the workflow, and the bot-protection caveats — live in Add a supported chat site in the docs.

Development

Built with WXT, React 19, and Tailwind CSS 4. Requires Node.js 24 and pnpm 11+.

pnpm install
pnpm dev                # dev build for Firefox with auto-reload
pnpm exec wxt dev -b chrome   # dev build for Chrome with auto-reload

Load the Firefox dev build via about:debugging → "Load Temporary Add-on" and select the manifest inside .output/firefox-mv3-dev/; the Chrome dev build opens automatically.

pnpm typecheck     # type check
pnpm build         # production build (see .output/)
pnpm zip:chrome    # Chrome Web Store / Edge Add-ons package
pnpm zip:firefox   # Firefox AMO package (sources zip included)

Related Projects

License

MIT

About

MindCache FYI browser extension — capture AI chat context from the web

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages