Sanchit Singh

Repurpo

Repurpo is a Next.js 15 SaaS app that turns one source into platform-ready content.

What the app does

Repurpo takes one input source and repurposes it into output tailored for:

Input modes:

The app also includes:

Latest generation flow

  1. The user signs in with Supabase Auth.
  2. The dashboard accepts a URL, YouTube link, or raw text.
  3. The app extracts or sanitizes the source.
  4. The user picks platforms and can set tone / length per platform.
  5. The app checks cache per platform, not as one all-or-nothing bundle.
  6. Gemini generates only the missing platform outputs.
  7. Results are streamed to the UI through SSE.
  8. The generation is saved in Supabase and cached in Redis.
  9. The user can regenerate and bypass cache when needed.

Current architecture

Important env vars

See .env.example for the full list. The main ones are:

Key folders

Important notes

Main routes

Scripts

npm run dev
npm run build
npm run start
npm run lint

Database and cache summary

What changed recently