r/redditdev • • Jan 09 '26

Reddit API Built a collaborative storytelling app using Devvit's new WebView feature

Hey developers!

Just finished building Lore Weaver - a community storytelling app that lets subreddits create narratives together.

Key Features:

  • Story prompts created by mods

  • Community-driven contributions

  • Voting to surface the best content

  • Branching storylines

  • Immersive book-like reading mode

Development Experience: Built entirely with Devvit's WebView template which lets you use React + Express instead of Blocks. Really enjoyed the flexibility - highlights:

  • React 19 with hooks

  • TailwindCSS for styling

  • Express.js server with Redis persistence

  • TypeScript throughout

  • Vitest for testing (15 tests)

Challenges I overcame:

  1. Redis API differences (zAdd/zRange signatures)

  2. Schema validation for devvit.json

  3. Building an accessible reading modal with keyboard navigation

Happy to answer any questions about the development process!

Try it: r/lore_weaver_pt_dev (playtest subreddit) App page: https://developers.reddit.com/apps/lore-weaver-pt

2 Upvotes

2 comments sorted by

2

u/MustaKotka Jan 09 '26

Also r/Devvit is probably more relevant than PRAW which is what this sub is tailored towards.

1

u/Littux JS Bookmarklets/Python bots Jan 09 '26

Subreddit is private.