DEV Community

Peaceful Hours
Peaceful Hours

Posted on

Building a zero-cost anonymous "Confession Roulette" app with a forced-contribution loop

 I built a lightweight, zero-maintenance web app called Confession Roulette to experiment with random document fetching and an organic user-retention

🔗 Live Demo

Try the app here: https://confession-roulette.vercel.app


⚙️ How the Loop Works

  1. Users cycle through anonymous confessions submitted by others.
  2. Every 3rd "Next" click triggers a forced-contribution modal requiring the user to submit a secret before they can continue browsing.

🛠️ Tech Stack & Constraints

  • Frontend: Single-file HTML + Tailwind CSS (via CDN)
  • Backend & DB: Firebase Firestore for random document reads/writes
  • Hosting: Vercel (Edge network)
  • State Management: Uses browser localStorage to track seen document IDs so users never receive duplicate confessions without needing user logins or authentication databases.

I wanted to keep the project completely free to run and self-sustaining. Would love any feedback on the forced-contribution loop or UI edge cases!

Top comments (0)