🔖 Bookmark Organizer
Automatically categorize your bookmarks using keyword rules, then export as JSON or CSV.
📋 What It Does
- Scrolls through your bookmarks page collecting all bookmarked tweets
- Applies keyword-based categorization rules
- Groups bookmarks into categories
- Displays category counts and summaries
- Exports organized bookmarks as JSON or CSV
🌐 Browser Console Script
Steps:
- Go to
x.com/i/bookmarks - Edit CONFIG with your categorization rules
- Open console (F12) and paste
src/bookmarkOrganizer.js
Configuration:
const CONFIG = {
categories: {
'Tech': ['javascript', 'python', 'react', 'programming', 'code'],
'Crypto': ['bitcoin', 'ethereum', 'web3', 'defi', 'nft'],
'News': ['breaking', 'update', 'announced', 'launched'],
'Humor': ['lol', 'lmao', '😂', 'funny'],
},
exportFormat: 'json', // 'json' or 'csv'
scrollCycles: 20,
delayBetweenScrolls: 1500,
};
📊 Output
🔖 BOOKMARK ORGANIZER
━━━━━━━━━━━━━━━━━━━━
Total bookmarks: 150
📁 Tech: 45 bookmarks
📁 Crypto: 32 bookmarks
📁 News: 18 bookmarks
📁 Humor: 12 bookmarks
📁 Uncategorized: 43 bookmarks
📁 Files
src/bookmarkOrganizer.js— Bookmark organizer and exportersrc/clearAllBookmarks.js— Clear all bookmarks (use after exporting)
⚠️ Notes
- Tweets matching multiple categories are placed in the first matching one
- Unmatched bookmarks go into an "Uncategorized" group
- Keyword matching is case-insensitive on tweet text
- CSV export works well with spreadsheet apps for further sorting
⚡ Ready to try Bookmark Organizer?
XActions is 100% free and open-source. No API keys, no fees, no signup.
Browse All Scripts