Skip to content

Repository files navigation

NoteGen Web Clipper

Save selected text and images, or the current page, from Chrome, Microsoft Edge, and Firefox to the desktop version of NoteGen.

A selection assistant shows a small one-click save bubble beside highlighted text by default. Selected text becomes a text record; each selected image is downloaded, recognized by NoteGen, and saved as a separate image record. The extension popup saves the current page through NoteGen's link-record capture flow without previewing page content.

The extension reads selections only after you click the quick-save bubble and reads the current tab URL when you save it from the popup. It talks exclusively to NoteGen on 127.0.0.1:37421, keeps unsent clips in the browser, and has no telemetry or cloud service.

Development

Requires Node.js 20+ and pnpm.

pnpm install
pnpm dev
pnpm check

pnpm dev launches the development browser with Juejin, SSPAI, Zhihu, and the NoteGen GitHub repository open for clipping, selection, image-recognition, and link-record tests.

Use pnpm dev:edge or pnpm dev:firefox to launch another target browser.

Load .output/chrome-mv3, .output/edge-mv3, or .output/firefox-mv2 as an unpacked or temporary extension. When a compatible NoteGen desktop app is running, the extension connects automatically.

Release builds

pnpm build
pnpm build:edge
pnpm build:firefox
pnpm zip
pnpm zip:edge
pnpm zip:firefox

Chrome and Edge use Manifest V3; WXT produces a Firefox Manifest V2 build from the same source. pnpm zip:firefox also creates the source archive required for Firefox Add-ons review. Store copy and the manual release checklist are in store/.

Privacy and limits

  • No accounts, analytics, cookies, or page scripts are collected.
  • A clip is sent only to the paired NoteGen desktop app on localhost.
  • HTTP and HTTPS page access lets the default-enabled selection assistant show its save bubble. Disabling the feature stops and unregisters its content script.
  • Markdown is limited to 2 MiB per clip.
  • The offline queue keeps at most 100 clips or 50 MiB.
  • Safari, mobile NoteGen, and site-specific adapters are outside v1.

License

GPL-3.0-only. See LICENSE.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages