- π§ AI-Powered Memory Storage - Capture people, conversations, and moments with intelligent context
- π Smart Search - Natural language queries to find anyone or anything instantly
- π¨ Interactive Globe Visualization - 3D visualization of connected memories and relationships
- π± Responsive Design - Seamless experience across all devices
- π Secure Authentication - Email verification with OTP-based security
- π³ Integrated Payments - Razorpay integration for premium features
- π€ Audio Recording - Voice memo capture with automatic transcription
- π OCR Processing - Extract text from images and documents
- π€ AI Insights - Get intelligent summaries and connections between memories
- π·οΈ Smart Tagging - Automatic categorization and manual tagging
- π Credit System - Freemium and premium tiers with usage tracking
- π Media Attachments - Support for images, audio, and documents
/* Primary Colors */
--purple-primary: #8B5CF6 /* Main brand color */
--teal-accent: #22D3EE /* Secondary accent */
--blue-neon: #3B82F6 /* Highlight color */
/* Background Gradients */
--dark-bg: #0E0B1C /* Primary background */
--dark-secondary: #1C152E /* Secondary background */
/* Glass Morphism */
--glass-bg: rgba(255, 255, 255, 0.05)
--glass-border: rgba(255, 255, 255, 0.1)
--glass-backdrop: blur(16px)
- Primary Font: Inter (Sans-serif)
- Display Font: Poppins (Headers and titles)
- Font Weights: 300, 400, 500, 600, 700
- Glass Morphism Cards - Semi-transparent cards with backdrop blur
- Gradient Buttons - Animated gradient backgrounds with hover effects
- Animated Icons - Lucide React icons with smooth transitions
- Interactive Elements - Hover states and micro-interactions
- Framework: React 18 with TypeScript
- Build Tool: Vite
- Styling: Tailwind CSS with custom design system
- UI Components: Shadcn/UI + Custom components
- Animations: Framer Motion
- Icons: Lucide React
- 3D Graphics: Three.js with React Three Fiber
- Database: Supabase (PostgreSQL)
- Authentication: Supabase Auth with email verification
- File Storage: Supabase Storage
- Edge Functions: Supabase Functions (Deno runtime)
- Real-time: Supabase Realtime subscriptions
- AI Provider: Groq API for fast inference
- OCR: OCR.space API for text extraction
- Speech-to-Text: AssemblyAI for audio transcription
- Payments: Razorpay for Indian market
- Email: Resend for transactional emails
- Package Manager: npm
- Version Control: Git with GitHub integration
- Deployment: Lovable hosting platform
- Environment: Node.js 18+
graph TB
A[React Frontend] --> B[Supabase Client]
B --> C[Supabase Database]
B --> D[Supabase Auth]
B --> E[Supabase Storage]
B --> F[Edge Functions]
F --> G[Groq AI API]
F --> H[OCR.space API]
F --> I[AssemblyAI API]
F --> J[Razorpay API]
F --> K[Resend Email API]
L[User] --> A
M[Mobile User] --> A
N[Desktop User] --> A
erDiagram
profiles ||--o{ memories : creates
profiles ||--o{ credit_transactions : has
profiles ||--o{ freemium_usage : tracks
memories ||--o{ memory_attachments : contains
memories ||--o{ ai_insights : generates
profiles ||--o{ payment_records : makes
profiles {
uuid id PK
text first_name
text last_name
int credits
boolean is_premium
timestamp premium_expires_at
}
memories {
uuid id PK
uuid user_id FK
text title
text summary
text content
text[] people
text[] tags
date date
jsonb ai_insights
}
memory_attachments {
uuid id PK
uuid memory_id FK
text file_url
text file_type
text extracted_text
text transcription
}
flowchart TD
A[User Visits App] --> B{Authenticated?}
B -->|No| C[Login/Signup]
B -->|Yes| D[Dashboard]
C --> E[Email Verification]
E --> F[OTP Verification]
F --> D
D --> G[View Memories]
D --> H[Add Memory]
D --> I[Search Memories]
D --> J[AI Insights]
H --> K{Has Media?}
K -->|Yes| L[Upload to Storage]
K -->|No| M[Save to Database]
L --> N[Process Media]
N --> O[Extract Text/Audio]
O --> M
I --> P[AI Search Processing]
P --> Q[Return Results]
J --> R[Generate Insights]
R --> S[Display Analysis]
- π Email Verification: OTP-based email verification system
- π‘οΈ Row-Level Security (RLS): Database-level access control
- π JWT Tokens: Secure session management
- π« Rate Limiting: Built-in protection against abuse
- π Encrypted Storage: All sensitive data encrypted at rest
- π HTTPS Only: All communications over secure connections
- π API Key Management: Secure secret management in Supabase
- π‘οΈ CORS Protection: Configured for secure cross-origin requests
- π³ PCI Compliance: Razorpay handles all payment processing
- π HMAC Verification: Payment webhook signature verification
- π‘οΈ Server-side Validation: All transactions verified server-side
- π Data Isolation: User data completely isolated per account
- ποΈ Data Deletion: Complete data removal on account deletion
- π Audit Logs: Transaction and credit usage logging
- π Secure File Upload: Validated file types and sizes
- Node.js 18+ and npm
- Supabase account
- Required API keys (see Environment Variables)
-
Clone the repository
git clone https://github.com/Ashutosh102/recalliq.git cd recalliq
-
Install dependencies
npm install
-
Set up Supabase
- Create a new Supabase project
- Run the database migrations from
supabase/migrations/
- Configure Row-Level Security policies
-
Configure Environment Variables Set up the following secrets in Supabase Edge Functions:
GROQ_API_KEY=your_groq_api_key OCR_SPACE_API_KEY=your_ocr_space_key ASSEMBLYAI_API_KEY=your_assemblyai_key RAZORPAY_KEY_ID=your_razorpay_key_id RAZORPAY_KEY_SECRET=your_razorpay_secret RESEND_API_KEY=your_resend_api_key
-
Start the development server
npm run dev
Deploy to Lovable platform:
- Connect your GitHub repository
- Configure environment variables
- Deploy with one click
- Memory Saves: 5 per month
- Memory Saves with Media: 2 per month
- AI Searches: 5 per month
- Unlimited Memory Storage
- Unlimited AI Searches
- Advanced Media Processing
- Premium Support
- Export Capabilities
We welcome contributions! Please see our Contributing Guide for details.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- π§ Email: gotodevashu@gmail.com
- π Documentation: docs.recalliq.com
- π Issues: GitHub Issues