A Chrome MV3 web clipper for turning web pages into clean Markdown and saving them to Tencent ima as notes or knowledge-base entries.
- Extracts readable article content from the current tab.
- Converts captured content to Markdown.
- Lets you review the result in
Reader,Markdown, andPreviewmodes. - Supports automatic capture, selected text capture, and manual area capture.
- Copies Markdown, copies source URL/title, downloads
.mdfiles, and opens ima. - Connects to the ima OpenAPI with a Client ID and API Key.
- Saves captures as ima notes, optionally adding them to a selected knowledge base.
The badge next to ima Clipper shows where the current capture came from:
Auto: normal automatic page extraction.Selection: capture from text selected before opening the popup.Manual Area: capture from an area chosen withSelect Area.Fallback: fallback extraction when the page is hard to parse.
- Open the popup.
- Click the gear icon in the ima row.
- Paste your ima Client ID and API Key from
https://ima.qq.com/agent-interface. - Pick
Note onlyor a writable knowledge base. - Click
Save to ima.
The extension first imports the Markdown as an ima note. If a knowledge base is selected, it then adds that note to the knowledge base.
npm install
npm run buildThen load the extension in Chrome:
- Open
chrome://extensions/. - Enable
Developer mode. - Click
Load unpacked. - Select the local
distfolder from this repository.
npm run dev
npm test
npm run buildnpm run packageThe packaged extension zip is written to:
releases/web-clipper-for-ima-v0.1.1.zip
src/content/ Content script and manual area selection
src/background/ MV3 service worker and context menu handling
src/core/ Extraction, cleanup, and Markdown template logic
src/ui/popup/ Popup UI, export actions, and ima API integration
docs/ Manual test checklist and implementation notes
scripts/ Packaging helper
Before packaging or sharing a build, run:
npm test
npm run build
npm run packageFor browser smoke testing, follow docs/manual-test-checklist.md.
Before submitting to the Chrome Web Store, review:
The extension package includes local icons under public/icons. Store listing screenshots and the 440x280 promotional image are uploaded separately in the Chrome Web Store Developer Dashboard.
