Initial commit: Nosterm client (terminal-style Nostr chat SPA)
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
# Nosterm client configuration. Copy to `.env` and edit:
|
||||
#
|
||||
# cp .env.example .env
|
||||
#
|
||||
# Nothing here is secret — every value is either browser-visible (PUBLIC_*, baked
|
||||
# into the client bundle at build time) or plain deployment wiring. Do NOT put
|
||||
# private keys or credentials in this file.
|
||||
|
||||
# --- Runtime (docker-compose, no rebuild needed) ---------------------------
|
||||
|
||||
# Relay websocket url(s) the client preloads, comma-separated. Written to
|
||||
# /config.json by the container entrypoint on startup. For a same-origin home
|
||||
# relay proxied by Caddy use "ws://localhost:8080/relay". Leave blank to start
|
||||
# with no default relays.
|
||||
NOSTERM_DEFAULT_RELAYS=
|
||||
|
||||
# Upstream address for Caddy's optional /relay proxy. Only used when the client
|
||||
# reaches a relay at ws://<host>/relay. Harmless if unused.
|
||||
RELAY_UPSTREAM=relay:3334
|
||||
|
||||
# --- Build-time (PUBLIC_*, baked into the client bundle) -------------------
|
||||
|
||||
# Fallback relay list used only when no runtime /config.json relays are set.
|
||||
PUBLIC_DEFAULT_RELAYS=
|
||||
|
||||
# Default UI theme id.
|
||||
PUBLIC_DEFAULT_THEME=nord
|
||||
|
||||
# Max lines kept in the terminal scrollback.
|
||||
PUBLIC_MAX_TERMINAL_ENTRIES=1000
|
||||
|
||||
# Max characters allowed in a single message.
|
||||
PUBLIC_MAX_MESSAGE_LENGTH=2000
|
||||
|
||||
# Max messages cached per room in IndexedDB (older ones get pruned).
|
||||
PUBLIC_MAX_CACHED_MESSAGES_PER_ROOM=500
|
||||
Reference in New Issue
Block a user