An advanced AI-powered meme generator with a complete Content Management System, user authentication, payment processing, and admin dashboard.
- Google Gemini AI Integration - Advanced AI-powered meme text generation
- Custom Image Upload - Support for JPEG, PNG, GIF, WebP formats
- Professional Text Overlay - Impact font with stroke effects
- Configurable Settings - Erotic scale, language preferences, social platforms
- Smart Hashtag Generation - AI-generated hashtags for social media
- Watermark Removal - Clean, professional memes for premium users
- HD Quality Downloads - High-resolution image exports
- Custom Text Control - Manual text editing capabilities
- Advanced Styling - Font customization and positioning
- Priority Processing - Faster AI generation for premium users
- JWT Authentication - Secure user registration and login
- Premium Subscriptions - Stripe payment integration ($19.99/month)
- User Dashboard - Meme history and account management
- Email Notifications - Welcome and upgrade confirmation emails
- Article Management - Full CRUD operations for blog posts
- Bulk Import - CSV upload for mass content import
- SEO Optimization - Meta titles, descriptions, and keywords
- Category & Tags - Content organization and filtering
- Status Management - Draft/Published workflow
- Featured Images - Image support for articles
- Real-time Analytics - User metrics, meme statistics, revenue tracking
- User Management - Upgrade/downgrade users, account moderation
- Content Moderation - Review and manage user-generated content
- Payment Monitoring - Stripe transaction tracking
- System Monitoring - Server health and performance metrics
- Blog Management - Content publishing and editing tools
- Node.js - Runtime environment
- Express.js - Web application framework
- MongoDB - Database with Mongoose ODM
- JWT - Authentication tokens
- Stripe - Payment processing
- Google Gemini AI - AI text generation
- Canvas API - Image processing
- Sharp & Jimp - Image manipulation
- Nodemailer - Email notifications
- bcryptjs - Password hashing
- Vanilla JavaScript - Client-side scripting
- Chart.js - Analytics dashboards
- Font Awesome - Icons
- Google Fonts - Typography
- CSS Grid/Flexbox - Responsive layouts
- Modern CSS - Custom properties, gradients, animations
- Helmet.js - Security headers
- Rate Limiting - DDoS protection
- Input Validation - Express-validator
- CORS - Cross-origin resource sharing
- Compression - Gzip compression
- File Upload Limits - Multer configuration
- Node.js 16+
- MongoDB database
- Stripe account for payments
- Google Cloud account for Gemini AI
- Email service (SMTP) for notifications
-
Clone the repository
git clone https://github.com/yourusername/cuckmemes.git cd cuckmemes -
Install dependencies
npm install
-
Set up environment variables Create a
.envfile in the root directory:# Database MONGODB_URI=mongodb://localhost:27017/cuckmemes # Authentication JWT_SECRET=your-super-secret-jwt-key # Stripe Payment STRIPE_SECRET_KEY=sk_test_your_stripe_secret_key STRIPE_WEBHOOK_SECRET=whsec_your_webhook_secret # Google Gemini AI GEMINI_API_KEY=your-gemini-api-key # Email Configuration EMAIL_HOST=smtp.gmail.com EMAIL_PORT=587 EMAIL_SECURE=false EMAIL_USER=your-email@gmail.com EMAIL_PASS=your-app-password EMAIL_FROM=CuckMemes <noreply@cuckmemes.com> # Admin Account ADMIN_EMAIL=admin@cuckmemes.com ADMIN_PASSWORD=secure-admin-password # App Configuration PORT=3000 MAX_FILE_SIZE=10485760 PREMIUM_PRICE=19.99 WATERMARK_TEXT=CuckMemes.com
-
Import articles to database
node import-articles.js
-
Start the application
npm start
-
Access the application
- Main App: http://localhost:3000
- Admin Panel: http://localhost:3000/admin
- Blog: http://localhost:3000/blog
cuckmemes/
βββ articles/ # Article content and images
β βββ images/ # Article images
β βββ blogs/ # HTML blog posts
β βββ *.md # Markdown source files
βββ public/ # Static frontend files
β βββ index.html # Main meme generator
β βββ admin.html # Admin dashboard
β βββ blog.html # Blog listing
β βββ styles.css # Global styles
β βββ script.js # Frontend JavaScript
βββ uploads/ # User uploaded files
βββ server.js # Main server file
βββ articles-handler.js # Article management logic
βββ import-articles.js # Database import script
βββ package.json # Dependencies and scripts
βββ .env # Environment variables
βββ .gitignore # Git ignore rules
βββ README.md # Project documentation
GET /- Main meme generatorGET /blog- Blog listing pageGET /blog/:slug- Individual blog postPOST /api/users/register- User registrationPOST /api/users/login- User loginGET /api/blog/posts- Get blog postsGET /api/blog/posts/:slug- Get specific post
GET /api/users/profile- User profilePOST /api/generate-meme- Generate meme (requires image upload)GET /api/users/memes- User's meme historyDELETE /api/users/memes/:id- Delete user's meme
POST /api/admin/login- Admin authenticationGET /api/admin/dashboard- Dashboard analyticsGET /api/admin/users- User managementGET /api/admin/content/articles- Article managementPOST /api/admin/content/articles- Create articlePUT /api/admin/content/articles/:id- Update articleDELETE /api/admin/content/articles/:id- Delete article
POST /api/stripe/create-checkout-session- Create payment sessionPOST /api/stripe/webhook- Stripe webhook handler
- Set up production MongoDB database
- Configure production email service
- Set up Stripe webhooks for production
- Configure domain and SSL certificates
- Heroku - Easy deployment with add-ons
- Vercel - Serverless deployment
- DigitalOcean - VPS with Docker
- AWS - EC2 with RDS and S3
- Use MongoDB Atlas for database
- Configure Redis for session storage
- Set up CDN for static assets
- Enable SSL/HTTPS
- Configure monitoring and logging
- Responsive Design - Works on all devices
- Intuitive Interface - Easy-to-use meme creation
- Real-time Feedback - Instant generation results
- Social Integration - Platform-specific hashtags
- Account Management - Profile and subscription control
- Input Validation - Prevents XSS and injection attacks
- Rate Limiting - API abuse prevention
- File Type Validation - Secure image uploads
- JWT Authentication - Stateless security tokens
- Password Hashing - bcrypt encryption
- User Registration Trends - Growth tracking
- Meme Generation Analytics - Usage patterns
- Revenue Tracking - Payment monitoring
- System Performance - Server health metrics
- Content Analytics - Blog post engagement
- 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.
- Google Gemini AI for advanced text generation
- Stripe for secure payment processing
- MongoDB for flexible data storage
- Chart.js for beautiful analytics
- Font Awesome for comprehensive icons
For support, email support@cuckmemes.com or join our Discord community.
Built with β€οΈ by the CuckMemes Team