Inspiration
Reddit moderators are unpaid volunteers keeping communities safe — often managing thousands of posts a day with limited tools. Existing moderation is largely reactive: harmful content gets seen, reported, then removed. We were inspired to flip that model. What if moderators had an intelligent assistant working alongside them 24/7, catching problems before they escalate? Smart Reddit Guard was born from that question — and from our own frustration watching good communities get derailed by spam, toxicity, and rule violations that slipped through the cracks.
What it does
Smart Reddit Guard is an AI-powered moderation assistant built natively on Reddit using Devvit. It gives subreddit moderators a proactive safety layer by:
Automatically scanning new posts and comments for rule violations, spam, and toxic content the moment they're submitted Classifying content using AI that understands context — not just banned keywords Alerting moderators in real time when suspicious content is detected, so nothing slips through Providing a dashboard where mods can review flagged content, take action, and track community health trends over time Letting moderators configure custom rules tailored to their specific subreddit's guidelines — no one-size-fits-all approach
How we built it
How we built it The project is built across three layers that work together seamlessly: Reddit Devvit App — The core moderation engine runs natively inside Reddit via Devvit, Reddit's first-party developer platform. It hooks into post and comment event triggers to scan content in real time as soon as it's submitted. Moderator Dashboard — A React + TypeScript web app built with Vite and shadcn/ui gives moderators a clean, intuitive interface to review flagged content, configure rules, and explore analytics. Scaffolded with Lovable for rapid UI iteration. Backend — Supabase handles the database (PostgreSQL), authentication, and edge functions. Row-level security ensures each mod team only sees their own community's data. Cloudflare Workers via Wrangler manage edge-layer API routing between the dashboard and Supabase for low-latency responses.
Challenges we ran into
Devvit's sandboxed environment has strict constraints on external API calls — what seemed straightforward in a normal web app required significant rethinking to work within Reddit's native infrastructure. Getting the architecture right took multiple iterations. Tuning the AI classifier was its own challenge. An overly aggressive filter harms legitimate posts and frustrates good-faith users. Finding the right balance — catching genuine violations without punishing normal conversation — required careful testing and threshold tuning. Syncing events in real time between the Devvit app and the Supabase-backed dashboard also proved tricky, particularly ensuring moderator alerts arrived fast enough to be actionable without overwhelming the system.
Accomplishments that we're proud of
We're proud of building a fully native Reddit experience through Devvit that feels like a natural part of the platform rather than a bolted-on tool. Content flagging happens in under a second from post creation to moderator alert. The dashboard is clean enough that a non-technical moderator can pick it up with zero training. And we successfully unified three distinct platforms — Reddit Devvit, Supabase, and Cloudflare Workers — into one cohesive, responsive system.
What we learned
Building on Devvit gave us deep insight into Reddit's event-driven architecture and the unique constraints of developing inside a platform you don't fully control. We learned how critical moderator UX actually is — powerful tools that are confusing simply don't get used. We also gained real experience designing systems that are fair by default: moderation tools carry responsibility, and the design decisions you make have a direct impact on real communities and real people.
What's next for Smart Reddit Guard
Smarter AI — fine-tuned models trained on subreddit-specific data for higher accuracy and fewer false positives Mod team collaboration — assign flagged content to specific moderators, leave notes, and track decision history across the team Multi-subreddit support — manage multiple communities from a single unified dashboard Mobile-friendly moderation — a responsive interface for mods who need to act on the go Automated community transparency reports — auto-generated summaries of moderation activity that subreddits can share with their members to build trust
Built With
- bun
- cloudflare-workers
- devvit
- postgresql
- react
- shadcn/ui
- supabase
- tailwind-css
- typescript
- vite
Log in or sign up for Devpost to join the conversation.