A full-stack community platform for custom Dota 2 matches.
Draftory gives Dota 2 communities a place to organize custom matches. Players can gather in a room, form Radiant and Dire teams, and follow their results over time.
Draftory-Web contains the web application and its server-side modules. A local demo uses sample data so you can explore the interface without service credentials.
| Area | What the web app implements |
|---|---|
| Accounts | Steam OpenID sign-in, player onboarding, profiles, and preferred roles |
| Match coordination | Room discovery, team assignment, captain selection, and ready checks |
| Player progression | Match history, statistics, rankings, and Elo and XP tracking |
| Community | Clans, events, and layouts for desktop and mobile |
Steam sign-in and persistent accounts require a configured backend. Live match creation and launch are outside the scope of this edition.
Explore the responsive landing page on draftory.lol, or run the local demo below to see the interface with sample data.
The screenshot above shows the Draftory web interface.
- Interface: Next.js 16.4.6 (App Router), React 19.2.8, TypeScript 5.9.3, and Tailwind CSS 4.3.3.
- Data: Prisma 7.10.1 and PostgreSQL.
- Hosted app: Vercel and Neon, with Steam OpenID for sign-in.
Draftory-Web/
├── src/app/ Pages and web API routes
├── src/components/ Reusable interface components
├── src/lib/ Authentication, room logic, and data access
├── apps/dota-worker/ Web-facing queue, lobby, and availability modules
├── prisma/ Data model and Prisma schema
├── public/ Interface assets
└── imgr/ README preview image
See the shared modules README for the boundary between the web app and match automation.
Keep APP_URL in sync with your local origin. The example configuration enables the development demo and keeps background jobs disabled. Leave DATABASE_URL and DIRECT_URL unset.
The deployment's database migration chain, private integrations, and live worker setup are outside this edition. The Prisma schema is included for reading and client generation.
Use Node.js 24 and npm. From the repository root, copy the environment example by running cp .env.example .env on macOS or Linux, or Copy-Item .env.example .env in PowerShell. Then run:
npm ci
npm run db:generate
npm run devOpen http://localhost:3000/ for the landing page or http://localhost:3000/demo to explore sample data. Generating the Prisma client does not run migrations.
Draftory is an independent community project and is not affiliated with or endorsed by Valve. Dota 2 and related game artwork and marks belong to Valve or their respective rights holders. Attribution does not grant permission to reuse third-party assets.
Draftory does not have a project-wide open-source license. See the third-party notices and OpenDota's MIT notice for the applicable materials. Those notices do not grant rights to Valve artwork or third-party trademarks.
Built by wintercraxker. Thanks to the maintainers of Next.js, React, TypeScript, Tailwind CSS, Prisma, and PostgreSQL, and to the Dota 2 community.