This Reddit Devvit app runs inside Reddit's own infrastructure (@devvit/public-api) so it does not require external Reddit Data API approval.
- Polls Sanity (
production) every 30 minutes viaDevvit.addSchedulerJob(or on-demand via the subreddit moderator menu item "Sync Latest from CodingCat.dev Now"). - YouTube-First Native Player:
- When a post or podcast has a
youtubeURL in Sanity, it submits thehttps://www.youtube.com/watch?v=<id>URL as the Reddit Link Post so Reddit renders the native inline YouTube player right in ther/CodingCatDevfeed. - Automatically adds a pinned moderator comment containing the excerpt, the canonical
https://codingcat.dev/post/<slug>guide + transcript link, and a direct YouTube subscribe link (?sub_confirmation=1).
- When a post or podcast has a
- Automatic Sanity Link Tracking:
- When
sanityWriteTokenis configured in the app's installation settings, it automatically createssyndication.<docId>.redditand populates theredditURL field on the Sanity document.
- When
cd apps/reddit-devvit
npx devvit login
npx devvit upload
npx devvit install r/CodingCatDev(Optional) After installing on r/CodingCatDev, open https://developers.reddit.com/r/CodingCatDev/apps/codingcat-syndicator and paste your SANITY_API_WRITE_TOKEN into the Sanity API Write Token field so every Reddit post URL is automatically saved back to Sanity.