Chat-With-AI / .env.example
NathMen12's picture
Upload 56 files
ef73937 verified
Raw
History Blame Contribute Delete
1.27 kB
# =============================================================================
# WhatsApp Channel Directory - Environment Configuration
# =============================================================================
# Application
NODE_ENV=development
PORT=3000
APP_URL=http://localhost:3000
# Session & Security
SESSION_SECRET=your-super-secret-session-key-min-32-chars
SESSION_TTL_DAYS=30
CSRF_SECRET=your-csrf-secret-key-min-32-chars
# Password Hashing (Argon2id)
ARGON2_MEMORY=65536
ARGON2_ITERATIONS=3
ARGON2_PARALLELISM=4
# Groq AI (Content Moderation)
GROQ_API_KEY=your-groq-api-key
GROQ_MODELS=llama-3.1-70b-versatile,llama-3.1-8b-instant,gemma2-9b-it
# Scraper Configuration
SCRAPER_RATE_LIMIT=10
SCRAPER_INTERVAL_MS=6000
WHATSAPP_CHANNEL_REGEX=^https://chat\.whatsapp\.com/[A-Za-z0-9]{22}$
# VPN/Proxy Detection (optional - set API key to enable)
IPAPI_KEY=
VPN_DETECTION_ENABLED=true
# Captcha (hCaptcha or Turnstile)
CAPTCHA_PROVIDER=hcaptcha
CAPTCHA_SECRET_KEY=your-captcha-secret-key
CAPTCHA_SITE_KEY=your-captcha-site-key
# Admin Initial User (first user created becomes admin automatically)
ADMIN_INIT_USERNAME=admin
ADMIN_INIT_PASSWORD=change-me-on-first-login
# Logging
LOG_LEVEL=info
LOG_DIR=./data/logs
# Data Directory
DATA_DIR=./data