Inspiration

Moderating a growing subreddit feels like fighting a hydra. Existing tools are fragmented, logs are scattered, and spam happens faster than humans can react. We wanted to build a "Command Center" that not only protects the community autonomously but gives moderators a beautiful, gamified, and centralized dashboard to visualize the health of their subreddit.

What it does

KarmaCore OS is an all-in-one Devvit moderation suite consisting of 5 core modules:

The Telemetry Dashboard: A stunning, custom-built live UI that visualizes threat metrics, strikes, and shields in real-time.

Velocity Shield: A background engine that tracks posting frequency and autonomously neutralizes spam bursts or bot-nets.

Nexus Gateway: A "crucible" probation system that automatically intercepts and holds posts from users with zero "Aura", preventing bad actors from gaining a foothold.

Sentinel Engine: A real-time heuristic content deletion system that removes violations and issues "strikes" to users.

Ouroboros Protocol: A temporal rollback system allowing moderators to instantly undo autonomous actions and clear strikes if the AI makes a mistake.

How we built it

We built KarmaCore natively on Devvit using Claude and Gemini models with TypeScript and Redis. The UI leverages Devvit's custom post components to render a premium, glassmorphic dashboard. We utilized Redis extensively (zsets for temporal rate-limiting, and hsets for user Aura/Strikes) to ensure the background triggers execute with zero latency.

Challenges we ran into

One of the biggest hurdles was managing race conditions with the Reddit Spam Filter. We discovered that when our automated systems attempted to intercept and evaluate posts simultaneously, the native spam filter would occasionally conflict. We solved this by refining our Devvit Trigger architecture to explicitly bypass the bot's own operations.

Accomplishments that we're proud of

We are incredibly proud of the Telemetry UI. Moderation is often a thankless, text-heavy job. By visualizing neutralized threats and community "Aura," we turned subreddit maintenance into a highly rewarding, visually pleasing experience.

What we learned We learned

The sheer power of Devvit's Redis integration. Being able to store state, track velocity rates, and manage user reputation entirely on the edge without spinning up external servers was a game-changer for latency.

What's next for KarmaCore OS

We plan to introduce "Syndicate" alliances (allowing multiple subreddits to share threat data) and expand the "Threat Map" to visualize the geographic or temporal origins of spam bursts.

Built With

Share this project:

Updates