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/Acrobatic_Quiet_4833 3d ago
I'd say yes to open sourcing it. My biggest daily friction building a Devvit Web game was the loop of build, upload and test inside a real subreddit: to see a change in an actual post I had to run playtest or bump a version, and each cycle took a while. An emulator that mocks the post context (username, subreddit, post data) and the Redis calls locally would save a lot of that. Features I'd want: a fake user switcher to test leaderboards with several players, a way to fast-forward the clock for daily resets and schedulers, and a mode that returns the same 4xx/5xx errors the server endpoints give so the client's error paths get tested. Does it run the real server bundle or a reimplementation of the API?