• JavaScript 96.1%
  • HTML 3.1%
  • Dockerfile 0.8%
Find a file Use this template
2026-06-05 09:12:11 +00:00
src init: decksh — solitaire CLI in browser 2026-05-01 07:15:44 +00:00
.dockerignore init: decksh — solitaire CLI in browser 2026-05-01 07:15:44 +00:00
.gitignore init: decksh — solitaire CLI in browser 2026-05-01 07:15:44 +00:00
docker-compose.yml init: decksh — solitaire CLI in browser 2026-05-01 07:15:44 +00:00
Dockerfile init: decksh — solitaire CLI in browser 2026-05-01 07:15:44 +00:00
index.html init: decksh — solitaire CLI in browser 2026-05-01 07:15:44 +00:00
nginx.conf init: decksh — solitaire CLI in browser 2026-05-01 07:15:44 +00:00
package-lock.json init: decksh — solitaire CLI in browser 2026-05-01 07:15:44 +00:00
package.json init: decksh — solitaire CLI in browser 2026-05-01 07:15:44 +00:00
README.md init: decksh — solitaire CLI in browser 2026-05-01 07:15:44 +00:00
renovate.json Add renovate.json 2026-06-05 02:35:34 +00:00
vite.config.js init: decksh — solitaire CLI in browser 2026-05-01 07:15:44 +00:00

decksh — patience.sh

Solitaire jako CLI w przeglądarce. Boot sequence, vim status bar, easter eggs.

Live: https://decksh.zatto-lab.cloud

Stack

  • Vite + React 18
  • nginx static serve
  • Docker + Traefik

Dev

npm install
npm run dev

Build

npm run build

Deploy

docker compose up -d --build

Wystawione przez Traefik (.107) → port 8190 na .195.

Komendy w grze

  • sudo start game — nowa rozgrywka
  • mv <from> <to> — np. mv w 3, mv 1:5 4, mv 2 f
  • draw / d — dobierz ze stocka
  • auto — auto na foundation
  • undo, hint
  • help — pełna lista

Easter eggs

rm -rf /, hack, matrix, fortune, cowsay, sl, sudo make me a sandwich, vim, ssh, curl...