Inspiration
Traditional moderation tools are rigid, binary, and lack nuance. I wanted to build an intelligent early-warning system that actually understands a subreddit's unique culture and inside jokes. It needed to be a powerful "radar" for hostility, while simultaneously pushing the boundaries of Reddit's Devvit webview with a premium, compositor-level aesthetic.
What it does
Escalation Halter equips moderators with a sleek, interactive control panel to calibrate an AI moderation trap. I can securely input a Gemini API key, establish a "Critical Velocity Threshold" (e.g., triggering the system if 3 toxic comments appear within 10 minutes), define specific hostility markers, and feed the AI natural-language rules about the subreddit's culture. Once deployed, these parameters are securely locked into Reddit's isolated database to actively monitor the community. This is similar to my other mod app 'Entropy Radar' but this has UI integrated in post.
How we built it
I engineered the application natively on Reddit's Devvit platform. The backend utilizes Hono for robust, modern HTTP routing, completely replacing legacy postMessage architecture. The frontend is powered by React and bundled with Vite. Data persistence is handled securely via Devvit's native Redis plugin.
Challenges we ran into
The Legacy-to-Modern Communication Chasm When porting my frontend into the new, sterile Devvit architecture, I hit a wall of silent connection errors. The original frontend used legacy postMessage event listeners, while my new backend was built on Hono, which strictly expects modern HTTP requests. I overcame this by completely re-engineering the client-server handshake. I stripped out the old messaging bridge and replaced it with a modern, asynchronous fetch pipeline (/api/config), mapping the exact data shapes my React frontend expected directly into Devvit's native Redis database.
Accomplishments that we're proud of
Successfully establishing a bulletproof React-to-Hono communication bridge inside a strict iframe environment.
Engineering a visually stunning, resource-light Liquid Glass UI that rivals the depth of heavy WebGL implementations at a fraction of the computational cost.
Building a secure configuration pipeline that permanently locks moderator API keys and logic into an isolated Redis instance.
Making the smart engineering decision to prioritize stability and maintain a flawless trunk build over chasing edge-case mobile scrolling bugs.
What we learned
I gained a harsh but valuable education in the lifecycle of sandboxed mobile webviews, specifically how native apps forcefully optimize background rendering and hardware acceleration.
What's next for Escalation Halter
Deploying the active monitoring daemon that reads the live subreddit comment firehose against these locked configurations, and to perfectly utilize the moderator-provided "Subreddit Culture" context.
Log in or sign up for Devpost to join the conversation.