Davronov-Alimardon/canva-clone
关于
面向生产环境的平面设计 SaaS 平台,提供直观的拖放式编辑器、AI 驱动的功能和完整的订阅管理。基于 Next.js 14、Fabric.js 画布引擎、Replicate AI 和 Stripe 支付构建。
商业与金融可以做什么
- 🎨 Professional Design Editor - Templates, text, shapes, drawing tools, and layers
- 🤖 AI-Powered Tools - Image generation and background removal
- 🔐 Multi-Auth - Google, GitHub, and Email/Password
- 💳 Stripe Subscriptions - Complete payment management
实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文🎨 Canva Clone - Full-Featured Graphic Design SaaS Platform

A production-ready graphic design SaaS platform with an intuitive drag-and-drop editor, AI-powered features, and complete subscription management. Built with Next.js 14, Fabric.js canvas engine, Replicate AI, and Stripe payments.
🚀 Quick Start
New to this project? Follow our step-by-step setup guide:
📖 Complete Setup Documentation
Start here: 00-PREREQUISITES.md
Estimated setup time: ~90 minutes
✨ Key Features
- 🎨 Professional Design Editor - Templates, text, shapes, drawing tools, and layers
- 🤖 AI-Powered Tools - Image generation and background removal
- 🔐 Multi-Auth - Google, GitHub, and Email/Password
- 💳 Stripe Subscriptions - Complete payment management
- 📤 Export Options - PNG, JPG, SVG, JSON
- 📱 Fully Responsive - Works on all devices
- 🔍 Project Management - Create and organize multiple projects
- 🎯 Unsplash Integration - Millions of free stock photos
🛠️ Tech Stack
Frontend: Next.js 14, React 18, TypeScript, TailwindCSS, Shadcn UI, Fabric.js
Backend: Hono.js, Drizzle ORM, Neon PostgreSQL, Auth.js
AI & Media: Replicate AI, Unsplash, UploadThing
Payments: Stripe
State: Zustand, TanStack Query
📋 Prerequisites
Before starting, you need:
- Node.js (v18+) or Bun
- Git
- Free accounts for: Neon, UploadThing, Replicate, Unsplash, Stripe, Google, GitHub
👉 See Prerequisites Guide for details
🎯 Setup Guide
Follow these guides in order:
- Prerequisites - What you need (2 min)
- Installation - Clone and install (5 min)
- Database Setup - Neon PostgreSQL (10 min)
- Unsplash API - Stock photos (5 min)
- UploadThing API - File uploads (5 min)
- Replicate API - AI features (10 min)
- Stripe Setup - Payments (20 min)
- Templates Setup - Design templates (15 min)
- GitHub OAuth - GitHub login (5 min)
- Google OAuth - Google login (10 min)
- Deployment - Deploy to Vercel (15 min)
Need help? Check Troubleshooting Guide
📦 Quick Commands
# Install dependencies
bun install
# Setup database
bun run db:generate
bun run db:migrate
# Start development
bun dev
# Open database GUI
bun run db:studio
Full command reference: See Installation Guide
🔧 Environment Variables
Create a .env file with these variables:
DATABASE_URL=
AUTH_SECRET=
NEXT_PUBLIC_APP_URL=http://localhost:3000
NEXT_PUBLIC_UNSPLASH_ACCESS_KEY=
UPLOADTHING_SECRET=
UPLOADTHING_APP_ID=
UPLOADTHING_TOKEN=
REPLICATE_API_TOKEN=
STRIPE_SECRET_KEY=
STRIPE_PRICE_ID=
STRIPE_WEBHOOK_SECRET=
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
Detailed guide: Environment Variables Reference
💎 Pro Features
Unlock with subscription:
- ✨ Unlimited projects
- 🎨 Premium templates
- 🤖 Unlimited AI generations
- 📤 High-resolution exports
- 💾 Priority support
📚 Documentation
- Setup Guides - Complete step-by-step setup
- Troubleshooting - Common issues and solutions
- Environment Variables - All variables explained
🎓 Learn More
- Next.js Documentation
- Drizzle ORM Documentation
- Auth.js Documentation
- Fabric.js Documentation
- Stripe Documentation
- Replicate Documentation
🙏 Credits
Course: YouTube/Original Tutorial (18-hour course)
Creator: Code With Antonio
Deployment: Vercel
UI Components: Shadcn
📝 License
This project is based on the tutorial by Antonio Erdeljac.
⭐ Support
If you found this project helpful, please give it a star!
Need help?
- Check Documentation
- Review Troubleshooting
- Create an issue on GitHub
Ready to start? → Begin with Prerequisites Guide 🚀
探索相关项目
加载中…