Browser extension
Capture a page or passage locally, then enable account-scoped synchronization.
Flare Clips is the WXT + React application in apps/extension. Its desktop popup previews the page URL, title and selected text. The library offers search, open and delete in the Chrome or Edge side panel and the Firefox sidebar. The options page provides English/Chinese, theme and account settings.
Develop
Run pnpm install --frozen-lockfile and pnpm dev:extension. For Firefox run pnpm --filter @musemvp/extension dev -b firefox. If WXT prompts for manual loading, load apps/extension/.output/chrome-mv3-dev in the browser’s extensions manager. Local capture works without an account. For sync, also run pnpm muse:init and pnpm dev. The extension follows the Web app’s local port. For a deployed Worker set WXT_SITE_URL to its exact HTTPS origin in the build environment.
To try an unpacked build, run pnpm build:extension and load apps/extension/.output/chrome-mv3 from Chrome or Edge in Developer mode. For Firefox run pnpm --filter @musemvp/extension build -b firefox and load the generated firefox-mv3/manifest.json from about:debugging.
Connect and synchronize
Choose Connect account. Sign in on your Flare site and approve. Authorization uses a one-use, two-minute PKCE code. The backend stores the digest of a revocable 30-day extension credential. Disconnect removes access on this installation and retries server revocation when connectivity returns. Reconnect after expiry. Register the exact value of browser.identity.getRedirectURL() for each build in extensionRedirectUrls in the config package. The default Chromium and Firefox callbacks are registered in development. Copy the actual value from Authorization callback in extension settings and register each release callback.
A verified active plan or lifetime purchase enables sync. Credit packs alone keep local access. Complete checkout on the Web billing page. Enable sync explicitly and choose whether to import guest clips. Records queued offline upload on the next refresh, extension opening or periodic wake. Account libraries stay separate. Removing a clip propagates a deletion to other devices. The web app manages identity and billing; the collection is displayed in the extension.
Prepare store packages
- Set the name and Firefox add-on ID in
apps/extension/brand.ts, replace the PNG icons underpublic/icon, update the description in WXT config, and bump the extension package version. Register your own Chrome and Edge listing IDs and the callback for your stable Firefox ID. For an unpacked Chromium release that needs its store ID, use the public key from that listing. - Run
pnpm zip:extension. Chrome and Edge use the Chromium ZIP. Submit the Firefox ZIP to AMO and attach the separate sources ZIP with its BUILD.md. Build the source archive in a clean directory with the documented pnpm version, site URL and frozen lockfile. Never attach the full commercial repository. - On first submission use the Chrome Web Store Developer Dashboard, Microsoft Partner Center and Mozilla Add-on Developer Hub. Set the product identity, screenshots, support/privacy URLs and permission justifications. Disclose user-selected website URLs, titles and selected text, optional cloud storage and account identifiers. Install each package and verify permission prompts, native sidebar, sign-in, cancellation and deletion before submission.
- For repeat submissions set repository variable
EXTENSION_SITE_URLand the store-specific secrets used by the Browser extension workflow. Run it manually withsubmitenabled. A normal push builds artifacts. Track acceptance and release in each store dashboard.
Flare and All in One include the source under the commercial developer license. Buyers choose end-user plans on their own Flare deployment.