mirror of
https://github.com/ancsemi/Haven.git
synced 2026-11-05 05:23:18 +00:00
- GIF button next to emoji picker opens search/browse panel - Server-side proxy keeps Tenor API key hidden from clients - Trending GIFs shown by default, live search with debounce - Click a GIF to send it as an inline image in chat - Tenor URLs auto-detected and rendered as inline images - CSP updated to allow media.tenor.com images - TENOR_API_KEY added to .env.example (optional, free) - Full CSS theming for GIF picker panel
27 lines
809 B
Bash
27 lines
809 B
Bash
# Server Config
|
|
PORT=3000
|
|
HOST=0.0.0.0
|
|
|
|
# Display name for this server (shown in multi-server sidebar)
|
|
SERVER_NAME=Haven
|
|
|
|
# Secret key for JWT tokens — CHANGE THIS to a long random string!
|
|
# (Auto-generated on first boot if left as default)
|
|
JWT_SECRET=change-me-to-something-random-and-long
|
|
|
|
# Your admin username (register with this name first to get admin powers)
|
|
ADMIN_USERNAME=admin
|
|
|
|
# Optional: HTTPS (required for voice chat over the internet)
|
|
# Paths are relative to the data directory:
|
|
# Windows: %APPDATA%\Haven\
|
|
# Linux/macOS: ~/.haven/
|
|
# SSL_CERT_PATH=./certs/cert.pem
|
|
# SSL_KEY_PATH=./certs/key.pem
|
|
|
|
# Optional: Override the data directory location
|
|
# HAVEN_DATA_DIR=
|
|
|
|
# Optional: Tenor GIF API key (free — get one at https://developers.google.com/tenor/guides/quickstart)
|
|
# TENOR_API_KEY=
|