Inspiration

Moderating a high-velocity subreddit feels like fighting a wildfire with a spoon. Mod queues are traditionally flat lists of text that bury critical community issues under mountains of repetitive spam. We wanted to build a tool that gives moderators a tactical, bird's-eye view of their community's health, transforming them from janitors cleaning up messes into commanders making strategic, data-driven decisions.

What it does

CapoPulse transforms the chaotic Reddit mod queue into a real-time Tactical Command Center. It features two core systems:

  • The Pulse (Toxicity Heatmap): Visualizes report velocity over time, allowing mods to instantly spot when and where a thread is exploding before it spirals out of control.
  • Intelligent Bundling: Replaces the 1-by-1 report grind by aggregating related reports (grouped by thread or severity) into actionable "Bundle Cards." With one click, mods can execute bulk actions like "Lock Thread" or "Ignore All Spam," resolving dozens of reports instantly.

How we built it

We built CapoPulse using the modern Devvit Webview stack to achieve a true SaaS-like experience natively inside Reddit.

  • Backend: Powered by Hono and Devvit event triggers. We designed a highly optimized Redis schema using Sorted Sets for time-series data (the heatmap) and Hashes for high-speed report bundling.
  • Frontend: Built with React 19 and Tailwind CSS 4. We utilized Recharts for the high-fidelity data visualization and shadcn/ui (leveraging Radix primitives and the Nova preset) for a highly accessible, professional dashboard layout. Framer Motion handles the smooth layout animations when resolving bundles.

Challenges we ran into

Bridging the gap between the Devvit backend and the React Webview required careful state management and precise API routing. Designing an efficient Redis schema that didn't hit Devvit's operational constraints (such as pagination limits on zRange calls) meant we had to engineer efficient 15-minute time-series buckets. Additionally, aligning the modern shadcn/ui ecosystem with Devvit's specific Vite build environment required deep configuration adjustments to pathing and Tailwind initialization.

Accomplishments that we're proud of

We are incredibly proud of the user experience. By stepping away from standard Reddit blocks and utilizing a full React Webview, we delivered a professional UI that delivers a smooth, useful experience for mods. Successfully wiring complex Recharts data streams to real-time Reddit triggers via Hono and Redis proves that Devvit can support enterprise-grade moderation tools.

What we learned

We learned how to push the limits of Reddit's new Devvit platform, specifically leveraging the Hono bridge for clean, REST-like API routing between the Reddit server and the Webview client. We also deepened our understanding of advanced Redis data structures to handle high-frequency event ingestion without bottlenecking the application's read speeds.

What's next for CapoPulse

We plan to expand the Command Center with two new features to provide even more context to moderation teams:

  1. Reputation Radar: A contextual UI panel that surfaces user history and sentiment when investigating a bundle, helping mods distinguish between a regular user having a bad day and a dedicated bad actor.
  2. Simulation Mode: A sandbox training environment that pulls historically resolved reports to train new moderators, allowing them to test their instincts against real data without touching the live queue.

Built With

Share this project:

Updates