# .env Template # Copy this to .env and fill in your actual values # NEVER commit the .env file with real tokens! # ============================================================================= # API KEYS & AUTHENTICATION # ============================================================================= # Google Generative AI (Gemini) # Get from: https://makersuite.google.com/app/apikey GEMINI_API_KEY=your_gemini_api_key_here # GitHub Authentication (Choose ONE method) # Option 1: Personal Access Token (Simple) # Get from: https://github.com/settings/tokens # Required scopes: repo, issues, actions GITHUB_TOKEN=your_github_token_here # Option 2: GitHub App (Recommended for production) # Get from: https://github.com/settings/apps GH_APP_ID=your_github_app_id GH_APP_PRIVATE_KEY_B64=your_base64_encoded_private_key GH_APP_INSTALLATION_ID=your_app_installation_id # Hugging Face Token # Get from: https://huggingface.co/settings/tokens HF_TOKEN=your_huggingface_token_here # ============================================================================= # GITHUB CONFIGURATION # ============================================================================= # Repository details GITHUB_REPO=NLarchive/my-webapp-hf GITHUB_OWNER=NLarchive GITHUB_BRANCH=main # ============================================================================= # HUGGING FACE CONFIGURATION # ============================================================================= # HF Space details HF_SPACE_NAME=my-webapp-hf HF_SPACE_URL=https://huggingface.co/spaces/NLarchive/my-webapp-hf # ============================================================================= # SCANNER CONFIGURATION # ============================================================================= # Scan interval in milliseconds (default: 1 hour = 3600000ms) # Examples: # 300000 = 5 minutes # 900000 = 15 minutes # 1800000 = 30 minutes # 3600000 = 1 hour # 86400000 = 1 day SCAN_INTERVAL=3600000 # Enable automatic issue creation when problems are found ENABLE_AUTO_FIX=false # Enable automatic project modifications (add docs, improve files) ENABLE_AUTO_MODIFY=false # Enable automatic fixing of detected issues # When true, scanner will attempt to fix issues and create PRs ENABLE_AUTO_FIX=true # Automatically commit fixes to GitHub # When true, fixes will be committed without review # When false, fixes are created as draft PRs for review AUTO_COMMIT=false # ============================================================================= # SERVER CONFIGURATION # ============================================================================= # Server port (HF Spaces uses port 7860) PORT=3000 # Environment: development, production NODE_ENV=production # Logging level: error, warn, info, debug LOG_LEVEL=info # Enable debug mode (verbose logging) DEBUG=false # ============================================================================= # OPTIONAL: Task Scheduling # ============================================================================= # Uncomment to customize task behavior # TASK_TIMEOUT=30000 # TASK_RETRIES=3