Update
This commit is contained in:
42
CLAUDE.md
42
CLAUDE.md
@@ -91,4 +91,44 @@ #### Special Configurations
|
||||
#### Environment-Specific Features
|
||||
- Test routes can be enabled via `ENABLE_TEST_ROUTES=true`
|
||||
- Uses Laravel Horizon for queue management in production
|
||||
- Supports both regular and SSR deployments
|
||||
- Supports both regular and SSR deployments
|
||||
|
||||
## Platform Features Overview
|
||||
|
||||
### Core AI Features
|
||||
- **Text-to-Meme Generation**: Users input text prompts, AI generates appropriate memes using vector similarity matching
|
||||
- **Multi-AI Integration**: OpenAI, Cloudflare AI, and Runware AI for different generation tasks
|
||||
- **Smart Keyword Matching**: PostgreSQL pgvector for semantic search and content matching
|
||||
- **AI Hint System**: Provides keyword suggestions organized by action/emotion/misc categories
|
||||
- **AI Caption & Background Generation**: Automatic witty captions and custom background creation
|
||||
|
||||
### Video/Media Editing
|
||||
- **Canvas-Based Editor**: 9:16 aspect ratio video canvas (720x1280px) with responsive scaling
|
||||
- **Drag-and-Drop Interface**: Interactive positioning of elements with timeline controls
|
||||
- **Template Library**: 30+ meme video templates and 30+ AI-generated background media
|
||||
- **Export System**: Multiple formats (MOV, WebM, GIF, WebP) with watermark-free premium exports
|
||||
- **FFmpeg Integration**: Client-side processing via FFmpeg.wasm
|
||||
|
||||
### User Management & Authentication
|
||||
- **Google OAuth + Email/Password**: Dual authentication methods via Laravel Sanctum
|
||||
- **UUID-based Public IDs**: Secure user identification using Hashids
|
||||
- **User Dashboard**: Personalized interface with usage statistics and generation history
|
||||
|
||||
### Credit System & Monetization
|
||||
- **Credit-Based Economy**: 2 credits per meme generation (1 caption + 1 background)
|
||||
- **Stripe Integration**: Laravel Cashier for subscriptions and one-time purchases
|
||||
- **Usage Tracking**: Real-time credit balance, transaction history, and consumption analytics
|
||||
- **Subscription Management**: Multiple plan types with billing portal access
|
||||
|
||||
### Technical Features
|
||||
- **Queue Processing**: Laravel Horizon with background job processing and real-time status updates
|
||||
- **Vector Search**: Semantic content matching using PostgreSQL pgvector extension
|
||||
- **Responsive Design**: Mobile-first interface with progressive enhancement
|
||||
- **Generation History**: Users can view last 20 generations with regeneration capability
|
||||
- **Security**: CSRF protection, rate limiting, input validation, secure file handling
|
||||
|
||||
### Admin/Management
|
||||
- **Content Management**: Categorized meme library with hierarchical categories (kalnoy/nestedset)
|
||||
- **Background Generation Tool**: Admin interface for creating new background media
|
||||
- **Usage Analytics**: Platform-wide statistics and user consumption patterns
|
||||
- **Bulk Operations**: Mass content management and moderation tools
|
||||
Reference in New Issue
Block a user