Files
evil-wordle/README.md
Space-Banane c0bb487c05
Some checks failed
CI / Publish container image (push) Has been cancelled
CI / Lint and build app (push) Has been cancelled
Bootstrap Docker in Gitea workflow
2026-05-14 17:22:18 +02:00

52 lines
1.2 KiB
Markdown

# Evil Wordle
A dark Wordle-style browser game with daily, infinite, daily evil, custom length, and super evil modes.
## Install
```bash
npm install
```
## Run
```bash
npm run dev
```
Open the local URL printed by Vite.
## Build
```bash
npm run build
```
## Docker
```bash
docker compose up --build
```
The compose service publishes the app on `0.0.0.0:6666`.
## CI Image Publishing
Gitea Actions workflow: `.gitea/workflows/ci.yml`
Required repository or organization secrets:
- `REGISTRY_USERNAME`: Gitea username allowed to publish packages
- `REGISTRY_TOKEN`: Gitea personal access token with package read/write access
The workflow installs Docker if it is missing. If your Gitea runner is itself containerized, it still needs either privileged mode for Docker-in-Docker or a mounted host Docker socket.
On pushes to `main`, CI publishes:
```bash
gitea.reversed.dev/space/evil-wordle:latest
gitea.reversed.dev/space/evil-wordle:<commit-sha>
```
The app is built with React, Tailwind CSS, and Vite. Progress, settings, and stats are stored in `localStorage`. Guess validation uses `word-list-json`; curated local word buckets in `src/data/words.ts` control target selection and provide the fallback pool.