rustic-application

byMacv Gaming (Faizan)

You are a senior full-stack engineer, UI/UX designer, AI integration expert, and scalable SaaS architect. Build a COMPLETE production-ready AI SaaS web application called: “AI Thumbnail + Caption Generator” The app helps YouTubers, Instagram creators, and short-form content creators generate: - AI thumbnails - Viral captions - Hooks - Hashtags - YouTube descriptions - Reel titles ================================================== TECH STACK ================================================== Frontend: - Next.js 15 (App Router) - TypeScript - Tailwind CSS - shadcn/ui - Framer Motion Backend: - Next.js server actions + API routes Database: - PostgreSQL - Prisma ORM Authentication: - Clerk Auth Payments: - Stripe subscription integration AI: - OpenAI API Image Generation: - OpenAI Images API OR Stability AI Storage: - Cloudinary Deployment: - Vercel State Management: - Zustand Forms: - React Hook Form + Zod ================================================== CORE FEATURES ================================================== 1. Authentication - Sign up - Login - Social auth - Protected dashboard 2. User Dashboard - Recent generations - Saved thumbnails - Usage stats - Subscription status 3. AI Caption Generator User inputs: - Topic - Platform - Tone - Language AI generates: - Captions - Hooks - Hashtags - CTA - Emoji-rich versions 4. AI Thumbnail Generator User inputs: - Video title - Niche - Style - Color theme AI generates: - Multiple thumbnail concepts - Thumbnail images - Thumbnail text - Viral suggestions 5. Thumbnail Editor - Drag/drop text - Change fonts - Upload image - Resize elements - Export PNG 6. Multi-language Support - English - Hindi - Hinglish - Gujarati 7. Subscription System Free Plan: - 5 generations/day Pro Plan: - Unlimited generations - Premium templates - HD export 8. History System - Save generations - Delete generations - Favorite generations 9. Responsive UI - Mobile optimized - Tablet optimized - Desktop optimized 10. SEO - Metadata - Dynamic SEO pages - Sitemap - Robots.txt ================================================== UI/UX REQUIREMENTS ================================================== Design style: - Modern SaaS - Dark/light mode - Glassmorphism - Smooth animations - Creator-focused aesthetic Pages: - Landing page - Pricing page - Dashboard - Thumbnail studio - Caption studio - Settings page - Billing page Landing page sections: - Hero section - Features - Testimonials - Pricing - FAQ - CTA section ================================================== AI PROMPT ENGINEERING ================================================== Create optimized prompts internally for: - Viral captions - High CTR thumbnails - Instagram hooks - YouTube titles - Short-form content Use structured prompt templates. ================================================== DATABASE SCHEMA ================================================== Create Prisma schema for: - Users - Subscriptions - Generations - Saved thumbnails - Usage tracking - Templates ================================================== SECURITY ================================================== Implement: - Rate limiting - API validation - Secure authentication - Environment variables - Protected routes - Input sanitization ================================================== PERFORMANCE ================================================== Optimize: - Image loading - Lazy loading - Code splitting - API caching - Streaming responses ================================================== DELIVERABLES ================================================== Generate: 1. Full folder structure 2. Full frontend code 3. Backend APIs 4. Prisma schema 5. Database setup 6. Stripe integration 7. AI integration 8. Cloudinary integration 9. Responsive UI components 10. Deployment guide 11. Environment variables example 12. README.md 13. Production best practices ================================================== BONUS FEATURES ================================================== Add: - AI content calendar - Trending hashtag finder - Viral score analyzer - Thumbnail A/B testing - Creator analytics ================================================== IMPORTANT ================================================== - Write clean scalable code - Use reusable components - Follow best practices - Use TypeScript everywhere - Keep architecture modular - Generate realistic UI - Avoid placeholder logic - Make app production-ready Now generate the COMPLETE application step-by-step with all files and code.

LandingThumbnailStudioLogin
Landing

Comments (0)

No comments yet. Be the first!

System Requirements

System Requirement Document
Page 1 of 5

rustic-application

Introduction

The "rustic-application" is a comprehensive AI SaaS web application designed to assist YouTubers, Instagram creators, and short-form content creators in generating AI-powered thumbnails, viral captions, hooks, hashtags, YouTube descriptions, and reel titles. This document outlines the system requirements for the development and deployment of the application.

System Overview

The rustic-application aims to streamline content creation for digital creators by leveraging AI technologies to automate the generation of engaging and optimized media assets. The application will provide a user-friendly interface and robust backend to support a seamless experience for creators looking to enhance their content's reach and engagement.

Page 2 of 5

Functional Requirements

  • As a User, I should be able to sign up and log in using social authentication.
  • As a User, I should have access to a protected dashboard displaying recent generations and usage stats.
  • As a User, I should be able to generate AI captions by inputting topic, platform, tone, and language.
  • As a User, I should be able to generate AI thumbnails by providing video title, niche, style, and color theme.
  • As a User, I should be able to edit thumbnails by dragging and dropping text, changing fonts, uploading images, resizing elements, and exporting as PNG.
  • As a User, I should have multi-language support including English, Hindi, Hinglish, and Gujarati.
  • As a User, I should be able to subscribe to different plans with varying generation limits and features.
  • As a User, I should be able to save, delete, and favorite generations.
  • As a User, I should experience a responsive UI optimized for mobile, tablet, and desktop.
  • As a User, I should benefit from SEO features like metadata, dynamic SEO pages, sitemap, and robots.txt.

User Personas

  • Content Creator: A YouTuber or Instagram creator looking to enhance their content with AI-generated thumbnails and captions.
  • Admin: Responsible for managing user accounts, subscriptions, and overseeing application performance.
Page 3 of 5

Visuals Colors and Theme

  • primary: #3A3D40 (a deep charcoal for a modern, sleek look)
  • primary_light: #5A5D60 (a lighter tint of charcoal for hover states)
  • secondary: #FF6F61 (a vibrant coral for emphasis and links)
  • accent: #FFD700 (a bright gold for CTAs and active states)
  • highlight: #FFA500 (a warm orange for notifications and active indicators)
  • bg: #F5F5F5 (a light grey for the page background)
  • surface: rgba(255, 255, 255, 0.9) (a soft white for card/panel backgrounds)
  • text: #1C1C1C (a dark grey for primary text)
  • text_muted: #6D6D6D (a muted grey for secondary text)
  • border: rgba(60, 60, 60, 0.2) (a subtle grey for borders)

Signature Design Concept

The homepage of the rustic-application will feature an interactive "Content Creation Galaxy" where each star represents a feature or section of the app. Users can click on a star to open a feature card, drag to rotate the galaxy, and hover to highlight connections between features. This concept will be brought to life using @react-three/fiber and @react-three/drei for 3D interactions, creating an immersive and engaging first impression. The galaxy will subtly shift colors based on the time of day, providing a dynamic and personalized experience.

Page 4 of 5

Interaction Model & Motion Direction

The landing page will utilize a "parallax" interaction model, creating a layered depth effect as users scroll. Decorative elements such as atmospheric blobs and distant shapes will translate at different speeds, while real content remains in the normal flow. This approach is ideal for storytelling and making a visually rich first impression. Internal pages like the dashboard and settings will adopt a "static" model to prioritize layout clarity and reading speed.

Non-Functional Requirements

  • Ensure high performance with optimized image loading, lazy loading, code splitting, and API caching.
  • Implement robust security measures including rate limiting, API validation, secure authentication, and input sanitization.
  • Maintain a scalable architecture with modular components and clean, reusable code.

Tech Stack

  • Frontend: Next.js 15 (App Router), TypeScript, Tailwind CSS, shadcn/ui, Framer Motion
  • Backend: Next.js server actions + API routes
  • Database: PostgreSQL with Prisma ORM
  • Authentication: Clerk Auth
  • Payments: Stripe subscription integration
  • AI: OpenAI API for text and image generation
  • Storage: Cloudinary
  • Deployment: Vercel
  • State Management: Zustand
  • Forms: React Hook Form + Zod
Page 5 of 5

Assumptions and Constraints

  • The application will primarily target content creators in India, supporting multiple languages including Hindi and Gujarati.
  • The application will be deployed on Vercel, leveraging its capabilities for serverless functions and global CDN.
  • Stripe will be used for handling subscription payments, assuming availability in the target region.

Glossary

  • AI: Artificial Intelligence
  • CTA: Call to Action
  • SEO: Search Engine Optimization
  • SaaS: Software as a Service
  • UI/UX: User Interface/User Experience

This document provides a comprehensive overview of the rustic-application, ensuring all stakeholders have a clear understanding of the project's scope and requirements.

Landing: View Info
Login: Sign In
Dashboard: View Overview
Dashboard: Monitor Usage
Users: Manage Accounts
Users: Edit User
Subscriptions: View Plans
Subscriptions: Manage Billing
Analytics: View Performance
Analytics: Export Reports
Settings: Configure App