速い
All vessels
速い

Hayai

Hayai — The Speed

A real-time multiplayer typing race where you compete, climb ranks, and make it yours.

active GitHub

Join a room, race others typing the same text, see everyone's progress live. Fastest fingers win. Track your ghost, climb the ladder, customize everything. Built with Elixir, Phoenix LiveView, and the satisfying sound of mechanical keyboards.

Technology

Elixir Phoenix LiveView PostgreSQL Oban Tailwind CSS

The Vessel

A competitive typing race where speed meets craft. Real-time multiplayer, ELO-based ranked matchmaking, ghost racers, and deep customization — all built on the BEAM.

Core Features

  • Real-time competition — see opponents’ cursors advancing as they type
  • Ghost Racer — race against your past self, beat your personal best
  • Ranked Matchmaking — ELO-based ladder with animal ranks from Snail to Phoenix
  • Code Mode — type real code snippets with syntax highlighting
  • Custom Themes — fully customizable UI via TOML theme files
  • Daily Challenge — same text globally for 24h, compete for the top

Operational Capabilities

CapabilityEngine
Real-time roomsGenServer-per-room with Phoenix PubSub fanout
Race orchestrationSupervised race processes with fault isolation
Low-latency updatesLiveView + PubSub keystroke streams
Leaderboards + ranksPostgres-backed ELO ladder + seasonal tiers
Background jobsOban pipelines for scoring, rewards, and cleanup
Always-on stateBEAM process memory with crash recovery
Back to all vessels