Michess d60899fdbf feat(ui): simplified homepage, /play subpage, and fix bot-game PGN bug
Homepage now shows only a "Spielen" card (links to /play), public games,
last 3 games as mini-board thumbnails for logged-in users, and live games.

New /play page contains all game-mode cards (create, vs AI, friends,
correspondence, tournament).

Bug fix: /ai page was constructing Chess instances from FEN on every move,
discarding the full PGN history. Switching to loadPgn() preserves all moves
so the saved game can be fully reviewed in the archive.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-15 15:22:38 +02:00
2023-05-10 22:28:57 +08:00
2023-01-03 15:47:30 +08:00
2023-08-16 13:19:14 +08:00
2023-07-27 16:28:10 +08:00

MiChess

Eine selbst-gehostete Schachplattform, inspiriert von Lichess.org. Läuft als Docker-Container auf einer NAS — lokal, privat, ohne Cloud!

Basiert auf chessu (MIT) von dotnize — vielen Dank für die solide Basis.

Features

  • Echtzeit-Multiplayer (Spieler vs. Spieler)
  • Stockfish KI in 6 Schwierigkeitsgraden (Anfänger bis Meister)
  • Nutzeraccounts mit E-Mail & Passwort
  • Freundessystem mit Anfragen und Freundesliste
  • Admin-Panel: Nutzerverwaltung, Sperren/Entsperren, Git-Update per Knopfdruck
  • Spielarchiv & Statistiken
  • Zuschauer & Chat
  • Mobil-optimiert

Tech Stack

Next.js 14 · Tailwind CSS · daisyUI · react-chessboard · chess.js · Express.js · Socket.io · PostgreSQL · TypeScript · Docker

Deployment (NAS / Docker)

# 1. Repository klonen
git clone https://git.mischlabs.de/MrDiderot/MiChess.git michess
cd michess

# 2. Konfiguration anpassen
cp .env.example .env
nano .env   # Passwörter, ADMIN_EMAIL etc. setzen

# 3. Starten
docker compose up -d --build

Frontend: http://deine-nas-ip:3000 Backend API: http://deine-nas-ip:3001

Update

# Manuell via Script
./scripts/update.sh

# Oder im Admin-Panel → "Jetzt aktualisieren"

Entwicklung (lokal)

pnpm install
pnpm dev

Lizenz

MIT · Copyright © 2024-present Tom Misch

Description
No description provided
Readme MIT 1.4 MiB
Languages
TypeScript 98.4%
JavaScript 0.9%
Dockerfile 0.4%
Shell 0.2%