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.
17 lines
369 B
Bash
Executable File
17 lines
369 B
Bash
Executable File
#!/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
|