Your next solve starts here.
Learn a new puzzle, practice one turn at a time, and find people to cube with.
English · 简体中文 | iOS · Android · Web preview
Explore the app · Try the preview · For developers
Cubers brings learning, practice, play and community into one place. Start with your first solve or work on a more advanced technique, with a colorful learning path and an interactive puzzle beside you.
Choose from 3×3, 2×2, 4×4 and Pyraminx. Follow a pathway, open a unit, and work through its smaller lessons at your own pace. Beginner courses explain how the pieces fit together; advanced lessons help you recognize cases and practice more efficient solutions.
Development screenshots from synthetic test sessions.
- Turn a virtual puzzle. Explore the 3D view, try a move, undo it, and step through a demonstration.
- Learn with your own cube. Scan its colors or enter them manually. Stage lessons check your starting position, explain the next move, and guide you to that lesson’s goal.
- Take a lesson with you. Download teaching and supported practice for offline use. Local practice stays local; reconnect for verified progress.
Smart-cube connections are also being developed. Supported models remain disabled in production until physical testing passes.
| Area | What you can do |
|---|---|
| Discover | Read puzzle introductions, explore cubing stories, and take part in reviewed posts, discussions and clubs. |
| Learn | Follow beginner and advanced pathways, practice with interactive puzzles, and revisit lessons when you need them. |
| Play | Try friendly races, Pattern Chase, Algorithm Sprint, Cooperative Relay and daily challenges. |
| Profile | See your own practice activity, solve history and milestones, with privacy controls and settings grouped by topic. |
Cubers supports English and Simplified Chinese, light and dark appearances, and reduced-motion demonstrations. Your profile reflects your own saved practice and milestones.
Community features include reporting, blocking and moderation. Younger learners have guardian-managed access and age-appropriate restrictions. Mainland China and international communities use separate accounts and services.
Cubers is in development and has not launched publicly or been approved for app-store distribution.
The preview builds and installation guide include Android packages and unsigned iPhone review packages. These previews need a running Cubers server for connected features; iPhone installation also requires Apple signing.
AI replies in the preview are clearly labelled simulations. Camera scanning is still being tested on physical phones; smart-cube connections, ranked play and live AI are not enabled for production. See the current project status for progress and remaining work.
For support and privacy questions: support@exabyte.org.cn.
This section covers the codebase, local setup, checks and contribution workflow. Start with the complete development and production startup guide for the full npm, Docker, database, Redis, storage, mail, worker and deployment instructions.
| Location | Responsibility | Main tools |
|---|---|---|
apps/mobile |
iOS, Android and browser app | React Native, Expo Router, TypeScript, Three.js |
apps/api |
Regional API, realtime games and background work | NestJS, Prisma, PostgreSQL, Redis, Socket.IO |
apps/admin |
Staff review and administration | React, TypeScript, role checks and administrator MFA |
packages/core |
Shared contracts, puzzle logic and authored curriculum | TypeScript, Zod |
infra |
Containers, service isolation and deployment | Docker Compose, regional configuration |
docs |
Feature behavior, verification evidence and operating guides | Start with PLAN and STATUS |
Regional installations keep accounts, databases, media, communities and competitions separate. The backend determines the community; client settings cannot override regional access checks. See REGIONS.md.
Use Node.js 22.14 or newer, npm and Docker Compose. Host media processing also needs FFmpeg and FFprobe. Camera and Bluetooth require a native Expo development build rather than Expo Go; Android builds need JDK 17 and the Android SDK, and iOS builds need Xcode on macOS.
For a fresh checkout:
npm ci --no-audit
test -f .env.local || cp .env.example .env.local
chmod 600 .env.local
npm run db:generate
npm run build:coreKeep an existing .env.local. For the Docker development services, set both S3_ACCESS_KEY and S3_SECRET_KEY in that private file to S3RVER. Keep AI_MODE=mock and real AI keys empty.
Start the development data services, then apply migrations and seed the authored lessons:
docker compose -f infra/compose.dev.yml up --build --detach
node --env-file=.env.local node_modules/prisma/build/index.js migrate deploy --schema apps/api/prisma/schema.prisma
node --env-file=.env.local --import tsx apps/api/prisma/seed.tsWait for PostgreSQL and Redis to be ready before migrating. The seed creates authored curriculum and initial settings; it does not create users, engagement or a production administrator. Mailpit captures verification and recovery emails locally. Volumes retain data across normal stops; avoid deleting them when keeping local history.
Run each of these in its own terminal:
npm run ai:mock
npm run dev:api
npm run dev:adminFor the browser app, use a separate terminal:
EXPO_PUBLIC_REGION=INTL \
EXPO_PUBLIC_API_URL_INTL=http://localhost:3000 \
EXPO_PUBLIC_API_URL_CN=http://localhost:3000 \
EXPO_PUBLIC_COMMUNITY_DISCOVERY_URL=http://localhost:3000 \
npm run web -w @cubers/mobileFor a native development client, use npm run dev:mobile with the matching public endpoint settings. On a phone, localhost points to the phone itself; use a reachable server address. The development build guide covers manual origins, standalone packages, Metro and debug controls.
| Local service | Default address or port |
|---|---|
| App / Metro | http://localhost:8081 |
| Admin | http://localhost:4173 |
| API / development API reference | http://localhost:3000 / http://localhost:3000/api-docs |
| PostgreSQL / Redis | 127.0.0.1:54329 / 127.0.0.1:6389 |
| Development S3 storage | http://127.0.0.1:9009 |
| SMTP / Mailpit inbox | 127.0.0.1:10259 / http://localhost:8029 |
| Mock AI | http://127.0.0.1:4010/v1 |
The startup guide also covers an alternative local-process service set, the private consent-document renderer, LAN access with npm run dev:lan, production HTTPS, backups and recovery. Run one service set at a time. Keep local services and Metro off the public internet.
- Read the plan, current status and the relevant feature guide before changing behavior.
- Preserve English/Chinese content, existing routes, saved progress, permissions and regional boundaries. Put synthetic accounts and media in isolated test environments.
- Add focused checks for meaningful behavior changes, then run the checks appropriate to the affected workspaces.
- Describe what changed, how it was verified, and any remaining device or operating limits. Do not present simulated-provider or emulator results as production acceptance.
npm run typecheck
npm test
npm run test:integration
npm run test:docker
npm run test:load
npm run export:web -w @cubers/mobileIntegration and load checks require local services and use separate test databases. Docker checks create disposable regional stacks and clean up their own resources. The load harness exercises 100 synthetic concurrent players; its results do not certify a production deployment. See deployment verification and container load checks.
Keep AI credentials server-side. Never place keys in EXPO_PUBLIC_ variables or commit private environment files. The admin can configure a provider’s API base URL and model, but live access requires credentials, validation and regional approval. See AI moderation. This workspace currently uses mock providers and saved security-audit reports; fresh registry audit uploads are not authorized.
Production staff access uses the staff enrollment and MFA workflow. scripts/dev-reviewer.ts is a separate local-only reviewer fixture; it must never provision production staff.
Learning, scanning and puzzle logic
- Curriculum validation, guided first solves, stage lessons and placement assessments.
- Virtual cube controls, Pyraminx controls, automatic scanning and scanner reliability.
- Last-layer coaching, alternative sequences, lesson lifecycle and learning authority.
- Offline lessons and reminders, offline first-solve guidance, native offline acceptance and course editing.
- Smart-cube adapters, smart lessons and device-test evidence.
Community, profiles and play
- Discovery readings, community behavior, invitation continuation, announcements and notifications.
- Profile privacy, session statistics and achievement cards.
- Server WCA scrambles, mixed-input rooms, cooperative relay, competitions and category rankings.
- Smart room games, smart competitions, virtual replays, smart replays and anonymous replay sharing.
Safety, media and service security
Operations, recovery and release
- Startup runbook, deployment, web companion and signed alert delivery.
- Deletion recovery, database snapshots, media privacy decisions, encrypted media vault and isolated media restoration.
- Media maintenance, snapshot expiry, vault metadata retirement and journal retention.
- Fresh-source mobile setup, Android builds, iOS builds and development packages.
- Store materials, release requirements and an earlier unsigned Android review snapshot.
Production configurations fail closed until the required services and approvals are configured. Signed builds, real-device camera/Bluetooth acceptance, operator commissioning, privacy and moderation procedures, regional filings and store review remain separate launch requirements. The release checklist and implementation status are the authoritative places to track them.


