Inspiration
Moderation is the backbone of every healthy Reddit community, but existing tools often require coding or external services. I built ModRule Engine to make powerful, customizable moderation accessible to every moderator, regardless of their technical background.
What it does
ModRule Engine is a no-code visual IF-THEN rule engine. Moderators can build custom automation rules in four simple steps: Trigger → Conditions → Actions → Preview. It supports 5 trigger types, 6 action types, pre-built templates, and an analytics dashboard.
How we built it
Built entirely on the Devvit platform, the app uses @devvit/public-api, React, and TypeScript. I created a drag-and-drop UI for rule configuration, implemented the event-driven backend, and used Devvit's KV store to save rules and logs. I also fixed several API compatibility issues, including migrating to addSchedulerJob and updating event names.
Challenges we ran into
The biggest hurdles were API compatibility and deployment issues. I had to adapt to Devvit's changing API, work around network-related CLI upload failures, and refine the UI to be truly intuitive for non-technical users.
Accomplishments that we're proud of
I'm proud that the app is fully functional and deployed. It lets users build and test custom moderation rules directly in their subreddits, no external tools required. Seeing the first rule run successfully was a huge win.
What's next
I plan to add more triggers and actions, expand the analytics dashboard, and introduce a template sharing feature to help moderators collaborate and share best practices.
Built With
- devvit
- kv
- node.js
- react
- typescript
Log in or sign up for Devpost to join the conversation.