How josh-uudal/tabbit works
Tabbit is a Chromium extension for saving groups of tabs, closing them to free memory, and reopening them later. The main workflow starts in the popup: the user selects tabs, saves a named group, and Tabbit stores it; the group-detail page supports editing and continuing. The service worker handles reminders, recurring resets, archiving, previews, and opted-in navigation tracking. Major UI capabilities are represented, with storage and domain helpers shown as internal layers. Some connections are based on README statements because the relevant implementation excerpts are incomplete.
Main entry points: service-worker.js Extension service worker · storage.js Groups and settings · modal.js Group detail and board · popup.js Popup manager
Components 14
User surfaces
- Popup manager
popup/popup.js - Group detail and board
modal/modal.js - Options and backups
options/options.js
Group lifecycle
- Tab save and reopen
popup/popup.js - Follow navigation
lib/tracking.js
Background services
- Extension service worker
background/service-worker.js - Reminder scheduling
lib/reminders.js - Preview cache
lib/previews.js
Domain and storage
- Groups and settings
lib/storage.js - Group and tab models
lib/models.js - Modes and defaults
config/constants.js - Display formatting
lib/format.js
Other components
- User
- Chromium APIs
Connections 27
- User → Popup manager: saves tabs
README.md - User → Group detail and board: manages groups
README.md - Popup manager → Groups and settings: reads and writes
popup/popup.js - Popup manager → Tab save and reopen: saves or continues
README.md - Tab save and reopen → Chromium APIs: closes and opens tabs
README.md - Tab save and reopen → Preview cache: pins thumbnails
popup/popup.js - Tab save and reopen → Groups and settings: persists group
popup/popup.js - Popup manager → Follow navigation: opens tracked tabs
popup/popup.js - Group detail and board → Groups and settings: reads and edits
modal/modal.js - Group detail and board → Preview cache: loads thumbnails
modal/modal.js - Group detail and board → Chromium APIs: manages saved tabs
README.md - Group detail and board → Extension service worker: requests reminders
modal/modal.js - Options and backups → Groups and settings: imports and exports
options/options.js - Options and backups → Preview cache: clears cache
options/options.js - Extension service worker → Groups and settings: runs maintenance
background/service-worker.js - Extension service worker → Reminder scheduling: schedules and clears
background/service-worker.js - Extension service worker → Preview cache: captures previews
README.md - Extension service worker → Follow navigation: tracks navigation
background/service-worker.js - Extension service worker → Chromium APIs: uses tab and alarm APIs
README.md - Extension service worker → Chromium APIs: shows notifications
background/service-worker.js - Groups and settings → Chromium APIs: persists local data
README.md - Preview cache → Chromium APIs: stores in IndexedDB
README.md - Reminder scheduling → Modes and defaults: uses reminder modes
lib/reminders.js - Groups and settings → Group and tab models: normalizes groups
lib/storage.js - Group and tab models → Modes and defaults: uses defaults
lib/models.js - Popup manager → Display formatting: formats display
popup/popup.js - Group detail and board → Display formatting: formats display
modal/modal.js