How memodlike/asterfold works
Asterfold is a local-first Chrome New Tab bookmark workspace. Users open a tab, organize Pages into Boards and Bookmarks, search and launch saved sites, and manage appearance, privacy, and recovery; optional import/export supports backups and Chrome bookmarks. The graph combines documented product capabilities with relationships visible in sampled source and the SOURCE INDEX. Several feature implementations were not excerpted, so their internal calls are omitted rather than inferred.
Main entry points: WorkspaceApp.tsx Workspace shell · repository.ts Workspace repository · exportImport.ts Import and export · PopupApp.tsx Extension popup
Components 28
Workspace experience
- New Tab entry
entrypoints/newtab/main.tsx - Onboarding
src/features/onboarding/OnboardingGate.tsx - Workspace shell
src/app/WorkspaceApp.tsx - App launcher
src/app/AppLauncher.tsx - Extension popup
entrypoints/popup/PopupApp.tsx
User features
- Pages and Boards
src/features/boards - Bookmark editing
src/features/bookmarks - Search interface
src/features/search/SearchPalette.tsx - Settings and themes
src/features/settings - Trash and restore
src/features/trash/TrashDialog.tsx - Privacy mode
src/app/usePrivacyMode.ts - Import and export
src/services/exportImport.ts
Local data
- Workspace repository
src/db/repository.ts - IndexedDB
src/db/database.ts - Schema migrations
src/db/migrations.ts
Browser integration
- Chrome bookmark import
src/features/onboarding/chromeBookmarkImport.ts - Import worker
src/services/importWorker.ts - Background entry
entrypoints/background.ts - Browser API
src/browser/api.ts - Privacy session storage
src/browser/privacySession.ts
Shared services
- Search engine
src/search/searchEngine.ts - Theme runtime
src/features/appearance/useThemeRuntime.ts - Display compatibility
src/features/performance/performanceProfile.ts - Wallpaper processing
src/services/wallpaper.ts - Domain rules and models
src/domain - Localization
src/i18n/index.tsx
Other components
- User
- Chrome New Tab
Connections 36
- User → Chrome New Tab: opens tab
- Chrome New Tab → New Tab entry: loads workspace
- New Tab entry → Onboarding: renders
entrypoints/newtab/main.tsx - Onboarding → Workspace shell: continues to
- User → Workspace shell: organizes bookmarks
- Workspace shell → App launcher: offers controls
- Workspace shell → Pages and Boards: organizes Pages
- Workspace shell → Bookmark editing: manages bookmarks
- Workspace shell → Search interface: opens search
- Search interface → Search engine: queries
src/features/search/SearchPalette.tsx - Search interface → Localization: translates labels
src/features/search/SearchPalette.tsx - Workspace shell → Settings and themes: opens settings
- Settings and themes → Theme runtime: configures appearance
- Theme runtime → Display compatibility: reads profile
src/features/appearance/useThemeRuntime.ts - Workspace shell → Trash and restore: opens trash
- Extension popup → Workspace shell: opens workspace
entrypoints/popup/PopupApp.tsx - Extension popup → Privacy mode: controls privacy
entrypoints/popup/PopupApp.tsx - Privacy mode → Workspace repository: persists setting
src/app/usePrivacyMode.ts - Privacy mode → Privacy session storage: reads and writes
src/app/usePrivacyMode.ts - User → Chrome bookmark import: requests import
- Extension popup → Chrome bookmark import: reads bookmarks
entrypoints/popup/PopupApp.tsx - Extension popup → Import and export: imports records
entrypoints/popup/PopupApp.tsx - User → Import and export: backs up or restores
- Import worker → Import and export: delegates import
src/services/importWorker.ts - Import and export → Workspace repository: ensures workspace
src/services/exportImport.ts - Import and export → IndexedDB: reads and writes data
src/services/exportImport.ts - Workspace repository → IndexedDB: persists entities
src/db/repository.ts - IndexedDB → Schema migrations: registers upgrades
src/db/database.ts - Workspace repository → Wallpaper processing: processes uploads
src/db/repository.ts - Workspace repository → Domain rules and models: uses validation and ordering
src/db/repository.ts - Import and export → Domain rules and models: validates and normalizes
src/services/exportImport.ts - Background entry → Workspace repository: uses workspace data
entrypoints/background.ts - Background entry → Browser API: uses browser messages
- Search interface → Browser API: opens bookmark targets
src/features/search/SearchPalette.tsx - Workspace shell → Workspace repository: loads workspace
- Workspace repository → IndexedDB: accesses database
src/db/repository.ts