Files
TrollSSH/.env.example
T

36 lines
940 B
Bash
Raw Normal View History

HOST=0.0.0.0
PORT=22
# Source video (auto-discovers video.* if unset). Only used to build frames.json.
VIDEO_PATH=video.mp4
MAX_LOOP=5
# Weather to loop the video or play random frames after completion. Options: loop | random
PLAYBACK_MODE=random
# Let viewers switch frame sets with arrow keys
ALLOW_USER_CONTROL=true
# Min ms between arrow-key switches; ignores faster repeats.
SWITCH_DEBOUNCE_MS=120
LOGIN_DELAY=1500
# ASCII rendering (live, no frame rebuild).
# CHARSET: detailed|standard|simple|blocks or custom ramp.
BRIGHTNESS_THRESHOLD=40
CHARSET=blocks
INVERT=false
# Max rendered width/height in characters.
MAX_DIMENSION=1080
# Stored frame resolution (px).
# Higher = sharper but bigger frames.json. Rebuild required.
FRAME_RESOLUTION=512
MAX_CONNECTIONS=10
MAX_TOTAL_CONNECTIONS=1000
MAX_AUTH_ATTEMPTS=6
HANDSHAKE_TIMEOUT=10000
LOG_CREDENTIALS=true
# Minimum log level to emit: debug | info | warn | error
LOG_LEVEL=info