β Transform your GitHub profile into a living 3D RPG world β
Repos β Skyscrapers Β· Stars β Height Β· Languages β Class
π Live Demo Β· πΈ Screenshots Β· β‘ Quick Start Β· π€ Contributing
"Every commit is a stone. Every repo is a tower. Every dev is a legend."
DevRealm is a zero-dependency, single-file web experience that ingests any GitHub username and renders it as a fully interactive 3D city powered by Three.js β complete with an RPG character, achievement system, AI roast generator, and shareable holographic profile cards.
No framework. No npm install. No build step. Just drop the HTML file in a browser.
# That's it. Seriously.
open DevRealm.html| ποΈ 3D City View | π§ RPG Character | π₯ Viral Zone |
|---|---|---|
| Repos as skyscrapers, drag to orbit | Language-forged class & live stats | AI roast + holographic share card |
Try it live β Enter
torvalds,gaearon, orsindresorhusto see the magic
|
|
|||||||||||||||||||||||||||
|
|
Unlock badges based on your real GitHub activity:
| Badge | Name | Requirement | Rarity |
|---|---|---|---|
| π± | First Repo | 1+ repository | Common |
| π¦ | Repo Hoarder | 10+ repositories | Uncommon |
| π° | Legendary Coder | 50+ repositories | Rare |
| β | First Star | 1+ star received | Common |
| π« | Star Collector | 100+ total stars | Uncommon |
| π | Open Source Hero | 1,000+ total stars | Epic |
| π₯ | Influential | 10+ followers | Uncommon |
| π | Polyglot | 5+ languages | Rare |
| π΄ | Fork Master | 50+ total forks | Rare |
# Download and open β that's the entire install process
curl -O https://github.com/raw/yourusername/devrealm/main/DevRealm.html
open DevRealm.htmlgit clone https://github.com/yourusername/devrealm.git
cd devrealm
# Python
python3 -m http.server 8080
# Node.js
npx serve .
# Then open β http://localhost:8080/DevRealm.htmlnpm i -g vercel
vercel DevRealm.html
# β https://devrealm-xyz.vercel.app ββΆ Vercel (Recommended β free, instant)
npm i -g vercel
vercel DevRealm.htmlOr drag-and-drop DevRealm.html to vercel.com/new.
βΆ Netlify (Drag & Drop)
- Go to netlify.com/drop
- Drag
DevRealm.htmlinto the browser - Done β live in ~10 seconds with a public URL
βΆ GitHub Pages
# Rename to index.html for root serving
cp DevRealm.html index.html
git add index.html
git commit -m "π Deploy DevRealm"
git push origin main
# Enable Pages: Settings β Pages β Deploy from mainβΆ Docker
FROM nginx:alpine
COPY DevRealm.html /usr/share/nginx/html/index.html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]docker build -t devrealm .
docker run -p 8080:80 devrealm
# β http://localhost:8080βΆ Optional: GitHub Token for higher rate limits
The app works without authentication (60 req/hour). To increase to 5,000 req/hour, add your token inside DevRealm.html:
// In the fetchGH() function, update headers:
const h = {
'Accept': 'application/vnd.github.v3+json',
'Authorization': `token YOUR_GITHUB_PAT`
};Generate a token at github.com/settings/tokens β no scopes required for public repos.
DevRealm is intentionally a single HTML file. Here's what lives inside:
DevRealm.html
β
βββ <head>
β βββ Google Fonts (Orbitron Β· Exo 2 Β· VT323)
β βββ Three.js r128 (CDN β only external dependency)
β
βββ <style> (~350 lines)
β βββ CSS custom properties (design tokens)
β βββ Landing page β glitch logo, search, feature cards
β βββ Loading screen β triple-ring orbital animation
β βββ Dashboard layout β sticky sidebar + tabbed main
β βββ RPG character card β conic avatar ring, stat bars, XP
β βββ Analytics panel β lang bars, heatmap, metrics
β βββ Viral zone β roast box, holographic share card
β
βββ <script> (~550 lines)
βββ Custom cursor β physics-lagged ring + dot
βββ Particle network β WebGL 2D canvas background
βββ Floating runes β emoji ambient particles
βββ GitHub API β fetchGH() with mock fallback
βββ RPG engine β calcLvl, calcXP, genTitle, CLS map
βββ THREE.js city β full 3D scene, orbit, raycaster
β βββ Scene setup β fog, lighting, star field, roads
β βββ Buildings β BoxGeometry per repo, animated growth
β βββ Windows β per-face plane meshes
β βββ Antennas β CylinderGeometry + beacon spheres
β βββ Interaction β drag orbit, scroll zoom, click-open
β βββ Controls β spin toggle, night mode, reset
βββ Analytics β heatmap, language bars, metrics
βββ Viral β roast engine, share card, clipboard
DevRealm uses two public GitHub REST API v3 endpoints β no auth required:
GET https://github.com/api/users/{username}
GET https://github.com/api/users/{username}/repos?per_page=100&sort=stars
Rate limits:
| Mode | Limit | How to increase |
|---|---|---|
| Unauthenticated | 60 req / hour / IP | Add a GitHub PAT |
| Authenticated (PAT) | 5,000 req / hour | See Quick Start |
| If rate limited | Falls back to mock data automatically | β |
- Three.js isometric 3D city with orbit controls
- RPG character system with 14 language classes
- Achievement system with 9 unlockable badges
- AI roast generator
- Holographic share card
- Night mode toggle
- Mock data fallback when rate limited
- GitHub OAuth for authenticated requests (5k rate limit)
- Export share card as PNG via
html2canvas - Multiplayer city β compare two GitHub profiles side by side
- GitHub GraphQL API for real commit counts
- Flying commits between buildings (particle trails)
- Boss battle mode β challenge another dev
- Mobile touch controls for 3D city (pinch to zoom)
- Embeddable
<iframe>widget for personal sites
Contributions are what make the open source community extraordinary. Any contributions you make are greatly appreciated.
# 1. Fork the repository
# 2. Create your feature branch
git checkout -b feature/AmazingFeature
# 3. Commit your changes
git commit -m 'feat: add AmazingFeature'
# 4. Push to the branch
git push origin feature/AmazingFeature
# 5. Open a Pull RequestGood first issues:
- π Add more language β class mappings
- π Add new achievements
- π Add i18n support
- π± Improve mobile responsiveness
- π¨ Add new building architectural styles
v2.0.0 β The 3D Update
- β¨ Complete Three.js rewrite of city visualization
- β¨ Full orbit camera controls (drag, scroll, auto-spin)
- β¨ Per-building point lights and beacon animations
- β¨ Night mode toggle
- β¨ Road network and star field atmosphere
- β¨ Raycaster hover with per-repo tooltips
- β¨ Building growth animation with cubic easing
v1.1.0 β The Visual Overhaul
- β¨ Custom physics-lagged cursor
- β¨ Animated gradient border on search
- β¨ Glitch effect on logo (chromatic aberration)
- β¨ Particle network background
- β¨ Floating rune ambient particles
- β¨ Scanline and vignette overlay
- β¨ Holographic share card with glow orbs
v1.0.0 β Initial Release
- β¨ GitHub profile β 2D city visualization
- β¨ RPG character system
- β¨ Achievement badges
- β¨ Roast generator
- β¨ Mock data fallback
Made with π caffeine and β¨ obsession
If DevRealm made you smile, please consider giving it a β It helps other developers discover this project.
Distributed under the MIT License. See LICENSE for more information.
MIT License β do whatever you want, just keep the attribution.