Files
Haven/.env.example
T
ancsemi d34e165585 feat: Tenor GIF integration with search picker
- 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
2026-02-11 17:24:02 -05:00

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=