Download .env.example from Spooker/g2api: direct link, hf CLI and curl.
- Browser
- Download file 419 Bytes
-
https://huggingface.co/spaces/Spooker/g2api/resolve/main/.env.example
- Command line
-
hf download hf://spaces/Spooker/g2api/.env.example
-
curl -L -o .env.example https://huggingface.co/spaces/Spooker/g2api/resolve/main/.env.example
419 Bytes
| NODE_ENV=production | |
| PORT=7860 | |
| TIMEOUT=120 | |
| NODE_OPTIONS=--max-old-space-size=1024 | |
| CURSOR_MODEL=google/gemini-3-flash | |
| MAX_HISTORY_TOKENS=120000 | |
| COMPRESSION_ENABLED=true | |
| COMPRESSION_LEVEL=2 | |
| LOG_DB_ENABLED=false | |
| LOG_FILE_ENABLED=false | |
| ENABLE_STEALTH=false | |
| # 在 Hugging Face Space 里建议放到 Secrets,而不是写进文件 | |
| CURSOR_COOKIE= | |
| AUTH_TOKEN= | |
| # 可选:你自己部署的外部 stealth proxy | |
| STEALTH_PROXY= | |