-
-
Toxic Guard Mod Dashboard with approve and remove features
-
Flagged Comments and %rate with 30 sec reset timer for new notifications
-
Mod actions on hand
-
three key features
-
developer/mod removal reason interface for toxic comment
-
approved status for a good comment and even can forcefully publish a comment on mod's choice
-
Post Insights with current views
-
Engagement , posts , shares and Award section
Inspiration
Toxic comments are one of the biggest problems on Reddit. Moderators spend hours every day manually reviewing and removing harmful content, and often toxic comments stay up for hours before being caught. I wanted to build a tool that could protect communities automatically and give moderators better visibility into what's happening in their subreddit.
What it does
ToxicGuard is a Reddit mod tool that automatically detects and removes toxic comments in real time. It analyzes every new comment using pattern-based toxicity detection across categories like insults, profanity, threats, hate speech, and harassment. Toxic comments are removed instantly before other users see them.
Moderators get a built-in dashboard inside Reddit showing all flagged comments with toxicity scores, filter options by severity, and approve/remove actions to review borderline cases.
How I built it
I built Toxic Guard using the Devvit platform with a full-stack TypeScript setup. The backend uses Hono for routing, with a CommentSubmit trigger that fires on every new comment. Toxicity detection runs server-side using regex pattern matching. Flagged comments are stored in Redis and served to the frontend dashboard built in React with Tailwind CSS.
Challenges I faced
- Setting up the Devvit CLI on Windows had PATH issues that required manual configuration
- Learning the Devvit API for triggers, Redis storage, and custom posts from scratch
- Wiring the CommentSubmit trigger correctly to fire on every comment
- Getting the mod dashboard to display inside Reddit as an experience post
What I learned
- How to build full-stack Reddit apps using Devvit
- How to use Redis for persistent storage in Devvit apps
- How to create custom post experiences inside Reddit
- How triggers work on the Devvit platform
What's next for ToxicGuard
- Integrate with AI APIs for smarter toxicity detection
- Add mod notification via modmail when toxic comments are detected
- Support for custom keyword blocklists per subreddit
- Analytics dashboard showing toxicity trends over time
Built With
- devvit
- hono
- react
- redditapi
- redis
- tailwind-css
- typescript
Log in or sign up for Devpost to join the conversation.