Skip to content

Latest commit

 

History

331 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repolis — the City of Repos

Repolis — the City of Repos

English · 한국어

Public GitHub repos become a walkable 3D town. Traffic shapes the buildings, residents live there, and Gitber drives you to the right project.

Open the live town Try my GitHub Use this template

Repolis demo: a living traffic-shaped GitHub town, Gitber search, taxi ride, and real repository card

🎬 15-second demo: traffic → buildings · ask Gitber → taxi ride → real repo card
WASD / touch to walk · ask Gitber · Enter / tap to open · no sign-up or build · Run locally · ⭐ Star Repolis
Type a GitHub username, owner/repo, or repository URL on the first screen. Repolis uses public metadata only.

Daily refresh Three.js Zero build License: MIT

What the demo proves

In the demo What it means for your repositories
traffic, stars, forks, clones, and activity become visible architecture portfolio signals become a place people can understand without opening a dashboard
Gitber searches by natural language, then physically drives to the result repository discovery becomes an interaction, not another list
?user=<login> rebuilds the town from any public GitHub account you can test the same engine with your work before cloning or configuring anything

Fastest proof: open Try my GitHub and enter your login or one owner/repo. A username builds the public town; a repository opens that project first. No token, account connection, or fork is required.

Typing a GitHub username on the Repolis launchpad and walking into a town built from that account's public repositories

⌨️ Username → your own town: type mrdoob → his 58 public repos stand up as a walkable city

If this gives you a useful way to present repositories, star Repolis — it helps other developers discover the template.

From preview to your own city

Goal What to do Result
preview my public repos use the live username field a shareable metadata-built town in seconds
share one repository as an experience paste owner/repo or a GitHub repository URL, then use Copy Repo Portal in its Atelier a canonical ?repo=owner/repo&ref=repo-portal link that loads one target before the owner catalog
hand another developer the best path I found add 2–3 opened repo cards to Repo Route, then follow or share it one ordered deep link that guides the recipient through those real houses before the earned Star invitation
find a current open-source task open Open Source Quests in Wayfinding, then explicitly search three current public issues ranked for approachability, each connected to its real repo house and exact GitHub issue
introduce who built the town visit Town Creator Hall or open Meet the town creator in the city menu public bio, followers, GitHub tenure, top languages, badges, and signature projects tied to the current town owner
watch my open-source history unfold open Town Growth Replay from Wayfinding, the Passport, or my completed public-town preview a creation-date timeline where repo houses rise year by year, with a shareable year link and era postcard
connect with another developer click Connect with a friend after a preview, or open Twin Towns in the city menu a two-person link that opens both towns and their shared languages or topics
keep my town on my GitHub profile click Put this town on my GitHub profile when the preview is ready, or use Town Postcard Studio a 600px portal that always opens my personalized town
publish my own Repolis use the template, enable Actions + Pages, run Refresh Repolis data once your fork owner's public repos become the default town; no PAT required
grow buildings from real traffic optionally add the GH_PAT Actions secret daily cumulative views, visitors, and clones enrich the same city

Forks automatically infer <owner>.github.io as the town owner and do not call the upstream AI or realtime Workers. Custom domains set one value in repolis.config.js.

How repository data becomes a city

Repolis turns public GitHub metadata and cumulative traffic into a place instead of another dashboard.

Signal What it becomes
unique visitors building height
forks lot and building width
clones banners and gold trim
views garden and fence size
stars roof ornaments
recent activity window glow at night

Repositories are grouped into topic districts with roads, signs, hubs, and a world map. The owner town refreshes daily from committed traffic history plus the GitHub API. ?user=<login> builds a lighter public town with that user's own World Tree record and bounded local residents, while ?repo=<owner>/<repo> loads one project first through the same projection. GitHub does not publish visitor, view, or clone traffic for those public API modes, so their buildings use stars, forks, and update recency without inventing traffic. At ordinary walking distances, a one-draw architectural LOD keeps each repo house's textured walls and roof while preserving its plot, hedge, path, real window panes, shutters, sills, flower boxes, gutters, and tier-specific porch, balcony, or portico.

A village that lives

  • Residents have lives, not idle loops. Named townspeople wander their districts, keep daily rhythms, carry changing moods, visit cherished haunts, recognize friends, stroll and sit together, gather around the campfire, and sometimes celebrate a recent repository release. Their cottages form Starlight Row on the north-east edge, with resident-coloured gardens, three roof silhouettes, shutters, transoms, selected window boxes, canopies, chimneys, and roof finials. A shared flower bed, lanterns, hedges, and broadleaf/cypress trees care for the commons. Night brings residents home to warm windows and porch seats, while morning sends them back to their district work. Pairs also choose their own short Shared Joy excursions to real flower patches, visible night stars, or a real repo house—without a player prompt or AI call. Ask a specialist question and they introduce the right scholar instead of pretending to know: follow the compass and find that scholar in the world.
  • A public town lives from its own record. The one existing public-repository load deterministically supplies its era, season, Silence Ledger, archived Roots, and up to six desktop/four phone-or-LOW_END residents with local jobs, greetings, and real repo-home bindings. Traffic, owner residents, Shared/Bound memories, realtime, and grounded services stay unknown or off; no second API request or model call is made.
  • The owner World Tree keeps a small factual history. Its Thirty-day Sap Ledger retains up to 30 actual UTC daily entries of public repo, star, fork, recent-activity, season, and Silence aggregates. Same-day refreshes replace instead of duplicate, missing days stay missing, and foreign towns explicitly receive no owner ledger.
  • The roots open into a walkable archive. The Undercroft turns the current town's archived public repositories into deterministic shelves and plaques beneath the World Tree. Approach one to read its existing Roots text, active years, and available last public activity, then open the repository in a new tab. The Chronicle stays available as the accessible summary; empty and foreign towns keep their own truthful record without borrowing owner history.
  • Exploration has continuity. The Explorer Passport records houses and landmarks, district progress shows what remains, and the daily Village Chronicle connects one resident to their cherished haunt and a truthful related repo or district.
  • The city points outward to real work. Open Source Quests makes one anonymous public GitHub search only when the visitor asks, ranks up to three current good first issue, help wanted, or open issues, and leads through the actual repository house before the exact issue handoff. Results stay in the tab; no login, token, issue tracking, or new backend is involved. The existing earned Star invitation can appear only after the visitor chooses to open an issue.
  • A visitor can hand off the route that proved the town's value. After opening a repository house, Repo Route can save it to an ordered 2–3 stop walk. The recipient's link confirms the stops before entry, points to each real house in sequence, and offers the existing earned Star invitation only after completion. The draft is session-only; the URL contains public repo names and adds no backend, account, storage key, or render asset.
  • Your repository history becomes a moving city story. Town Growth Replay reads the public creation date already carried by every repo house, then raises the town through its real repo-birth years from the first house to the present. The scrubber, play/pause controls, deep link, and era postcard work for the owner and every ?user= public town. The timeline covers repos still public today; house appearance and language labels stay explicitly marked as today’s metadata. Replay adds no mesh, texture, light, backend, account, or stored history.
  • A repository can be the front door. Repo Portal accepts owner/repo or a GitHub URL, loads that one public target before the owner catalog, and takes the visitor into its Repository Atelier after one entry click. The Atelier can copy the canonical address, open GitHub, or expand into the owner's full town. A 15-minute, 512 KiB local cache and stale fallback keep the path bounded; unavailable traffic remains unknown.
  • Every repo house opens into one finished exhibition. Its card leads to the reusable Repository Atelier, where the current Repolis chibi, data and signal walls, Repository Core, and action terminals rebind to that repo. The new Repository Blueprint stays silent until Scan public source map is chosen, then makes one exact public GitHub Tree request and projects a bounded, accessible DOM/3D file-and-folder map. A focused node can become a canonical Blueprint Deep Link; recipients confirm the exact public repo/path before Load public Blueprint starts that same single request, and missing paths are never guessed. It is explicitly the current source tree—not a call graph or runtime architecture—and truncated results remain labeled without follow-up crawling. Ask Gitber still keeps an isolated in-room thread for up to five backend calls per visit, no other repository is substituted, and GitHub remains an explicit external action.
  • Daily refresh now means something on return. The Passport's Town Gazette compares the current public repo snapshot with the last one this browser marked read, then highlights new repos, release tags when available, pushes, and positive metric growth. It is entirely local and costs nothing.
  • Repositories form relationships. The Stargazer's Observatory finds a truthful three-repo connection from shared topics or languages and draws it as a nighttime Constellation Trail.
  • Every town introduces its creator. Town Creator Hall belongs to the active town owner—canonical, fork, or ?user= visitor—and combines an explicitly loaded public GitHub profile with the repositories already rendered in town. The hall highlights truthful stats, languages, earned badges, and three signature projects before crediting the upstream Repolis engine.
  • Two developers can connect their towns. Twin Towns compares public repo metadata, finds shared languages or topics, and creates a recipient-specific link that can be followed in either direction—without login or a backend.
  • Quiet maintenance gets its own light. The Observatory's Maintainers' Night Watch picks three recently tended, low-star repositories from public metadata and asks visitors to light their lanterns—celebrating care, not popularity.
  • Landmarks carry the project story. The Contribution Library archives papers, talks, open-source work, and awards; Chronopolis hosts the Council of Time; the plaza, observatory, park, and fairground make the city worth walking. At Petite-Venise, a boardable low-profile ferry follows the real canal curve beneath the flower bridges for one scenic town tour.
  • The World Tree anchors the skyline. It is a deterministic, code-native Three.js sculpture generated through the threejs-sculpt-dna Copilot plugin, with rooted foliage, living motion, and tree-isolated bloom.

Ask the city

Guide What to ask How it answers
Gitber · POLARIS “Take me to an AI agent repo” or “most cloned” local indexed search by default, then drives to the selected house
VEGA · Archivist Azure, .NET, Copilot, Microsoft products grounded Microsoft Learn search with references
RIGEL · Cartographer how a public repository works grounded DeepWiki exploration
MIRA · Timekeeper current library APIs and version-specific examples direct Context7 lookup; roams the Library district
LYRA · Forgemaster public models, datasets, and ML papers direct Hugging Face search; roams the AI district
Council of Time a technical trade-off or disputed claim deterministic curated verdicts, plus optional live debate clearly marked unverified

The town works without a backend. Local search is instant and keyless; WebLLM is optional in-browser inference; the live demo adds grounded answers and official public MCP lookups through a Cloudflare Worker. Missing services degrade to Local search or solo play.

Run in 60 seconds

git clone https://github.com/hyeonsangjeon/Repolis
cd Repolis
python3 -m http.server 8000
# open http://localhost:8000

There is no install or build step. Three.js is loaded from a CDN import map; local data and modules are served as static files.

To rebuild the owner city from GitHub plus collected traffic history:

gh auth login
GTM_DIR=data python3 scripts/build_repos.py

repos.json is generated. Change the builder, never the generated JSON by hand.

Build your own city

The quickest preview needs no fork: open Try my GitHub, share https://hyeonsangjeon.github.io/Repolis/?user=<login>, or point one project at https://hyeonsangjeon.github.io/Repolis/?repo=<owner>/<repo>&ref=repo-portal.

For a persistent metadata-built city:

  1. Click Use this template.
  2. Enable Actions, then enable GitHub Pages from main at the repository root.
  3. Run Refresh Repolis data once; the workflow uses github.token to build from the template owner's public repos and continues daily.
  4. Optional: add an Actions secret named GH_PAT to collect cumulative traffic. Without it, stars, forks, recency, language, topics, and releases still build the city.

Only public repositories are rendered. Untouched mirror forks are filtered out, and private repository names never enter the public data.

Architecture

traffic history + GitHub API
             │
             ▼
 scripts/build_repos.py ──▶ repos.json
                                │
                                ▼
                    index.html + local modules
                         Three.js town
                         ├─ Local search
                         ├─ optional grounded AI Worker
                         └─ optional realtime Worker

Repolis stays a zero-build static web app. The main runtime remains in index.html; specialized local files hold generated data, the scholar roster, the World Tree factory, and deterministic Council logic.

Path Purpose
index.html 3D world, UI, navigation, residents, exploration, i18n
repolis.config.js fork owner inference and safe optional-service defaults
repos.json generated repository and traffic data
scholars.js scholar roster
assets/repo-portal.js strict target parsing, public projection, and canonical repository links
assets/town-growth.js deterministic repo-birth timeline, year snapshots, and share links
assets/world-tree/ procedural World Tree factory
cloudflare-taxi/ grounded AI and optional resident dialogue Worker
cloudflare/ realtime presence Worker
council/ deterministic Council engine and guards
scripts/ data builders and regression checks

Optional services

Capability Setup
Grounded taxi and scholars cloudflare-taxi/README.md
Realtime visitors and counters cloudflare/README.md
Vercel taxi alternatives api/ and .env.example
Copy-paste integrations examples/

Controls

Input Action
W A S D, arrows, or left touch stick walk
mouse drag or right touch stick look and turn
wheel zoom
Enter, click, or the mobile door button open the nearby place
taxi button ask Gitber
menu / map / passport buttons navigate, track exploration, and replay the town's growth
language and sun/moon buttons switch language and time of day

Documentation

License

MIT © Hyeonsang Jeon. Data collection credit: github-traffic-monitor.

About

🏙️ Public GitHub repos become a walkable 3D town. Traffic shapes the buildings, residents live there, and Gitber drives you to the right project.

Topics

Resources

Stars

21 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages