Spaces:
Running
Running
Download .env.example from iamfebin/algospaced-dsa: direct link, hf CLI and curl.
- Browser
- Download file 1.92 kB
-
https://huggingface.co/spaces/iamfebin/algospaced-dsa/resolve/main/.env.example
- Command line
-
hf download hf://spaces/iamfebin/algospaced-dsa/.env.example
-
curl -L -o .env.example https://huggingface.co/spaces/iamfebin/algospaced-dsa/resolve/main/.env.example
1.92 kB
| # AlgoSpaced-DSA-Review — Environment Variables Template | |
| # Copy this file to .env and fill in your actual credentials. | |
| # Do NOT commit .env with real secrets to version control. | |
| # ========================================== | |
| # 1. Multi-Provider AI Keys (Spaced Repetition & Reviews) | |
| # ========================================== | |
| # Primary AI Provider: Google Gemini | |
| GEMINI_API_KEY=your_gemini_api_key_here | |
| # Fallback AI Provider 1: Groq (Llama 3.3 / Qwen) | |
| GROQ_API_KEY=your_groq_api_key_here | |
| # Fallback AI Provider 2: OpenRouter | |
| OPENROUTER_API_KEY=your_openrouter_api_key_here | |
| # ========================================== | |
| # 2. Firebase Public Client Configuration (Auth & UI) | |
| # ========================================== | |
| FIREBASE_API_KEY=your_firebase_api_key_here | |
| FIREBASE_AUTH_DOMAIN=your-app.firebaseapp.com | |
| FIREBASE_PROJECT_ID=your-project-id | |
| FIREBASE_STORAGE_BUCKET=your-project-id.appspot.com | |
| FIREBASE_MESSAGING_SENDER_ID=your_sender_id | |
| FIREBASE_APP_ID=your_app_id | |
| FIREBASE_MEASUREMENT_ID=your_measurement_id | |
| # ========================================== | |
| # 3. Google Cloud / Firebase Admin Service Accounts (Backend Firestore & Storage) | |
| # ========================================== | |
| # Path to service account JSON file (relative to root or absolute) | |
| FIREBASE_CREDENTIALS_PATH=firebase-credentials.json | |
| # Optional: Raw JSON string alternative for cloud container deployments (e.g. Hugging Face Spaces) | |
| # FIREBASE_SERVICE_ACCOUNT_JSON={"type": "service_account", ...} | |
| # ========================================== | |
| # 4. Google Drive & Docs Sync Integration (Problem Dual-Write) | |
| # ========================================== | |
| # Path to Google Cloud Service Account credentials with Drive / Docs API access | |
| GCP_CREDENTIALS_PATH=gcp-credentials.json | |
| GDRIVE_FOLDER_ID=your_google_drive_folder_id_here | |
| # ========================================== | |
| # 5. Server Runtime | |
| # ========================================== | |
| PORT=8000 | |