Community Platform
Build a Discourse-style community with threads, replies, upvotes, categories, and member profiles.
The Prompt
✨ Ready-to-use Lovable Prompt
Open LovableBuild a community platform with the following features: **Discovery:** - Homepage showing Latest and Trending threads in a two-column layout - Category filter in a sidebar: Announcements, General, Help, Show & Tell, Off Topic - Search bar that searches thread titles and body content **Threads:** - Create a new thread: title, category, body (rich text with basic markdown — bold, italic, links, code blocks, images) - Thread detail page: original post, threaded replies (up to 2 levels deep), upvote button on every post, reply editor at the bottom - Mark best answer (for Help category) - Close/lock thread (mods only) **Members:** - Sign up with email + chosen username + avatar upload - Profile page: avatar, bio, joined date, thread count, reply count, badges earned - Follow other members; feed of "threads from people I follow" **Gamification:** - Badges earned for: First Post, 10 Replies, Helpful (5 upvotes on one reply), Regular (posted 10 days in a month) - Reputation points: +2 for upvote, +10 for best answer - Leaderboard page: Top members this week **Moderation:** - Report a post — mods see a queue - Mod role can edit/delete any post, close threads, ban users **Design:** - Clean, readable typography (serif for body, sans for UI) - Light by default, dark mode toggle - Mobile-friendly — threading collapses cleanly on small screens Store everything in Supabase. Real-time updates for new replies using Supabase Realtime. RLS so deleted users' content is hidden but not hard-deleted.
How to Use This Prompt
- 1
Copy the prompt
Click the 'Copy Prompt' button above to copy the full prompt to your clipboard.
- 2
Open Lovable
Go to lovable.dev and create a new project. If you're on the free plan, you get 5 credits/day.
- 3
Paste and send
Paste the prompt into the Lovable chat input and press enter. Lovable will start building your app immediately.
- 4
Iterate and refine
Review what Lovable builds. Use follow-up prompts to refine the design, add features, or fix anything that's off.
Pro Tips
- →Specify 'Supabase Realtime for new replies' — static communities feel dead
- →Ask for 'rate limiting on thread creation' to prevent spam (e.g. max 5 new threads per hour per user)
- →Include badges and reputation from the start — they drive 10x more engagement than Post buttons alone
Prompt Variations
Different versions of this prompt for specific use cases.
Paid community
Build a paid community gated by Stripe subscription (£10/month). Non-members see the homepage and thread titles but get a paywall on thread detail. Members get a badge and private members-only category.
Niche community
Build a community for [your niche — e.g. indie hackers, home gardeners, sourdough bakers]. Customise categories to the niche. Add a weekly challenge feature: mods post a prompt, members post responses, top-voted response wins a badge.
Frequently Asked Questions
Can I gate my Lovable community behind a paid subscription?
How do I prevent spam on a public community?
Ready to build?
Copy the prompt above, then paste it into Lovable. Your app starts building instantly.
Try Lovable FreeMore Prompt Templates
View allSaaS Dashboard
Build a full SaaS app with a user dashboard, authentication, subscription management, and analytics.
E-commerce Store
Build a complete online store with product listings, cart, checkout, and order management.
Portfolio Website
Build a stunning personal or creative portfolio to showcase your work and attract clients.