gitreverse.mp4
Turn a public GitHub repository into a single synthetic user prompt that someone might paste into Cursor, Claude Code, Codex, etc. to vibe code the project from scratch.
The app pulls repo metadata, a root file tree (depth 1), and the README, then uses an LLM via OpenRouter to produce one short, conversational prompt grounded in that context.
Paste a GitHub URL or owner/repo on the home page. You can also open /owner/repo (e.g. /vercel/next.js) for a shareable link that runs the same flow.
Next.js (App Router), React, TypeScript, Tailwind CSS, GitHub API, OpenRouter.
Copy .env.example to .env.local. You need OPENROUTER_API_KEY. Optional: OPENROUTER_MODEL (defaults to google/gemini-2.5-pro), GITHUB_TOKEN for better GitHub rate limits, and Supabase env vars from the example file if you want server-side caching.
pnpm install
pnpm devOpen http://localhost:3000.
pnpm build
pnpm start
pnpm lintPull requests are appreciated!