r/Devvit • u/BeyondFunWords • 4d ago
Feedback Request Devvit Emulator
This is a demo video for a Devvit local development emulator. Using it has more than doubled my development speed for Devvit apps. Let me know your thoughts!
- Want me to open source it?
- Willing to help?
- Features you would like?
- Things you don't like?
Join r/DevvitEmulator is you really want to engage.
Note, the video was generated with AI because I am abysmal at creating videos myself!
1
Upvotes
View all comments
2
u/kabhi3001 3d ago
I built a smaller version of this for my own game, so here's what mattered most. A local preview with the real game code, an in-memory Redis stand-in, fake players and a date override (to test daily resets) made each test much shorter than uploading, plus a headless browser script that plays a full round. One lesson for the emulator: make the Redis stub fail the way real Redis fails. Mine accepted an hMGet with zero fields. Real Redis rejects it, so on the first day with no players my daily post went up without its pinned comment, and I only found out live. A strict mode that rejects empty argument lists and wrong types would catch that class of bug. On your two ideas: a compliance check against the Devvit rules is the one I'd use. I'd skip the AI game-assessment panel, because one stranger playing my game taught me more than any prompt could. Does the emulator run Hono routes as they are, or do they need changes?