RepositoryTypeScript
gekichumai

gekichumai/dxrating

maimai DX tools

127stars
23forks
99issues
3views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: maimainet

#1 Repository of the month

1
TINIX TRENDING·Topic: maimai

#1 Repository of the month

1
TINIX TRENDING·Topic: maimaidx

#1 Repository of the month

DXRating Logo

GitHub Actions Workflow Status GitHub deployments GitHub License GitHub Repo stars GitHub contributors

DXRating

A web application for maimai DX (music arcade game) providing rating calculators, song data, and community features such as tags, comments, and aliases.

Usage

TestFlight

Cloudflare Pages

Architecture

This is a Turborepo monorepo using pnpm as the package manager.

apps/
├── web/          React 19 + Vite SPA (UnoCSS, MUI, wouter, TanStack Query)
├── backend/      Hono API server (oRPC, Drizzle ORM, PostgreSQL, Better Auth)
└── functions/    Cloudflare Workers (edge endpoints)

packages/
├── dxdata/       Pre-annotated maimai DX song & sheet metadata
└── tsconfig/     Shared TypeScript base configuration

scripts/
└── annotator/    Generates annotated song metadata from various sources

Apps

  • apps/web — The main frontend, serving both web and iOS (via WKWebView) variants. Built with React 19, Vite, UnoCSS, Material-UI 5, and shadcn/ui. Supports 4 languages (en, ja, zh-Hans, zh-Hant) via i18next, with an in-browser SQLite database (sql.js) for offline song data.

  • apps/backend — The API server built on Hono. Uses oRPC for type-safe API contracts (defined with Zod), Drizzle ORM with PostgreSQL 16 for persistence, and Better Auth for authentication (email/password, Google/GitHub OAuth, passkeys).

  • apps/functions — Cloudflare Workers edge functions built on Hono, mirroring select backend endpoints for lower latency.

Packages

  • packages/dxdata — Annotated maimai DX song and sheet metadata as JSON, with TypeScript enums for versions, categories, and difficulty levels. Generated by scripts/annotator.

  • packages/tsconfig — Shared TypeScript configuration used across all apps and packages.

Tech Stack

LayerTechnology
FrontendReact 19, Vite, UnoCSS, MUI 5, wouter, TanStack Query
BackendHono, oRPC, Drizzle ORM, PostgreSQL 16, Better Auth
EdgeCloudflare Workers, Hono
LanguageTypeScript 5.9, ESM throughout
MonorepoTurborepo, pnpm 10
Lintingoxlint + oxfmt
TestingVitest
ObservabilityPostHog, Sentry

Prerequisites

  • Node.js 25.9.0
  • pnpm 10.30.3+
  • Docker (for running PostgreSQL locally)

Getting Started

Install dependencies

pnpm install

Set up the database

pnpm --filter @gekichumai/backend db:up

Configure environment

Copy the example env files and fill in the required values:

cp apps/backend/.env.example apps/backend/.env.local

Key variables:

  • DATABASE_URL — PostgreSQL connection string (default: postgres://postgres:postgres@localhost:5432/dxrating)
  • BETTER_AUTH_SECRET — Auth secret key

Start development servers

pnpm dev

This starts all apps concurrently:

Build

pnpm build

Lint & Format

pnpm lint          # Check with oxlint
pnpm lint:fix      # Auto-fix lint issues
pnpm format        # Format with oxfmt
pnpm format:check  # Check formatting

Run tests

pnpm --filter @gekichumai/backend test    # Backend integration tests (requires PostgreSQL)
pnpm --filter @gekichumai/dxrating-web test   # Web unit tests

Deployment

  • Web — Cloudflare Pages
  • Backend — Docker container deployed via Coolify
  • CI/CD — GitHub Actions auto-tags versions on push to main and triggers deployments

License

MIT

Security

If you find a vulnerability in the repository, please email the organization owner (vulnerability@dxrating.net). We kindly ask you not to disclose the detail of the vulnerability to the public before we have released a fix. Thanks for making DXRating a better site!

Contributors

This project is made possible by the following contributors. Contributions are always welcome!

Contributors

Alt

Similar Projects

Discover other similar projects and AI models.

RepositoryC
Sucareto/Arduino-Aime-Reader

使用 Arduino 制作的 Aime 兼容读卡器。(已停更)

286
Jun 11, 2026
RepositoryC#
HarukaKinen/Sinmai-Internal-Damage

An internal game cheat for maimai でらっくす (Sinmai.exe) using Mono Injection

220
Aug 23, 2023
RepositoryC#
WYH2004-MC/Sinmai-Assist

Mods for maimai DX (Sinmai.exe). Patch with MelonLoader.

185
Nov 4, 2026
Repository
CrazyKidCN/maimaiDX-CN-songs-database

舞萌DX2026国服歌曲数据库 (2026年11月13日已更新至Ver.CN1.56-F)

118
Nov 13, 2026
RepositoryC#
Leapward-Koex/MaiTouchSensorEmulator

A touch sensor emulator for maimai DX (SDEZ) that works with any regular touch screen. | 适用于任何普通触摸屏的 maimai DX(SDEZ)触摸传感器模拟器。

92
Sep 11, 2025
RepositoryTypeScript
Lxns-Network/maimai-prober-frontend

该项目为落雪咖啡屋 maimai DX 查分器的前端部分,使用 React + TypeScript + Vite 编写。

80
Nov 23, 2026
RepositoryC#
LumpBloom7/sentakki

An attempt to recreate maimai gameplay within osu!lazer

488
Nov 26, 2026
RepositoryC
Sucareto/Mai2Touch

使用 Arduino 制作的 mai2 触摸和按键灯。(已停更)

143
Jun 11, 2026
RepositoryVue
zetaraku/arcade-songs

A utility site that provides a search interface for arcade games songs and sheets.

141
Jun 20, 2026