-
-
Inline feed widget displaying live security status and active broadcast ticker announcements.
-
Live rules guidelines and secure moderator control launcher button.
-
Mod cockpit dashboard with interactive age restrictions and CPM threshold sliders.
-
High-Alert Mode activated showing real-time spam filters, metrics, and shift durations.
💡 Inspiration
Sports subreddits, gaming forums, and AMA event-driven communities face a known operational nightmare: during a live game, major release, or AMA, traffic spikes 10x to 50x in real time. Volunteer moderators cannot keep up with the deluge of comments, leading to coordinated spam, brigading, and moderator burnout.
We were inspired to build the Subreddit War Room—a dedicated, native "high-alert" mod cockpit that moderators can toggle on right before a live event. It tightens community safety thresholds, deploys high-sensitivity keyword scanners, restricts ban-evasion from fresh accounts, and provides an optimized dashboard to clear modqueues in one click.
⚙️ What it does
The Subreddit War Room consists of three major components working in perfect synergy:
- The Live Hub Widget (Inline Feed): A public-facing post widget inside the subreddit feed showing community guidelines, live broadcast announcements, and real-time scanned vs. filtered comment metrics.
- The Command Center (Expanded Admin View): An admin-only command console with tactile sliders to set minimum account ages (0–30 days), spike CPM alert thresholds, toggle automated moderation, and clear pending queues in a single click.
- The Serverless Backend: An event-driven Hono + Redis engine that intercepts comments, runs keyword pattern detectors, enforces restrictions, logs active crew shifts, and emails a private modmail archive report to the moderator team upon standing down.
🛠️ How we built it
We constructed a modern, hybrid web app running on Reddit's Developer Platform (Devvit):
- Backend: Powered by a secure, serverless Hono framework router executing triggers (
onCommentSubmit,onAppInstall). - Storage: Utilizing Devvit's managed serverless Redis instance to store real-time configurations, metric counters, active moderator lists, and historical shift archives.
- Frontend: A highly polished, single-page application built on Vite, React, and Tailwind CSS rendering inside Devvit's secure iframe Webview.
⚡ Challenges we overcame
- State Synchronization: Assuring real-time state synchronization between Hono backend triggers, Redis variables, and the active React dashboard without overloading Reddit's serverless resources. We solved this with highly optimized REST endpoints and aggressive client-side caching.
- Responsive Iframe Design: Creating a fluid, beautiful layout that feels like a premium desktop interface inside Devvit's responsive container. We integrated custom HSL color systems, subtle micro-animations (like our radar ping ring), and flexible layouts.
🎓 What we learned
We gained profound insights into the future of community moderation. Moving moderation tools directly into interactive post feeds reduces friction, and serverless triggers make real-time community defense extremely responsive and reliable compared to traditional polling bots.
🔮 What's next for Subreddit War Room
- AI Toxicity Classification: Integrating on-device or external LLM APIs to score sentiment and context rather than just keyword patterns.
- Multi-Channel Sync: Extending the app to push live alerts and shift handoffs to moderator Discord servers via Webhooks.
- Interactive Mod Consensus: A collaborative voting pane where mods can quickly vote together on controversial posts.
Log in or sign up for Devpost to join the conversation.