{"id":48934923,"url":"https://github.com/manavarya09/code-city","last_synced_at":"2026-04-17T11:05:27.723Z","repository":{"id":348113214,"uuid":"1196537540","full_name":"Manavarya09/code-city","owner":"Manavarya09","description":"Your codebase as a living 3D city. Files become buildings, folders become districts, bugs become fires, deploys become rockets. Powered by Three.js.","archived":false,"fork":false,"pushed_at":"2026-04-06T22:21:18.000Z","size":68,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-07T00:25:59.229Z","etag":null,"topics":["3d","city","claude-code","code-visualization","codebase","developer-tools","fun","git","threejs","visualization"],"latest_commit_sha":null,"homepage":"https://claude-city-six.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Manavarya09.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-30T19:48:26.000Z","updated_at":"2026-04-06T22:21:23.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Manavarya09/code-city","commit_stats":null,"previous_names":["manavarya09/claude-city"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Manavarya09/code-city","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Manavarya09%2Fcode-city","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Manavarya09%2Fcode-city/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Manavarya09%2Fcode-city/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Manavarya09%2Fcode-city/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Manavarya09","download_url":"https://codeload.github.com/Manavarya09/code-city/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Manavarya09%2Fcode-city/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31926263,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T10:35:34.458Z","status":"ssl_error","status_checked_at":"2026-04-17T10:35:09.472Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["3d","city","claude-code","code-visualization","codebase","developer-tools","fun","git","threejs","visualization"],"created_at":"2026-04-17T11:05:10.877Z","updated_at":"2026-04-17T11:05:27.711Z","avatar_url":"https://github.com/Manavarya09.png","language":"JavaScript","readme":"# Code City\n\n**Turn any GitHub repo into a 3D city.**\n\nPaste a repo URL → watch it transform into a navigable 3D cityscape with buildings, districts, fires, and walking characters. 100% client-side, no backend, no signups.\n\n**[Try it live →](https://claude-city.vercel.app)**\n\n---\n\n## How It Works\n\n| Code | City |\n|------|------|\n| Files | Buildings (height = lines of code) |\n| Folders | Districts with labels |\n| Languages | Building colors (blue = TypeScript, yellow = JS...) |\n| Dependencies | Roads connecting buildings |\n| Bug-fix commits | Fires on buildings |\n| Recent changes | Glowing buildings |\n| Contributors | Walking characters |\n\nPaste any public GitHub repo and the city builds itself using the GitHub API — no cloning, no backend, no API keys needed.\n\n---\n\n## Quick Start\n\n### Use the website\nGo to **[claude-city.vercel.app](https://claude-city.vercel.app)** and paste a repo.\n\n### Run locally\n```bash\ngit clone https://github.com/Manavarya09/code-city.git\ncd claude-city\nnpx serve app\n```\nOpen `http://localhost:3000`\n\n### Direct links\n```\nhttps://claude-city.vercel.app?repo=facebook/react\nhttps://claude-city.vercel.app?repo=vercel/next.js\n```\n\n---\n\n## Controls\n\n| Action | Control |\n|--------|---------|\n| Rotate | Drag |\n| Zoom | Scroll |\n| Pan | Right-click drag |\n| Inspect | Hover building |\n| Focus | Click building |\n| Reset | Press R |\n| Rocket | 🚀 button |\n\n---\n\n## Tech Stack\n\n- **Three.js** — 3D rendering (CDN, zero build step)\n- **GitHub REST API** — Fetches file tree, contributors, languages, commits\n- **Vercel** — Hosting (static site)\n- **Zero dependencies** — No npm install, no build, no backend\n\n---\n\n## Contributing\n\nThis project needs help! Here's what I want to build but can't do alone:\n\n### High Priority\n- [ ] **Better building shapes** — Not just boxes. Cylinders, L-shapes, pyramids for variety\n- [ ] **Day/night toggle** — Switch between sunset and midnight cyberpunk mode\n- [ ] **Time travel slider** — See how the city grew over commit history\n- [ ] **Click building → open file** — Link buildings to GitHub file URLs\n\n### Medium Priority\n- [ ] **Performance for huge repos** — Linux kernel, chromium (10K+ files)\n- [ ] **Shareable screenshots** — One-click export to PNG/video\n- [ ] **Mobile support** — Touch controls, responsive layout\n- [ ] **Private repos** — OAuth flow for GitHub token\n- [ ] **Minimap** — Small 2D overview in corner\n\n### Would Be Insane\n- [ ] **Multiplayer** — See other people's cursors flying around\n- [ ] **VR mode** — Walk through your codebase in WebXR\n- [ ] **Sound** — Lo-fi beats + ambient city sounds\n- [ ] **Terrain** — Hills and rivers based on code complexity\n- [ ] **Weather** — Rain when tests fail, sunshine when CI passes\n\n### How to Contribute\n1. Fork the repo\n2. Pick an issue or idea from above\n3. `npx serve app` to run locally\n4. Open a PR\n\nNo build step. No npm install. Just edit the JS files in `app/` and refresh.\n\n---\n\n## Architecture\n\n```\napp/\n├── index.html      # Landing page + Three.js app entry\n├── city.js         # Building generation, treemap layout\n├── agents.js       # Walking character sprites\n├── effects.js      # Fire, sparkles, rockets, atmosphere\n├── controls.js     # Camera, UI overlay, tooltips\n└── github-api.js   # GitHub API client (no backend needed)\n```\n\nEverything runs in the browser. The GitHub API is called directly from the client. No server, no database, no auth (for public repos).\n\n---\n\n## Supported Input Formats\n\nAll of these work:\n- `facebook/react`\n- `https://github.com/facebook/react`\n- `https://github.com/facebook/react.git`\n- `github.com/facebook/react/`\n\n---\n\n## Rate Limits\n\nGitHub API allows 60 requests/hour without auth. For heavier usage, add a personal access token:\n1. Create token at [github.com/settings/tokens](https://github.com/settings/tokens)\n2. Open browser console → `localStorage.setItem('gh_token', 'your_token_here')`\n3. Rate limit increases to 5000/hour\n\n---\n\n## License\n\nMIT — See [LICENSE](LICENSE)\n\n---\n\n**See your code. Like never before.**\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanavarya09%2Fcode-city","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanavarya09%2Fcode-city","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanavarya09%2Fcode-city/lists"}