Files
EldenRingDeathCounter/README.md
s0wlz (Matthias Puchstein) 8fec5d9898
Some checks failed
Release / build (push) Failing after 5s
added schmendrizzle as target :P
2026-03-18 02:54:17 +01:00

46 lines
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Elden Ring Death Counter
Elden Ring-themed death counter with real-time multi-client sync over WebSocket. Runs as a self-contained local server — no install required.
Written for Schmendrizzle's Twitch Stream.
## Pages
| URL | Description |
|---|---|
| `http://localhost:8080` | Desktop page with YOU DIED overlay and keyboard controls |
| `http://<ip>:8080/mobile` | Touch-optimized control page for phone |
| `http://localhost:8080/obs` | Transparent browser source for OBS |
## Run (dev)
Requires [Deno](https://deno.com).
```bash
deno run --allow-net --allow-read --allow-write server.ts
```
Counter is persisted to `counter.json` in the working directory and survives restarts.
## Build Windows .exe
```bash
deno compile \
--allow-net --allow-read --allow-write \
--include desktop.html \
--include mobile.html \
--include obs.html \
--target x86_64-pc-windows-msvc \
--output elden-counter.exe \
server.ts
```
Double-click `elden-counter.exe` — no runtime needed. Open `http://localhost:8080` in a browser.
## Keyboard shortcuts (desktop)
| Key | Action |
|---|---|
| `+` / `=` / `↑` | +1 |
| `-` / `_` / `↓` | 1 |
| `R` | Reset |