reze: Add Node.js password generator with memorable and random modes

Public password generator with no auth and no npm dependencies.

- Server-side generation using crypto.randomInt; two levels: diceware-style
  memorable passphrases (42abacus-91abdomen) and fully random characters.
- Configurable word list (EFF Large / EFF Short), digits per word, separators,
  capitalization, length, character class toggles, custom symbols and
  ambiguous-character exclusion.
- Light/dark theme matching druid520/site, entropy estimate and strength bar,
  clipboard copy, options persisted in localStorage.
- Dockerfile for Dokploy plus a Woodpecker deploy hook on trunk.
This commit is contained in:
2026-10-21 09:01:42 +00:00
parent aa56937a20
commit 58f585b691
19 changed files with 10974 additions and 0 deletions
Executable
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
# Start the reze-test server.
#
# sh scripts/run.sh # listens on 0.0.0.0:3000
# PORT=8080 sh scripts/run.sh # listens on 0.0.0.0:8080
#
# POSIX sh only; no bashisms. Requires Node.js 22 or newer on PATH.
set -eu
cd "$(dirname "$0")/.."
PORT="${PORT:-3000}"
export PORT
echo "reze-test: starting on port ${PORT}" >&2
exec node server.js