How kuldeep-sharmaa/remindrai works
RemindrAI is a web application for defining a creator’s content identity, scheduling recurring or one-time content deliveries, and receiving prepared drafts in a Deliveries inbox. Users authenticate, set preferences, create reminder intent, and the backend schedules execution and returns drafts for review. The graph includes the documented AI, notification, analytics, and timezone capabilities, but their internal wiring is not fully shown in the excerpts; those links are omitted where evidence is insufficient. Some backend modules are represented by exact source paths from the tree without implying unsampled implementation details.
Main entry points: remindrClient.js Reminder client · executeReminder.ts Reminder execution · firebase.js Firebase clients · App.jsx Route application
Components 26
Web experience
- Route application
src/App.jsx - Login and signup
src/components/auth/AuthWrapper.jsx - Auth context
src/context/AuthContext.jsx - Workspace shell
src/layouts/workspaceLayout.jsx - Content identity
src/pages/OnboardingSetup.jsx - Deliveries inbox
src/pages/workspace/Content.jsx - Timezone sync
src/hooks/useTimezoneSync.js
Reminder authoring
- Reminder form
src/features/remindersystem/hooks/useReminderForm.js - Form validation
src/features/remindersystem/hooks/useReminderValidation.js - Create delivery
src/features/remindersystem/screens/CreateReminderScreen.jsx - Reminder client
src/features/remindersystem/services/remindrClient.js - Reminder query
src/features/remindersystem/hooks/useRemindrQuery.js
Draft operations
- Function registry
functions/src/index.ts - Add prompt
functions/src/tools/addPrompt.ts - Scheduler
functions/src/scheduler/runScheduler.ts - Reminder execution
functions/src/execution/executeReminder.ts - AI prompt builder
functions/src/ai/buildPrompt.ts - AI generation
functions/src/ai/callAIOnce.ts - Push notification
functions/src/notifications/sendPushNotification.ts
Firebase platform
- Account service
src/services/authService.js - Reminder records
- Firebase clients
src/services/firebase.js - Firebase Auth
- Firestore
Other components
- Visitor or user
- AI provider
Connections 31
- Visitor or user → Route application: uses
README.md - Route application → Login and signup: routes to
src/App.jsx - Login and signup → Auth context: authenticates through
- Auth context → Account service: updates profile
src/context/AuthContext.jsx - Account service → Firebase Auth: signs in
src/services/authService.js - Account service → Firestore: stores profile
src/services/authService.js - Route application → Workspace shell: routes to
src/App.jsx - Workspace shell → Auth context: reads session
src/layouts/workspaceLayout.jsx - Visitor or user → Content identity: sets identity
README.md - Visitor or user → Create delivery: creates delivery
README.md - Create delivery → Reminder form: collects input
- Reminder form → Form validation: validates
src/features/remindersystem/hooks/useReminderForm.js - Reminder form → Reminder client: saves intent
src/features/remindersystem/hooks/useReminderForm.js - Reminder client → Add prompt: calls callable
src/features/remindersystem/services/remindrClient.js - Function registry → Add prompt: registers
functions/src/index.ts - Function registry → Scheduler: registers
functions/src/index.ts - Scheduler → Reminder execution: dispatches
functions/src/scheduler/runScheduler.ts - Reminder execution → AI prompt builder: prepares draft
- AI prompt builder → AI generation: builds generation request
- AI generation → AI provider: requests generation
- Reminder execution → Deliveries inbox: delivers draft
- Reminder client → Reminder records: reads reminders
src/features/remindersystem/services/remindrClient.js - Reminder query → Reminder records: queries reminders
src/features/remindersystem/hooks/useRemindrQuery.js - Reminder client → Firebase clients: uses Firestore
src/features/remindersystem/services/remindrClient.js - Reminder query → Firebase clients: uses Firestore
src/features/remindersystem/hooks/useRemindrQuery.js - Firebase clients → Firestore: initializes
src/services/firebase.js - Firebase clients → Firebase Auth: initializes
src/services/firebase.js - Visitor or user → Timezone sync: syncs timezone
- Timezone sync → Firestore: writes timezone
src/hooks/useTimezoneSync.js - Reminder execution → Push notification: sends notification
- Visitor or user → Deliveries inbox: reviews drafts
README.md