![]()
Discrub v2.0.0
A clean, feature-rich Discord data manipulation and export tool. Chrome/Firefox extension for editing, deleting, sorting, filtering, and exporting Discord messages.
Forked from prathercc/discrub-ext with all ads, donation prompts, and promotional content removed. Rebuilt with Catppuccin Mocha theme and 26 new features across three tiers.
Features
Message Management
- Edit/Delete your Discord messages in bulk
- Purge channels or DMs with configurable options
- Dry run preview - see exactly what will be affected before purging
- Pinned message protection - skip pinned messages during purge
- Crash-safe resume - interrupted operations save progress and can be resumed
- Batch find & replace - regex find/replace across messages with preview diff
Export
- 6 export formats - HTML, JSON, CSV, Markdown, Media-only, URL List
- Encrypted exports - AES-256-GCM password encryption via Web Crypto API
- Incremental export - only export messages since your last export
- Filename anonymizer - replace original filenames with hashes for privacy
- Server structure export -
server-info.jsonwith metadata, channels, roles - Media download support (images, videos, audio) with artist mode
- Thread/forum post separation into subfolders
Search & Filter
- Regex filtering - toggle regex mode for content and attachment searches
- Advanced predicates - filter by has:attachment, has:link, has:embed, is:edited
- Time range presets - quick 24h/48h/7d/30d/90d/1y buttons on date pickers
- Sort & filter by user, date range, content, message type
Analytics & Data
- Analytics dashboard - per-user stats, hourly/daily activity heatmap, top words, top emoji
- Calendar heatmap - 365-day GitHub-style contribution graph of message activity
- Duplicate detection - flag repeated messages from the same user
- Attachment gallery - grid view with type filter, lightbox preview
- GDPR data package import - browse messages from all channels including servers you've left
- Bookmarks - save messages locally, persistent across sessions
- View raw JSON - copy any message's raw Discord API data
Performance & UX
- Adaptive rate limiting - auto-tunes delay (0.5s to 30s) based on 429 responses
- ETR + telemetry - progress bar, estimated time remaining, messages/sec rate, throttle counter
- Catppuccin Mocha dark theme throughout
- Draggable panel - reposition the dialog by grabbing the menu bar
- Streamer mode - blur sensitive content for safe screen sharing (hover to reveal)
- Tags for organizing and quick-filtering
Build
npm install
npm run build
Load the dist/ folder as an unpacked extension in Chrome (chrome://extensions > Developer mode > Load unpacked).
Development
npm run dev
Vite provides HMR for the extension popup.
Tech Stack
- React 18 + TypeScript + Vite
- MUI Material v5 (Catppuccin Mocha)
- Redux Toolkit
- Chrome Extension Manifest V3
- Web Crypto API (AES-256-GCM + PBKDF2)
- Native
DecompressionStreamfor GDPR ZIP parsing
What Was Removed
- Ko-Fi donation sidebar and all donation code
- Announcement/news popup system
- Promotional buttons (GitHub star, Chrome Web Store, Ko-Fi, Reddit)
- Embedded GitHub PAT token
- All upstream screenshots and documentation
License
Same as upstream.