Hermes Agent 840777d289
Build & Deploy / build-and-deploy (push) Successful in 1m0s
fix: pin js-dos to v8.3.14 (emulators 8.3.3) — the last working CDN version
The js-dos CDN 'latest' was upgraded to 8.3.20 (emulators 8.3.8)
which ships a rebuilt wlibzip.wasm (113,081 bytes vs 112,732 in
8.3.3). The _zipfile_add WASM function in this newer libzip binary
fails on our bundles with 'Unable to add .jsdos/jsdos.json into
bundle.zip', breaking ALL games.

Pinning to 8.3.14 (emulators 8.3.3, wlibzip.wasm 112,732 bytes)
restores the working libzip WASM. The JavaScript wrapper code is
identical between versions — only the compiled WASM binary differs.

Also restored .jsdos/ config files in bundles (no longer need to
strip them) and reverted the autoStart workaround.
2026-06-03 19:06:44 +02:00
2026-06-03 16:38:43 +02:00

Dostalgia test

A nostalgic DOS game hub. Upload your old DOS games, scrape artwork, and play them directly in the browser via js-dos (WebAssembly DOSBox).

Quick Start

# Build and run with Docker
docker build -t dostalgia .
docker run -p 8765:8765 -v $(pwd)/data:/data dostalgia

Open http://localhost:8765

Development (without Docker)

Terminal 1 — Frontend dev server:

cd frontend && npm install && npm run dev

Terminal 2 — Quarkus dev server:

mvn quarkus:dev

Open http://localhost:5173 (Vite proxies API calls to Quarkus on port 8765)

Production build (local)

cd frontend && npm install && npm run build
mvn package -DskipTests
java -jar target/quarkus-app/quarkus-run.jar

Architecture

  • Backend: Quarkus (Java 21, JAX-RS) — ~5 REST resource classes, zero database
  • Frontend: Svelte 5 SPA with hash-based routing
  • Emulation: js-dos v8 loaded from CDN, runs DOSBox in WebAssembly
  • Storage: JSON-per-game under /data/games/{id}/game.json

API

Method Path Description
GET /api/games List all games
GET /api/games/:id Get game details
PATCH /api/games/:id Update game metadata
DELETE /api/games/:id Delete a game
POST /api/upload Upload a game ZIP (multipart)
POST /api/games/:id/cover Upload cover art
GET /api/igdb/search?q= Search IGDB (placeholder)

Game JSON Schema

{
  "id": "doom",
  "title": "Doom",
  "year": 1993,
  "genre": "FPS",
  "developer": "id Software",
  "bundle_file": "doom.jsdos",
  "has_cover": true,
  "ready": true
}
S
Description
A nostalgic DOS game hub — upload, scrape artwork, and play your classic games in the browser
Readme MIT 5.6 MiB
Languages
Java 62.2%
Svelte 24.7%
JavaScript 8.8%
CSS 3.4%
Dockerfile 0.5%
Other 0.4%