How mohamed-elrabany/recall works
Recall is a smart bookmarking app: users sign in, save and organize links, then browse bookmarks, favorites, and tags. Edited bookmark content is embedded asynchronously for meaning-based retrieval; Supabase supplies authentication and persistence. The graph also covers account preferences and the protected/public route split. Semantic search is a documented product capability, but its UI and retrieval implementation are not visible in the sampled source, so no search execution path is inferred.
Main entry points: AppRoutes.tsx Route map · bookmarkServices.ts Bookmark service · store.ts Redux store · App.tsx App bootstrap
Components 25
App experience
- App bootstrap
src/App.tsx - Route map
src/routes/AppRoutes.tsx - Protected shell
src/routes/ProtectedRoutes.tsx - Public routes
src/routes/PublicRoutes.tsx
Bookmark workflow
- Bookmark pages
src/pages/AddBookmark.tsx - Browse pages
src/pages/Dashboard.tsx - Bookmark details
src/pages/BookmarkDetails.tsx - Tag browsing
src/pages/Tags.tsx - Bookmark loading
src/hooks/useBookmark.tsx - Bookmark service
src/services/bookmarkServices.ts - Embedding function
supabase/functions/generate-embedding/index.ts - Content extraction
supabase/functions/extract-content/index.tsx
Identity and preferences
- Sign-in pages
src/pages/Login.tsx - Auth lifecycle
src/hooks/useAuth.tsx - Auth service
src/services/authServices.ts - Settings
src/pages/Settings.tsx - User service
src/services/userServices.ts
State and services
- Supabase
src/lib/supabaseClient.ts - Redux store
src/store/store.ts - Auth state
src/store/slices/authSlice.ts - Bookmark state
src/store/slices/bookmarkSlice.ts - User state
src/store/slices/userSlice.ts - Bookmark selectors
src/store/selectors/bookmarkSelectors.ts - Bookmark model
src/types/bookmark.ts
Other components
- User
Connections 31
- User → Route map: navigates
src/routes/AppRoutes.tsx - App bootstrap → Route map: renders
src/App.tsx - App bootstrap → Auth lifecycle: starts auth
src/App.tsx - App bootstrap → Bookmark loading: loads bookmarks
src/App.tsx - Route map → Public routes: routes public
src/routes/AppRoutes.tsx - Route map → Protected shell: routes protected
src/routes/AppRoutes.tsx - Route map → Bookmark pages: routes bookmark
src/routes/AppRoutes.tsx - Route map → Browse pages: routes browsing
src/routes/AppRoutes.tsx - Route map → Bookmark details: routes details
src/routes/AppRoutes.tsx - Route map → Tag browsing: routes tags
src/routes/AppRoutes.tsx - Route map → Sign-in pages: routes sign-in
src/routes/AppRoutes.tsx - Route map → Settings: routes settings
src/routes/AppRoutes.tsx - Protected shell → Redux store: checks auth
src/routes/ProtectedRoutes.tsx - Bookmark loading → Bookmark service: fetches bookmarks
src/hooks/useBookmark.tsx - Bookmark loading → Bookmark state: updates state
src/hooks/useBookmark.tsx - Bookmark pages → Bookmark service: saves bookmarks
src/pages/AddBookmark.tsx - Bookmark details → Bookmark selectors: selects bookmark
src/pages/BookmarkDetails.tsx - Tag browsing → Bookmark selectors: selects by tag
src/pages/Tags.tsx - Bookmark service → Supabase: reads and writes
src/services/bookmarkServices.ts - Bookmark service → Embedding function: requests embedding
src/services/bookmarkServices.ts - Bookmark service → Bookmark model: uses bookmark type
src/services/bookmarkServices.ts - Sign-in pages → Auth service: submits credentials
src/pages/Login.tsx - Auth lifecycle → Auth service: loads session
src/hooks/useAuth.tsx - Auth lifecycle → Auth state: updates auth state
src/hooks/useAuth.tsx - Auth service → Supabase: calls auth
src/services/authServices.ts - Settings → User state: reads preferences
src/pages/Settings.tsx - User state → User service: persists changes
src/store/slices/userSlice.ts - User service → Supabase: stores profile
src/services/userServices.ts - Redux store → Auth state: combines reducer
src/store/store.ts - Redux store → Bookmark state: combines reducer
src/store/store.ts - Redux store → User state: combines reducer
src/store/store.ts