Browser extension client for saving web content into massCode.
- Open massCode preferences.
- Go to API.
- Enable API integrations and generate an API token.
- Build the extension:
pnpm integrations:clipper:build- Open
chrome://extensions. - Enable Developer mode.
- Load
integrations/clipper/dist/chromeas an unpacked extension. - Paste the API token into the extension popup.
The Clipper uses shared source code with browser-specific manifests:
pnpm integrations:clipper:build:chrome
pnpm integrations:clipper:build:firefox
pnpm integrations:clipper:build:safariProduction outputs are written to:
dist/chromedist/firefoxdist/safari
Store packages are written to builds/:
pnpm integrations:clipper:package
pnpm integrations:clipper:package:chrome
pnpm integrations:clipper:package:firefox
pnpm integrations:clipper:package:safaripackage.json is the version source of truth. Browser manifests are copied
from manifests/ during build, and the output manifest.json receives the
package version automatically.
Firefox does not load an unpacked extension by selecting the dist folder.
- Build the Firefox target:
pnpm integrations:clipper:build:firefox- Open
about:debugging#/runtime/this-firefox. - Click
Load Temporary Add-on. - Select
integrations/clipper/dist/firefox/manifest.json.
The extension stays installed until Firefox restarts. Use Reload on
about:debugging after rebuilding.
- Build the Safari target:
pnpm integrations:clipper:build:safari- Open Safari settings and enable developer features.
- In Safari developer settings, enable unsigned extensions.
- Use
Add Temporary Extension.... - Select
integrations/clipper/dist/safari.
Safari temporary extensions are removed after Safari exits or after the browser temporary extension timeout expires. Store distribution requires a Safari Web Extension app package through Xcode and App Store Connect.
See PRIVACY.md for the Clipper privacy note used for store review.
The extension talks to the local massCode integration API and does not read or write the vault directly.
Supported MVP captures:
- selected text to Code;
- selected text to Notes;
- current page to Notes;
- current page or selected link to HTTP as
GET.