Inspiration
Moderating a high-traffic subreddit is often like playing a game of "telephone" across time zones. Mod teams work in shifts, but their knowledge is often fragmented across modmail threads, private Slack channels, or clunky external spreadsheets. We were inspired to build a "shared memory" for Reddit moderators—a tool that lives where they work and ensures that the context one mod gains is immediately available to the next mod who takes over the shift.
What it does
Mod Shift Logger is a shared, persistent logbook for mod teams.
Persistent User Notes: Moderators can search any username and leave timestamped, mod-only notes. Subreddit-Wide Sync: Notes are indexed by subreddit using Redis, so the whole team sees updates in real-time. Recent Activity Dashboard: A "Home" view that surfaces the 10 most recent notes across the community, highlighting active issues at a glance. Premium UX: Features a custom branded splash screen, responsive dark/light mode support, and a "Mod-Native" design that fits perfectly into the Reddit ecosystem.
How we built it
We utilized the Devvit Web Platform to create a high-performance, interactive experience:
Frontend: Built with HTML, CSS, and TypeScript for a type-safe, responsive UI. We avoided external frameworks to keep the app lightweight and fast. Backend: A Node.js server handling RESTful API requests, gated by strict moderator authentication. State Management: Powered entirely by Devvit's built-in Redis, using unique key-spacing for user notes (notes:{user}) and community-wide indexes (noteIndex:{subreddit}). Triggers: Implemented onAppInstall and Subreddit Mod Menu endpoints to allow for one-click logbook initialization.
Challenges we ran into
One major hurdle was navigating the security restrictions of iframes in the Reddit environment. For example, standard browser dialogs like window.confirm are often blocked, which forced us to iterate on a custom UX for critical actions like deleting notes. We also spent significant time refining the onAppInstall trigger to handle platform-specific validation requirements, ensuring a smooth "first-run" experience for moderators.
Accomplishments that we're proud of
True Real-Time Persistence: Seeing a note added by one mod instantly appear in the "Recent Activity" feed of another is incredibly satisfying. Theme Continuity: We successfully implemented a responsive theme system that automatically syncs with the user's light/dark mode preference on Reddit. Zero-Storage Design: By strictly adhering to Redis for all state, we've built a tool that is 100% compliant with Devvit rules and works reliably across all user sessions.
What we learned
We learned the nuances of the Devvit Web View lifecycle—especially how to manage the handshake between the client and server. We also gained deep experience with the Devvit Redis schema and how to architect data for community-level siloing, which is essential for scaling an app across multiple subreddits.
What's next for Mod-shift-logger
Note Editing: Adding the ability for mods to refine or update their previous logs. Modmail Integration: Automatically surfacing a user's logs when a mod views their message in the inbox. Advanced Search: Filtering logs by "Category" (e.g., Warning, Ban-Appeal, Praise) to help teams categorize community behavior. Export Logs: Allowing mod teams to export their logbook as a CSV for long-term archiving or analysis.
Built With
- css3
- devvit
- devvit-redis
- html5
- javascript
- node.js
- sdk
- typescript
- web
Log in or sign up for Devpost to join the conversation.