The Minimal Chrome Extension includes powerful auto-capture features that automatically sync bookmarks from external sources without manual intervention.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ephraimduncan/minimal.so/llms.txt
Use this file to discover all available pages before exploring further.
X/Twitter Bookmark Capture
When you bookmark a tweet on X/Twitter, the extension automatically saves it to Minimal.How It Works
- Bookmark a Tweet: Use X/Twitter’s native bookmark button on any tweet
- Automatic Detection: The extension’s content script detects the bookmark action
- Save to Minimal: The tweet’s canonical URL is saved to your Imported - X group
- Confirmation Toast: A rate-limited toast confirms the save
The extension only captures actual tweets (URLs matching
/user/status/{id}). Bookmarking profiles, lists, search pages, settings, or spaces is ignored.Captured Tweet Format
The extension saves the canonical tweet URL, which looks like:Import Group
All captured tweets are saved to a group named Imported - X. This group is automatically created on first use with a gray color (#6b7280).
Rate-Limited Notifications
To avoid notification spam when bookmarking multiple tweets:- Individual saves show a confirmation toast
- Burst events are collapsed into aggregate messages
- Rate limiting prevents UI clutter during batch bookmarking
Permissions Required
X/Twitter capture requires:- Host permissions for
*://x.com/*and*://twitter.com/* - Content script injection at
document_idle
Browser Bookmark Sync
When you create a bookmark using Chrome’s native bookmark system, the extension automatically syncs it to Minimal.How It Works
- Create a Browser Bookmark: Use Chrome’s bookmark button (⭐) or
Cmd/Ctrl+D - Automatic Detection: The extension listens for the
chrome.bookmarks.onCreatedevent - Save to Minimal: The bookmark is saved to your Imported - Browser group
- Silent Sync: No toast or notification (silent background sync)
Import Group
All synced browser bookmarks are saved to a group named Imported - Browser. This group is automatically created on first use with an indigo color (#6366f1).
Bulk Import
For importing large numbers of existing browser bookmarks, use the bulk import API:- Maximum 2,000 bookmarks per request
- Processed in chunks of 500 for reliability
- Invalid URLs are skipped and counted in error summary
- Duplicate URLs within the batch or group are skipped
Permissions Required
Browser bookmark sync requires:bookmarkspermission to listen for new bookmark eventsstoragepermission to track which bookmarks have been synced
Deduplication Across Sources
When the same URL is captured from multiple sources (manual save, X bookmark, browser bookmark), the extension uses intelligent deduplication.URL Normalization
All URLs are normalized before comparison:Reclassification Logic
When a duplicate URL is detected:- Timestamp Comparison: The bookmark with the most recent
lastCapturedAtwins - Source Priority: If timestamps are equal, source priority determines the group:
- Manual popup (highest)
- Manual context menu
- Manual keyboard shortcut
- X bookmark
- Browser bookmark (lowest)
- Group Movement: The bookmark is moved to the winning source’s group
- Metadata Preservation: Title, tags, notes, and other metadata are preserved
- Source History: All capture sources are tracked in a history array
Example Scenario
Day 1: Browser Bookmark
You bookmark
https://example.com using Chrome’s bookmark button.- Saved to Imported - Browser
primarySource:browser_bookmarksourceHistory:["browser_bookmark"]
Day 2: X Tweet
You bookmark a tweet linking to
https://example.com.- Moved to Imported - X
primarySource:x_bookmarksourceHistory:["browser_bookmark", "x_bookmark"]- Title and favicon updated from tweet metadata
Reliability and Error Handling
Auto-capture features operate on a best-effort basis:No Retry Queue
- Failed captures are not retried
- Transient network errors may cause missed saves
- Service worker restarts may drop in-flight events
Error Logging
All errors are logged to the service worker console with source tags:- Go to
chrome://extensions/ - Find the Minimal extension
- Click “service worker” to open the console
Background Sync Failures
- X Capture: Failed saves show no user-facing error (logged only)
- Browser Sync: Silent operation - failures are invisible to the user
- Authentication Issues: If you’re logged out, auto-capture silently fails until you log back in
Configuration
Auto-capture features work automatically once the extension is installed. No configuration is required.API Endpoints
The extension uses these API endpoints for auto-capture:Save Single Bookmark
Bulk Import (Browser Bookmarks)
Check Bookmark Existence
- Valid user session (authenticated)
- Request origin matching the configured extension ID
- CORS headers for cross-origin requests