Underground 2 Revived
Play Need for Speed: Underground 2 (2004) in Chrome and Firefox with WebGPU graphics, Web Audio, up to 120 fps widescreen, controller support, free roam and Online races with friends. Fan project, not
Dota 2 player rankings and match stats, powered by OpenDota
Translation pending
GamesTypeScript · CSSGitHub @AshutoshDash1999OnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗A Dota 2 stats site built on the public OpenDota API. Every player, match, hero, team and league has its own page, and each one links to the others.
Live site: https://dotaboost-assignment.vercel.app/
/): the top 10 players by ranked MMR or Turbo rating, plus live games, the latest pro matches and the strongest heroes./players/[id]), with filters for period, patch, hero, game mode, lobby, lane, side and result that are kept in the URL:
/matches/[id]): scoreboards with items, draft, gold/XP advantage graphs, item builds and chat. Unparsed matches can request a replay parse./matches): pro and public match feeds with load-more paging./live): games in progress, refreshed every 30 seconds./heroes, /heroes/[id]): win and pick rates per rank bracket, and per-hero matchups, item popularity and timings, benchmarks, top players and pro matches./pros, /teams, /teams/[id], /leagues and /leagues/[id]./records): all-time single-match records./meta): rank distribution, team scenario win rates and a hero combo match finder.react-query-ease (typed Axios client)Requires Node.js 20+ and pnpm. No API key or environment variables are needed.
pnpm install
pnpm dev
Open http://localhost:3000.
| Command | What it does |
|---|---|
pnpm dev | Start the dev server |
pnpm build | Production build |
pnpm start | Serve the production build |
pnpm lint | Run Biome checks |
pnpm format | Format the code with Biome |
Components used by one route live next to it in a private _components folder. Anything shared by two or more routes lives in src/components.
src/
├── app/
│ ├── _components/ # Home page sections (leaderboard, strips)
│ ├── players/[id]/ # Player layout + tab routes, _components, _hooks (filters)
│ ├── matches/ # Feeds; [id]/ is the match page
│ ├── heroes/ # Hero meta; [id]/ is the hero page
│ ├── teams/ leagues/ pros/ # Pro scene pages
│ └── live/ records/ meta/
├── components/ # Shared components (links, tables, cards, nav)
│ └── ui/ # shadcn/ui primitives
├── hooks/ # Shared React hooks (useDebounce, useShowMore)
├── lib/
│ ├── api/ # API client, endpoints, response types, query hooks
│ ├── dota.ts # Win rate, formatting, image and lane-role helpers
│ ├── hero-stats.ts # Picks and wins per rank bracket
│ ├── rank.ts # Rank tier → medal label and icon
│ └── steam.ts # Steam32/Steam64 ID parsing
└── providers/ # React Query provider
docs/
└── OPENDOTA_API_CONTRACTS.md # OpenDota OpenAPI spec (JSON) for reference
All data comes from https://api.opendota.com/api and is fetched on the client. Endpoints used:
/topPlayers, /search, /players/{id} and its /wl, /recentMatches, /matches, /heroes, /peers, /pros, /totals, /counts, /histograms/{field}, /wardmap, /wordcloud, /ratings, /rankings, POST /refresh/matches/{id}, /proMatches, /publicMatches, /findMatches, POST /request/{match_id}, /request/{jobId}, /live/heroStats, /heroes/{id}/matchups, /heroes/{id}/durations, /heroes/{id}/itemPopularity, /heroes/{id}/matches, plus /rankings, /benchmarks, /scenarios/itemTimings and /scenarios/laneRoles with ?hero_id=/proPlayers, /teams, /teams/{id} and its /matches, /players, /heroes, /leagues, /leagues/{id} and its /matches, /teams/records/{field}, /distributions, /scenarios/misc, /constants/{resource}Not used: /health, /schema, /explorer, /metadata, /parsedMatches, /heroes, /heroes/{id}/players and /leagues/{id}/matchIds. They are infrastructure endpoints, return too little to show (/parsedMatches is only match IDs, /heroes/{id}/players has no names), or duplicate data from the endpoints above.
The free OpenDota tier is rate-limited, so heavy use can return errors. The retry buttons cover this.
pnpm format && pnpm lint.feat: add hero filter).