A production-ready web app that analyzes any GitHub user's total lines of code across all repositories, with a 3D city visualization, leaderboard, and shareable code reports.
- Full LOC Analysis — Total lines of code split into code / comments / blanks
- Per-Language Breakdown — Language distribution with percentages and colors
- Top Repos Ranking — Top 20 repositories by LOC
- Estimated Coding Hours — Derived from commit-based line additions
- Percentile Rank — Compare your LOC against all analyzed developers
- 3D City Visualization — Immersive CodeWorld built with Three.js; each developer gets a unique city block
- Leaderboard — Public ranking of all analyzed developers
- Admin Panel — Password-protected panel at
/adminto manage user data - Caching — Analyses cached for 1 hour to minimize GitHub API usage
- Frontend: React 19, Vite, TypeScript, Tailwind v4, Shadcn UI, Framer Motion, Three.js
- Backend: Convex (serverless database + functions)
- Auth: Convex Auth (email OTP)
- Routing: React Router v7
# Install dependencies
bun install
# Start development server
bun run devCreate a .env.local file with:
CONVEX_DEPLOYMENT=your-deployment
VITE_CONVEX_URL=your-convex-url
src/
├── components/ # React components
│ └── ui/ # Shadcn UI components
├── pages/ # Page components
├── convex/ # Convex backend
├── hooks/ # Custom React hooks
└── lib/ # Utility functions
See VLY.md for detailed development conventions and best practices.
bun run dev- Start development serverbun run build- Build for productionbun run type-check- Run TypeScript type checkingbun run lint- Run ESLintbun run format- Format code with Prettierbun run preview- Preview production buildbun run test- Run testsbun run test:watch- Run tests in watch mode
Note for AI Agents: This README should be updated to reflect the actual application being built. Keep it concise and user-focused. For detailed development conventions, refer to VLY.md.