How samiiirkarki-dv/echoread-ai-powered-audiobooks works
Readify AI is a mobile-oriented reading app: users authenticate, manage a personal book library, open books in a reader, and listen to book text with playback controls. The app also includes onboarding, focus, profile, and settings areas. Supabase supplies authentication and app data; OCR extraction, AI cover generation, and speech generation are present as server functions. Those function implementations and several page-to-page interactions were not sampled, so uncertain links are omitted or marked unverified.
Main entry points: App.tsx Routes and guards · client.ts Supabase client · ReaderPage.tsx Reader · ListeningPage.tsx Listening player
Components 18
App entry
- Sign-in page
src/pages/AuthPage.tsx - Onboarding
src/pages/OnboardingPage.tsx - Splash screen
src/pages/SplashScreen.tsx - Routes and guards
src/App.tsx
Reading experience
- Reader
src/pages/ReaderPage.tsx - Listening player
src/pages/ListeningPage.tsx - Focus mode
src/pages/FocusPage.tsx - Library and playlists
src/pages/LibraryPage.tsx - Home dashboard
src/pages/HomePage.tsx
Account and data
- Profile
src/pages/ProfilePage.tsx - Settings
src/pages/SettingsPage.tsx - Auth state
src/contexts/AuthContext.tsx - Supabase client
src/integrations/supabase/client.ts - Supabase service
Generation services
- OCR extraction
supabase/functions/ocr-extract/index.ts - AI cover generation
supabase/functions/ai-generate-cover/index.ts - Speech generation
supabase/functions/tts-speak/index.ts
Other components
- Reader
Connections 23
- Reader → Routes and guards: opens app
src/App.tsx - Routes and guards → Sign-in page: routes to
src/App.tsx - Routes and guards → Home dashboard: routes to
src/App.tsx - Routes and guards → Reader: routes to
src/App.tsx - Routes and guards → Listening player: routes to
src/App.tsx - Routes and guards → Library and playlists: routes to
src/App.tsx - Routes and guards → Profile: routes to
src/App.tsx - Routes and guards → Settings: routes to
src/App.tsx - Routes and guards → Splash screen: renders
src/App.tsx - Routes and guards → Onboarding: renders
src/App.tsx - Routes and guards → Auth state: provides auth
src/App.tsx - Sign-in page → Auth state: uses auth
src/pages/AuthPage.tsx - Auth state → Supabase client: calls auth API
src/contexts/AuthContext.tsx - Supabase client → Supabase service: connects to
src/integrations/supabase/client.ts - Home dashboard → Supabase client: reads app data
src/pages/HomePage.tsx - Library and playlists → Supabase client: manages books
src/pages/LibraryPage.tsx - Listening player → Supabase client: loads book data
src/pages/ListeningPage.tsx - Profile → Supabase client: accesses data
src/pages/ProfilePage.tsx - Settings → Supabase client: accesses data
src/pages/SettingsPage.tsx - Reader → Supabase client: accesses data
src/pages/ReaderPage.tsx - Reader → OCR extraction: may request OCR
- Library and playlists → AI cover generation: may request covers
- Listening player → Speech generation: may request speech