⚔ Transform your GitHub profile into a living 3D RPG world ⚔
Repos → Skyscrapers · Stars → Height · Languages → Class
"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://raw.githubusercontent.com/shivrajcodez/devrealm/main/DevRealm.html
open DevRealm.htmlgit clone https://github.com/shivrajcodez/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://api.github.com/users/{username}
GET https://api.github.com/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.