Skip to content

mutaician/RepoX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RepoX

🏆 Hacks for Hackers 2026 Winner - Best AI Application Built with Cloudflare

Transform any GitHub repository into an interactive learning experience.

Live Demo: https://main.repox.pages.dev | Devpost: https://devpost.com/software/repox

Features

  • Repository Visualization - Interactive D3.js graph showing file structure and relationships
  • AI-Powered Explanations - Get explanations for any file using Gemini AI (with ELI5 mode)
  • Learning Path Generation - AI generates personalized learning paths for any codebase
  • Progress Tracking - Track your learning progress with interactive checklists
  • Trending Repos - Discover trending repositories from the week
  • Repo History - Quick access to recently explored repositories

Tech Stack

  • Frontend: TypeScript, Vite, D3.js
  • AI: Google Gemini API (via Cloudflare Worker)
  • Hosting: Cloudflare Pages + Workers
  • APIs: GitHub REST API, OSS Insight API

Getting Started

Prerequisites

  • Bun (or Node.js)
  • Cloudflare account (for deployment)
  • Gemini API key

Installation

# Clone the repository
git clone https://github.com/mutaician/repox.git
cd repox

# Install dependencies
bun install

# Set up environment variables
cp .env.example .env
# Edit .env with your configuration

Development

# Start frontend dev server
bun run dev

# Start worker locally (in another terminal)
cd worker
bun run dev

Deployment

# Build frontend
bun run build

# Deploy to Cloudflare Pages
npx wrangler pages deploy dist --project-name=repox

# Deploy worker
cd worker
npx wrangler deploy

Environment Variables

Frontend (.env)

VITE_WORKER_URL=https://your-worker.workers.dev

Worker (wrangler.toml secret)

npx wrangler secret put GEMINI_API_KEY

Project Structure

repox/
├── src/
│   ├── main.ts           # Main application entry
│   ├── style.css         # Base/global styles
│   ├── app.css           # Component styles
│   ├── components/       # UI components (FileTree, Graph)
│   ├── services/         # API services (GitHub, Gemini)
│   ├── state/            # State management
│   └── types/            # TypeScript type definitions
├── worker/               # Cloudflare Worker (Gemini API proxy)
├── public/               # Static assets
├── dist/                 # Production build output
├── index.html            # HTML entry point
└── package.json

Built for Hacks for Hackers 2026 | Winner: Best AI Application Built with Cloudflare

About

Transform any GitHub repository into an interactive learning experience

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages