Reverse engineer any codebase into a build prompt.
Paste code β AI analyzes β Get a copy-paste-ready reconstruction prompt for Cursor, Claude, Codex, or any AI coding agent.
GITVERSE is an AI-powered reverse engineering tool that turns any codebase into a structured build prompt you can hand directly to an AI coding agent.
Inspired by gitverse.id β the simplest way to understand and rebuild any code.
01 β Paste your files β 02 β AI Analyzes β 03 β Get Build Prompt
- Paste code β drop any files or GitHub URLs
- AI analyzes β full breakdown of architecture, dependencies, APIs, and business logic
- Get prompt β one exhaustive, copy-paste-ready reconstruction prompt
| Feature | Description |
|---|---|
| π§ AI Analysis | Full breakdown of tech stack, files, APIs, and business logic |
| π ASCII Blueprint | System architecture as ASCII diagram with components and data flows |
| π Build Prompt | One exhaustive prompt with every file, exact dependencies, env vars, and deployment steps |
| π GitHub Integration | Paste any public GitHub URL and reverse engineer the entire repo |
| β‘ Incremental Mode | Type GITVERSE_DONE after pasting multiple files to trigger batch analysis |
| π Multi-LLM Support | Works with Grok, OpenRouter, Azure OpenAI, Google AI Studio |
| π Privacy First | Your code is never stored permanently |
- Framework: Next.js 16 (App Router) + React 19
- Language: TypeScript 5
- Styling: Tailwind CSS 4
- AI Providers: Grok (xAI), OpenRouter, Azure OpenAI, Google AI Studio
- Database: Supabase (optional β for prompt caching)
- Payments: Stripe (optional β for premium features)
- Analytics: Vercel Analytics
- Node.js 18+
- pnpm or npm
- At least one LLM API key (see Configuration)
git clone https://github.com/GraeLefix/GITVERSE.git
cd GITVERSE
pnpm install
cp .env.example .env.local
# Fill in your LLM API key
pnpm devOpen http://localhost:3000 and start reversing code.
Copy .env.example to .env.local and fill in at least one LLM API key.
| Provider | Env Key | Default Model |
|---|---|---|
| Grok (xAI) | XAI_API_KEY |
grok-3 |
| OpenRouter | OPENROUTER_API_KEY |
google/gemini-2.5-pro |
| Azure OpenAI | AZURE_OPENAI_API_KEY + AZURE_OPENAI_BASE_URL |
gpt-5.4 |
| Google AI Studio | GOOGLE_GENERATIVE_AI_API_KEY |
gemini-2.5-pro |
Set GITREVERSE_QUICK_LLM to pin a provider, or leave unset for auto mode (Grok β OpenRouter β Azure β Google).
# GitHub β increases API rate limits
GITHUB_TOKEN=ghp_...
# Supabase β prompt caching & /library search
SUPABASE_URL=https://...supabase.co
SUPABASE_PUBLISHABLE_KEY=eyJ...
# Stripe β premium features
STRIPE_SECRET_KEY=sk_...
STRIPE_PUBLISHABLE_KEY=pk_...
STRIPE_WEBHOOK_SECRET=whsec_...GITVERSE/
βββ app/ # Next.js App Router pages
β βββ page.tsx # Home β paste code, get prompt
β βββ [owner]/[repo]/ # GitHub URL routing (/vercel/next.js)
β βββ api/ # API routes (reverse, analyze, stripe)
β βββ library/ # Saved prompt library
βββ components/ # React components
β βββ reverse-prompt-home.tsx # Main UI
β βββ analysis-dashboard.tsx # Results display
β βββ ui/ # shadcn/ui components
βββ lib/ # Core utilities
β βββ llm.ts # Multi-provider LLM abstraction
β βββ github.ts # GitHub API helpers
β βββ prompts.ts # Prompt engineering
βββ .env.example # Environment template
βββ package.json
Visit directly in browser:
http://gitverse.id/vercel/next.js
http://gitverse.id/supabase/supabase
http://gitverse.id/facebook/react
- Go to gitverse.id
- Paste your code files into the editor
- Click Get Prompt
- Copy the reconstruction prompt into Cursor, Claude Code, or Codex
Paste multiple files one by one, then type GITVERSE_DONE to trigger batch analysis.
Contributions are welcome!
# Fork and clone
git clone https://github.com/YOUR_USERNAME/GITVERSE.git
# Create a feature branch
git checkout -b feat/your-feature-name
# Make changes, then open a PR
git push origin feat/your-feature-nameMIT β see LICENSE for details.
- Live App: gitverse.id
- Original Inspiration: filiksyos/gitreverse
- GitHub: GraeLefix/GITVERSE
Built with β€οΈ by GraeLefix Β· Star β if you find it useful