-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathenv.example
More file actions
34 lines (29 loc) · 1.58 KB
/
Copy pathenv.example
File metadata and controls
34 lines (29 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Environment Variables for FusionTik
# Copy this file to .env.local and fill in your own values.
# ── MongoDB (global download counter — production) ───────────────────────────
# Create a free cluster at https://www.mongodb.com/atlas and paste the
# connection string (server-side only — no NEXT_PUBLIC_ prefix).
MONGODB_URI=mongodb+srv://<user>:<password>@<cluster>.mongodb.net/fusiontik?retryWrites=true&w=majority
# Optional: override database name if not included in the URI path
MONGODB_DB_NAME=fusiontik
# ── TikTok API Providers (optional overrides) ────────────────────────────────
# Leave blank to use the default public endpoints.
# Provider 1: Yupra (default: https://api.yupra.my.id/api/downloader/tiktok)
YUPRA_TIKTOK_API_URL=
# Provider 2–3: Theresav — wajib isi THERESAV_API_KEY agar provider ini aktif
THERESAV_API_URL=https://api.theresav.biz.id
THERESAV_API_KEY=<your-theresav-api-key>
# Provider 4: TikWM fallback (default: https://tikwm.com/api/)
TIKWM_API_URL=
# ── Error Notifications (all optional) ──────────────────────────────────────
# Webhook (any HTTP endpoint that accepts a JSON POST)
ALERT_WEBHOOK_URL=
# Telegram bot — send alerts to a Telegram chat
TELEGRAM_BOT_TOKEN=
TELEGRAM_CHAT_ID=
# Email via SMTP (e.g. Gmail App Password)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=youremail@gmail.com
SMTP_PASS=your-app-password
ALERT_EMAIL_TO=owner@domain.com