-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
34 lines (27 loc) · 1.5 KB
/
.env.example
File metadata and controls
34 lines (27 loc) · 1.5 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
# CopyTree Configuration
# Google Gemini API Key (required for AI features)
# Get your key from: https://makersuite.google.com/app/apikey
GEMINI_API_KEY=
# Gemini Model Configuration (optional)
# The default model (gemini-2.5-flash) will be automatically updated when new stable versions are released
# You can override it here if you want to use a specific model version
# GEMINI_MODEL=gemini-2.5-flash
# Application Environment
NODE_ENV=development
# File Processing Limits
COPYTREE_MAX_FILE_SIZE=10485760 # 10MB - Maximum size for individual files
COPYTREE_MAX_TOTAL_SIZE=104857600 # 100MB - Maximum total size of all files
COPYTREE_MAX_FILE_COUNT=10000 # Maximum number of files to process
COPYTREE_MAX_OUTPUT_SIZE=52428800 # 50MB - Maximum output size
# AI Cache Configuration
AI_CACHE_ENABLED=true # Enable caching of AI responses
AI_CACHE_TTL=1440 # Cache time-to-live in minutes (24 hours)
# AI_CACHE_PATH=~/.copytree/cache/ai # Path for AI cache files (uses default: ~/.copytree/cache)
# Cache Configuration
CACHE_ENABLED=true # Enable general caching
CACHE_DEFAULT_TTL=3600 # Default cache TTL in seconds (1 hour)
# CACHE_FILE_PATH=~/.copytree/cache # Path for cache files (uses default: ~/.copytree/cache)
# Transformation Cache
CACHE_TRANSFORMATIONS_ENABLED=true # Cache transformation results
CACHE_PDF_ENABLED=true # Cache PDF extractions
CACHE_IMAGE_ENABLED=true # Cache image descriptions