-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
53 lines (40 loc) · 1.68 KB
/
.env.example
File metadata and controls
53 lines (40 loc) · 1.68 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
# FIDE Scraper Configuration
# Copy this file to .env and customize the values as needed
# === INPUT/OUTPUT FILES ===
# Path to player data file (unified CSV with FIDE IDs and optional emails)
# Format: FIDE ID,email (email can be empty for opted-out players)
# Default: players.csv
FIDE_PLAYERS_FILE=players.csv
# Path to output CSV file for batch processing results
# Default: fide_ratings.csv
FIDE_OUTPUT_FILE=fide_ratings.csv
# === EMAIL NOTIFICATION SETTINGS ===
# Administrator email address for CC'd notifications
# Optional: If not set, notifications are sent only to player without CC
# Example: admin@example.com
ADMIN_CC_EMAIL=
# SMTP server configuration
SMTP_SERVER=localhost
# Default: 587 (TLS) or 465 (SSL)
SMTP_PORT=587
SMTP_USERNAME=
SMTP_PASSWORD=
# Email address to use as the sender (From field)
# Optional: If not set, falls back to SMTP_USERNAME or default
# Example: noreply@example.com
FROM_EMAIL=
# === EXTERNAL API INTEGRATION ===
# Endpoint for fetching FIDE IDs from external API
# Set this to enable augmenting the players file with IDs from API
# Optional: If not set, feature is disabled (graceful degradation)
# Example: https://app.chesshub.cloud/api/fide-ids/
FIDE_IDS_API_ENDPOINT=
# External API endpoint for rating updates
# Set this to enable posting rating updates to external service
# Optional: If not set, feature is disabled (graceful degradation)
# Example: https://app.chesshub.cloud/api/fide-ratings/
FIDE_RATINGS_API_ENDPOINT=
# Authentication token for external APIs (both FIDE ratings and FIDE IDs)
# Required if either FIDE_RATINGS_API_ENDPOINT or FIDE_IDS_API_ENDPOINT is set
# Format: Token will be sent as "Authorization: Token {API_TOKEN}"
API_TOKEN=