Transform your ideas into cosmic content across all platforms with AI magic! β¨
Timeline Alchemy is a comprehensive AI-powered content creation and social media management platform that helps creators, businesses, and organizations generate, schedule, and publish content across multiple platforms with cosmic styling and intelligent automation.
- Comprehensive Content Creation: Generate blog posts, social media content, and images using OpenAI GPT-4 and DALL-E 3
- Multi-Platform Social Posts: Automatically create platform-specific content for Twitter, LinkedIn, Discord, Reddit, Telegram, Facebook, Instagram, and YouTube
- Cosmic Image Generation: Generate ethereal, mystical, and fantastical images with warm golden light and magical atmosphere
- Smart Content Packages: Create comprehensive content packages with blog posts + social media posts + images
- Calendar Integration: Visual calendar interface for scheduling posts
- Multi-Platform Scheduling: Schedule content to multiple platforms simultaneously
- Timezone Management: Proper UTC/local timezone handling
- Admin Package Distribution: Schedule admin-created packages to client organizations
- OAuth 2.0 Authentication: Secure connections to all major platforms
- Platform Support: Twitter/X, LinkedIn, Discord, Reddit, Telegram, Facebook, Instagram, YouTube
- WordPress Integration: Direct posting to WordPress sites (self-hosted and WordPress.com)
- Token Management: Automatic token refresh and status monitoring
- Multi-Tenant Architecture: Support for multiple organizations
- Client Management: Assign clients to organizations
- Admin Packages: Create reusable content packages for clients
- Role-Based Access: Owner, admin, and client roles with proper permissions
- Stripe Integration: Complete subscription management
- Multiple Plans: Basic, Pro, and Divine plans
- Customer Portal: Self-service billing management
- Webhook Handling: Automatic subscription updates
- Posting Status Dashboard: Monitor scheduled and published posts
- Token Status Monitoring: Track social media connection health
- Leaderboard: Track content creation performance
- Analytics Dashboard: Comprehensive usage statistics
- Next.js 14 with App Router
- TypeScript for type safety
- Tailwind CSS with cosmic styling
- shadcn/ui components
- React Hot Toast for notifications
- Supabase (PostgreSQL + Auth + Edge Functions)
- Row Level Security (RLS) for data protection
- API Routes for all functionality
- Cron Jobs for automated posting
- OpenAI GPT-4 for content generation
- DALL-E 3 for image creation
- Social Media APIs (Twitter, LinkedIn, Discord, Reddit, Telegram, etc.)
- WordPress REST API integration
- Stripe for payments
- OAuth 2.0 with PKCE for social media
- JWT Authentication via Supabase
- Row Level Security policies
- Environment variable management
- Type-safe database operations
- User Authentication & Management
- AI Content Generation (Blog + Social + Images)
- Organization & Client Management
- Social Media Connections (OAuth)
- Content Scheduling System
- Admin Package Creation & Distribution
- Subscription & Billing (Stripe)
- Posting Status Monitoring
- Token Status Dashboard
- WordPress Integration
- Calendar View with platform icons
- Cosmic UI/UX throughout the app
- Token Management System - Automatic refresh and monitoring
- Enhanced Error Handling - Better retry logic for social media APIs
- RLS Policy Optimization - Fine-tuning data access controls
- Smart Retry Logic: Exponential backoff for failed API calls
- Token Auto-Refresh: Seamless token renewal before expiry
- Manual Posting Fallback: When automation fails, easy manual posting
- Enhanced Error Handling: Better user feedback and recovery options
- Performance Optimization: Faster loading and better caching
- Content Templates: Pre-built templates for different industries
- Bulk Operations: Mass scheduling and content creation
- Advanced Analytics: Detailed performance metrics and insights
- Content Calendar: Advanced calendar features with drag-and-drop
- Team Collaboration: Multi-user content creation workflows
- Content Approval Workflows: Review and approval processes
- Custom AI Models: Fine-tuned models for specific industries
- Content Optimization: AI-powered content improvement suggestions
- Trend Analysis: AI-driven content trend identification
- Competitor Analysis: Automated competitor content monitoring
- Voice & Tone Customization: Brand-specific AI personality
- White-label Solutions: Customizable branding
- API Access: Public API for third-party integrations
- Advanced Security: SSO, audit logs, compliance features
- Custom Integrations: Webhook system for external tools
- Multi-language Support: Internationalization
- Mobile App: Native iOS/Android applications
- Node.js 18+
- npm or yarn
- Supabase account
- OpenAI API key
- Social media app credentials
# Supabase
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
SUPABASE_SERVICE_ROLE_KEY=your_service_role_key
# OpenAI
OPENAI_API_KEY=your_openai_api_key
# Social Media APIs
TWITTER_CLIENT_ID=your_twitter_client_id
TWITTER_CLIENT_SECRET=your_twitter_client_secret
LINKEDIN_CLIENT_ID=your_linkedin_client_id
LINKEDIN_CLIENT_SECRET=your_linkedin_client_secret
DISCORD_CLIENT_ID=your_discord_client_id
DISCORD_CLIENT_SECRET=your_discord_client_secret
REDDIT_CLIENT_ID=your_reddit_client_id
REDDIT_CLIENT_SECRET=your_reddit_client_secret
TELEGRAM_BOT_TOKEN=your_telegram_bot_token
# Stripe
STRIPE_PUBLISHABLE_KEY=your_stripe_publishable_key
STRIPE_SECRET_KEY=your_stripe_secret_key
STRIPE_WEBHOOK_SECRET=your_stripe_webhook_secret
# App
NEXT_PUBLIC_APP_URL=http://localhost:3000
# Clone the repository
git clone <repository-url>
cd golden-image-creator
# Install dependencies
npm install
# Set up environment variables
cp env.example .env.local
# Edit .env.local with your credentials
# Run database migrations
# (Set up Supabase project and run migrations)
# Start development server
npm run dev
βββ app/ # Next.js App Router
β βββ api/ # API routes
β β βββ auth/ # OAuth callbacks
β β βββ cron/ # Scheduled tasks
β β βββ debug/ # Development tools
β β βββ generate-*/ # AI content generation
β β βββ post-*/ # Posting engine
β β βββ stripe/ # Payment processing
β βββ auth/ # Authentication pages
β βββ dashboard/ # Main application
β β βββ admin/ # Admin-only features
β β βββ content/ # Content management
β β βββ socials/ # Social connections
β β βββ ... # Other dashboard pages
β βββ ... # Other pages
βββ components/ # Reusable components
β βββ ui/ # shadcn/ui components
β βββ ... # Custom components
βββ lib/ # Utility libraries
β βββ ai.ts # AI content generation
β βββ auth-helpers.ts # Authentication utilities
β βββ social-auth.ts # Social media OAuth
β βββ token-manager.ts # Token management
β βββ supabase.ts # Database client
βββ supabase/ # Database schema
β βββ migrations/ # SQL migrations
β βββ functions/ # Edge functions
βββ types/ # TypeScript definitions
- Purple & Blue Gradients: Mystical color scheme
- Ethereal Animations: Smooth transitions and hover effects
- Magical Typography: Gradient text and cosmic fonts
- Glowing Elements: Subtle glow effects for interactive elements
- Intuitive Navigation: Clear sidebar with cosmic icons
- Responsive Design: Works on all device sizes
- Loading States: Beautiful loading animations
- Error Handling: Graceful error messages and recovery
- Row Level Security (RLS): Database-level access control
- OAuth 2.0 with PKCE: Secure social media authentication
- JWT Tokens: Secure user sessions
- Environment Variables: Sensitive data protection
- Input Validation: All user inputs are validated
- SQL Injection Protection: Parameterized queries
- Server-Side Rendering: Fast initial page loads
- Image Optimization: Next.js automatic image optimization
- Code Splitting: Automatic bundle optimization
- Caching: Strategic caching for API calls
- Database Indexing: Optimized queries
We welcome contributions! Please see our contributing guidelines for details on:
- Code style and standards
- Pull request process
- Issue reporting
- Feature requests
This project is licensed under the MIT License - see the LICENSE file for details.
- OpenAI for GPT-4 and DALL-E 3
- Supabase for the amazing backend platform
- Vercel for hosting and deployment
- shadcn/ui for beautiful components
- Tailwind CSS for styling
- All our beta testers for valuable feedback
This platform has grown from a simple image generator to a comprehensive content creation ecosystem with:
- 10+ Social Media Platforms integrated
- AI-Powered Content Generation for all platforms
- Advanced Scheduling System with calendar view
- Multi-Tenant Architecture for organizations
- Complete Billing System with Stripe
- Token Management for reliable posting
- Cosmic UI/UX throughout the entire application
The future is bright! πβ¨
Built with β€οΈ and cosmic energy by the Timeline Alchemy team