This commit adds complete production-ready templates optimized for Next.js App Router + Supabase stack. Part 1: LOVABLE_CLONE_NEXTJS_SUPABASE.md (~925 lines) - Complete project structure for Next.js 14 App Router - Full Supabase database schema (SQL migration) * Tables: profiles, projects, conversations, messages, deployments, usage, project_files * Row Level Security (RLS) policies for all tables * Helper functions (get_monthly_usage, can_generate) * Triggers for updated_at timestamps * Realtime enabled for messages, project_files, deployments * Proper indexes and foreign keys - Supabase client setup * Browser client with SSR * Server client with cookies * Admin client with service role - Middleware for auth session refresh - Complete authentication system * Email/password signup & login * OAuth (Google + GitHub) * Auth helpers and hooks * Protected routes * Login page with full UI Part 2: LOVABLE_CLONE_NEXTJS_SUPABASE_PART2.md (~850 lines) - Database operations & React hooks * useProjects - CRUD for projects * useProject - Single project management * useConversation - Messages management * Full TypeScript types from Supabase - Realtime subscriptions * useRealtimeMessages - Live chat updates * useRealtimeProjectFiles - Collaborative editing * Channel management - File storage with Supabase Storage * Upload/delete/list helpers * Public URL generation * Image upload component - API routes integrated with Supabase * Chat API with usage tracking * Streaming chat with Server-Sent Events * User authentication verification * Rate limiting based on subscription - Complete integrated components * Dashboard with server-side rendering * Project list with real-time updates * Project editor layout * Full TypeScript integration Features included: ✅ Next.js 14 App Router with Server Components ✅ Supabase Auth (Email + OAuth) ✅ PostgreSQL database with RLS ✅ Real-time subscriptions ✅ File storage ✅ Usage tracking & rate limiting ✅ API routes with streaming ✅ TypeScript end-to-end ✅ Production-ready security Total: ~1,775 lines of production-ready code Stack: Next.js 14 + Supabase + TypeScript + Tailwind CSS Ready to copy-paste and start building! |
||
|---|---|---|
| .github | ||
| Amp | ||
| Anthropic | ||
| assets | ||
| Augment Code | ||
| Claude Code | ||
| Cluely | ||
| CodeBuddy Prompts | ||
| Comet Assistant | ||
| Cursor Prompts | ||
| Devin AI | ||
| dia | ||
| Emergent | ||
| Gemini | ||
| Junie | ||
| Kiro | ||
| Leap.new | ||
| Lovable | ||
| Manus Agent Tools & Prompt | ||
| NotionAi | ||
| Open Source prompts | ||
| Orchids.app | ||
| Perplexity | ||
| Poke | ||
| Qoder | ||
| Replit | ||
| Same.dev | ||
| Trae | ||
| Traycer AI | ||
| v0 Prompts and Tools | ||
| VSCode Agent | ||
| Warp.dev | ||
| Windsurf | ||
| Xcode | ||
| Z.ai Code | ||
| LICENSE.md | ||
| LOVABLE_CLONE_ARCHITECTURE.md | ||
| LOVABLE_CLONE_CODE_TEMPLATES.md | ||
| LOVABLE_CLONE_CONFIG_TEMPLATES.md | ||
| LOVABLE_CLONE_FRONTEND_TEMPLATES.md | ||
| LOVABLE_CLONE_NEXTJS_SUPABASE_PART2.md | ||
| LOVABLE_CLONE_NEXTJS_SUPABASE.md | ||
| LOVABLE_CLONE_QUICK_START.md | ||
| README.md | ||
System Prompts and Models of AI Tools
Special thanks to
Join the Conversation: New system instructions are released on Discord before they appear in this repository. Get early access and discuss them in real time.
📜 Over 30,000+ lines of insights into their structure and functionality.
⭐ Star to follow updates
❤️ Support the Project
If you find this collection valuable and appreciate the effort involved in obtaining and sharing these insights, please consider supporting the project. Your contribution helps keep this resource updated and allows for further exploration.
You can show your support via:
- Cryptocurrency:
- BTC:
bc1q7zldmzjwspnaa48udvelwe6k3fef7xrrhg5625 - LTC:
LRWgqwEYDwqau1WeiTs6Mjg85NJ7m3fsdQ - ETH:
0x3f844B2cc3c4b7242964373fB0A41C4fdffB192A
- BTC:
- Patreon: https://patreon.com/lucknite
- Ko-fi: https://ko-fi.com/lucknite
🙏 Thank you for your support!
Sponsors
Support the Future of AI Development
Sponsor the most comprehensive collection of AI system prompts and reach thousands of developers building the next generation of AI applications.
📑 Table of Contents
- 📑 Table of Contents
- 📂 Available Files
- 🛠 Roadmap & Feedback
- 🔗 Connect With Me
- 🛡️ Security Notice for AI Startups
- 📊 Star History
📂 Available Files
- v0
- Manus
- Augment Code
- Lovable
- Devin
- Same.dev
- Replit
- Windsurf Agent
- VSCode (Copilot) Agent
- Cursor
- Dia
- Trae AI
- Perplexity
- Cluely
- Xcode
- Leap.new
- Notion AI
- Orchids.app
- Junie
- Kiro
- Warp.dev
- Z.ai Code
- Qoder
- Claude Code
- Open Source prompts
- CodeBuddy
- Poke
- Comet Assistant
- Anthropic
- Amp
🛠 Roadmap & Feedback
Open an issue.
Latest Update: 09/11/2025
🔗 Connect With Me
- X: NotLucknite
- Discord:
x1xh
🛡️ Security Notice for AI Startups
⚠️ Warning: If you're an AI startup, make sure your data is secure. Exposed prompts or AI models can easily become a target for hackers.
🔐 Important: Interested in securing your AI systems?
Check out ZeroLeaks, a service designed to help startups identify and secure leaks in system instructions, internal tools, and model configurations. Get a free AI security audit to ensure your AI is protected from vulnerabilities.
The company is mine, this is NOT a 3rd party AD.
📊 Star History
⭐ Drop a star if you find this useful!