-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
122 lines (108 loc) · 3 KB
/
.env.example
File metadata and controls
122 lines (108 loc) · 3 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
# Chess Master Database - Environment Variables
# Copy this file to .env.local and fill in your values
# ======================
# Application
# ======================
VITE_APP_NAME=Chess Master Database
VITE_APP_VERSION=2.1.0
VITE_APP_URL=http://localhost:5173
# ======================
# Sentry (Error Tracking)
# ======================
# Get your DSN from: https://sentry.io/
VITE_SENTRY_DSN=your_sentry_dsn_here
VITE_SENTRY_ENVIRONMENT=development
# Sentry traces sample rate (0.0 to 1.0)
VITE_SENTRY_TRACES_SAMPLE_RATE=0.1
# ======================
# Lichess API
# ======================
# API Base URL (usually no need to change)
VITE_LICHESS_API_URL=https://lichess.org/api
# Optional: Lichess API token for authenticated requests
# Get a token from: https://lichess.org/account/oauth/token
VITE_LICHESS_API_TOKEN=
# ======================
# Chess Engine
# ======================
# Stockfish configuration
VITE_STOCKFISH_MIN_DEPTH=10
VITE_STOCKFISH_MAX_DEPTH=18
VITE_STOCKFISH_DEFAULT_DEPTH=15
VITE_STOCKFISH_MULTI_PV=3
# ======================
# Feature Flags
# ======================
VITE_ENABLE_AI_HINTS=true
VITE_ENABLE_CLOUD_SYNC=false
VITE_ENABLE_MULTIPLAYER=false
VITE_ENABLE_VOICE_COMMANDS=false
VITE_ENABLE_ADVANCED_STATS=true
# ======================
# Analytics (Optional)
# ======================
# Google Analytics ID
VITE_GA_MEASUREMENT_ID=
# Plausible Analytics
VITE_PLAUSIBLE_DOMAIN=
# Mixpanel
VITE_MIXPANEL_TOKEN=
# ======================
# Development
# ======================
# Enable development tools
VITE_ENABLE_DEV_TOOLS=true
# Enable verbose logging
VITE_ENABLE_LOGGING=false
# Mock API responses for development
VITE_MOCK_API=false
# ======================
# Cache Configuration
# ======================
# Cache duration in milliseconds
VITE_CACHE_DURATION=300000
# localStorage cache expiry for analysis (7 days)
VITE_ANALYSIS_CACHE_EXPIRY=604800000
# ======================
# Rate Limiting
# ======================
# Lichess API rate limit delay (ms)
VITE_LICHESS_RATE_LIMIT_DELAY=1000
# Max games per Lichess request
VITE_LICHESS_MAX_GAMES=100
# ======================
# UI Configuration
# ======================
# Default theme (light, dark, system)
VITE_DEFAULT_THEME=system
# Default language (fr, en, es)
VITE_DEFAULT_LANGUAGE=fr
# Default board theme
VITE_DEFAULT_BOARD_THEME=classic
# ======================
# PWA Configuration
# ======================
# Service Worker cache name
VITE_SW_CACHE_NAME=chess-master-v1
# Enable offline mode
VITE_ENABLE_OFFLINE_MODE=true
# ======================
# Database Configuration
# ======================
# For future cloud sync feature
VITE_DB_URL=
VITE_DB_API_KEY=
# ======================
# Security
# ======================
# CORS allowed origins (comma-separated)
VITE_CORS_ORIGINS=http://localhost:5173,http://localhost:3000
# Enable HTTPS in production
VITE_FORCE_HTTPS=false
# ======================
# External Services
# ======================
# YouTube API Key (for video library)
VITE_YOUTUBE_API_KEY=
# Chess.com API
VITE_CHESSCOM_API_URL=https://api.chess.com/pub