This repository was archived by the owner on Jul 15, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy path.env.example
More file actions
84 lines (59 loc) · 3.65 KB
/
Copy path.env.example
File metadata and controls
84 lines (59 loc) · 3.65 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# ==============================================================================
# Security & App Config
# ==============================================================================
# Required: Generate a strong random string (e.g., run `python -c "import secrets; print(secrets.token_hex(32))"`)
FLASK_KEY="YOUR_RANDOM_FLASK_SECRET_KEY"
# Required: API key for internal app security. Generate a random string just like FLASK_KEY.
API_KEY="YOUR_GENERATED_API_KEY"
# Required: Comma-separated list of allowed origins for CORS. Add your production domain here.
ALLOWED_ORIGINS="https://your-app.app,http://localhost:5000"
# ==============================================================================
# Database Configuration (MongoDB)
# ==============================================================================
# Required: Get this from MongoDB Atlas (https://www.mongodb.com/atlas) -> Database -> Connect -> Drivers
MONGODB_URI="mongodb+srv://<username>:<password>@<cluster>.mongodb.net/?retryWrites=true&w=majority&appName=YourApp"
# Required: Names for your database and collections. You can keep these as-is or rename them.
db="name_of_your_database"
users_collection="name_of_your_users_collection"
watchlist_collection="name_of_your_watchlist_collection"
comments_collection="comments"
episode_reactions_collection="episode_reactions"
# ==============================================================================
# Streaming & Scraping Services
# ==============================================================================
# Required: The base URL for your deployed Miruro / streaming API instance
API_URL="https://api.your-domain.com/"
# Required: The base URL for your M3U8 proxy to bypass CORS
PROXY_URL="https://proxy.your-domain.com/proxy/"
# ==============================================================================
# Captcha / Bot Protection (Cloudflare Turnstile)
# ==============================================================================
# Required: Get this from Cloudflare Dashboard -> Turnstile -> Add Site
CLOUDFLARE_SECRET="YOUR_CLOUDFLARE_SECRET"
CF_SITE_KEY="YOUR_CF_SITE_KEY"
# ==============================================================================
# Email Configuration (SMTP) - For Password Resets
# ==============================================================================
# Optional but recommended for password resets. If using Gmail:
# Go to Google Account -> Security -> 2-Step Verification -> App passwords (generate a 16-char password)
GMAIL_USER="your-email@gmail.com"
GMAIL_APP_PASSWORD="your-16-char-app-password"
# ==============================================================================
# OAuth Integrations: AniList
# ==============================================================================
# Optional: To enable AniList syncing.
# Get these by creating an API client at: https://anilist.co/settings/developer
ANILIST_CLIENT_ID="YOUR_ANILIST_CLIENT_ID"
ANILIST_CLIENT_SECRET="YOUR_ANILIST_CLIENT_SECRET"
# Must exactly match the redirect URI you configured in AniList Developer Settings
ANILIST_REDIRECT_URI="https://your-domain.com/auth/anilist/callback"
# ==============================================================================
# OAuth Integrations: MyAnimeList
# ==============================================================================
# Optional: To enable MyAnimeList syncing.
# Get these by creating an API client at: https://myanimelist.net/apiconfig
# (Select "Web" App Type)
MAL_CLIENT_ID="YOUR_MAL_CLIENT_ID"
MAL_CLIENT_SECRET="YOUR_MAL_CLIENT_SECRET"
# Must exactly match the redirect URI you configured in MyAnimeList Developer Settings
MAL_REDIRECT_URI="https://your-domain.com/auth/mal/callback"