Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 1.23 KB

File metadata and controls

34 lines (21 loc) · 1.23 KB

GitReverse

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.

Stack

Next.js (App Router), React, TypeScript, Tailwind CSS, GitHub API, OpenRouter.

Configuration

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.

Development

pnpm install
pnpm dev

Open http://localhost:3000.

pnpm build
pnpm start
pnpm lint

Shout out to GitIngest for inspiration.