reddit / reddit/devvit

Shared App Dependencies

Open
#155 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cache
Dominant language
TypeScript
Stars
210
Forks
88
PR merge metrics
No merged PRs in 30d

Description

I would like to create a library for Devvit, and while it would be possible to include my library using package.json, it would be more efficient if multiple apps on the same subreddit could share the same code and data. My library would listen for a trigger, process the data, and store the changes in Redis. Currently every app using my library would each do these same steps. If my library could be shared, then these steps would only happen once, and each app would be able to read the same final data.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the package.json-based library inclusion described in the issue, then trace how Devvit apps listen for triggers and store data in Redis. Define what shared code and data would mean for multiple apps on one subreddit, and consider how completion would be verified when processing occurs only once and apps can read the final data.

Written by the indexing model from the issue text.

Assessment

Tech stack
redis, typescript
Domain
backend, data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.