# AstroResearch Configuration Template # Copy this to .env and fill in your details # NASA ADS API Key (Get from ui.adsabs.harvard.edu) ADS_API_KEY=your_ads_api_key_here # LLM Translation Provider Settings (OpenAI-compatible endpoints) LLM_API_KEY=your_llm_api_key_here LLM_API_BASE=https://api.deepseek.com/v1 # Examples: deepseek-chat, gpt-4o-mini, gemini-1.5-flash LLM_MODEL=deepseek-chat # Qiniu Cloud Storage Config (For hosting PDF-extracted layout images) QINIU_AK=your_qiniu_access_key_here QINIU_SK=your_qiniu_secret_key_here QINIU_BUCKET=your_bucket_name QINIU_DOMAIN=http://your_cdn_domain.com # MinerU PDF Layout Extractor Remote API (If not using HTML) MINERU_API_URL=http://mineru.remote-api.com/api/v1/extract MINERU_API_KEY=your_mineru_api_key # Local Data Paths LIBRARY_DIR=./library PORT=8000 DATABASE_URL=sqlite://astro_research.db # Logging Configuration (Pretty console and rolling file logging) LOG_LEVEL=info,astroresearch=debug LOG_FORMAT=pretty LOG_OUTPUTS=stdout,file LOG_DIR=./logs