Sort your X bookmarks into folders with a little help from TypeSafe's Jev.
bookmarx.demo.mov
BookmarX is a small Chrome extension. It scans the bookmarks you already have on X, suggests folders for them, and lets you review or change the results before filing them.
- Scans bookmarks from X's Bookmarks tab.
- Uses Jev to suggest one of your existing bookmark folders.
- Leaves low-confidence suggestions in Review instead of filing them automatically.
- Files accepted results into X through the official X API.
- Lets you move individual bookmarks manually from the popup.
BookmarX does not create or rename X folders. Create those on X first.
- Chrome or another Chromium browser with Manifest V3 support.
- An X account with bookmark folders. X Premium is required for bookmark folders.
- A TypeSafe API key.
- An X developer app configured for user authentication.
- X API access for reading and writing bookmarks.
There is no build step or package manager.
- Download or clone this repository.
- Open
chrome://extensions. - Turn on Developer mode.
- Choose Load unpacked and select the repository folder.
- Open BookmarX's Settings page.
Get a key from console.typesafe.ai, then paste it into BookmarX Settings. It is stored in this browser's extension storage.
- Create an app at console.x.com using the Native App or Single-page App type.
- In BookmarX Settings, copy the callback URL shown under X account and add that exact URL to your X app.
- Enable these scopes:
tweet.readusers.readbookmark.readbookmark.writeoffline.access
- Paste the app's client ID into Settings.
- Choose Connect X account and finish the authorization flow.
Create the folders you want to use on x.com/i/history before sorting.
- Open x.com/i/history and select the Bookmarks tab.
- Open the BookmarX popup and choose Scan bookmarks.
- Choose Auto-sort.
- Browse folders or Review in the popup.
- Change a bookmark's folder manually whenever needed.
The confidence threshold and maximum scan size are adjustable in Settings.
- Your TypeSafe API key, X client ID, and OAuth tokens are stored in
chrome.storage.localon your browser. - Bookmark text, author information, and URLs are sent to
api.typesafe.aiwhen Jev classifies bookmarks. - X folder reads and bookmark writes use X's API.
- The extension has no server of its own.
- Clear cache removes BookmarX's local scan cache; it does not delete anything from X.
Review the permissions and the source code before installing an extension from any source.
Edit the files directly, then reload the unpacked extension from chrome://extensions.
For a useful smoke test, connect a test X account, scan a small number of bookmarks, sort them, review one low-confidence result, and manually move one bookmark.
manifest.json Chrome Manifest V3 entry point
src/background.js Storage, sorting, and X filing
src/content.js Reads bookmarks and folder names from the X page
src/jev.js TypeSafe / Jev client
src/xapi.js X OAuth and bookmark API client
src/popup.* Popup UI
src/options.* Settings UI
icons/ Extension icons and logo assets