# ========================================================= # AI Markdown Studio - Environment Configuration # Copy this file to ".env" and fill in your real values. # Never commit your real ".env" file to GitHub. # ========================================================= # ---- Application ---- APP_NAME=AI Markdown Studio APP_ENV=development APP_DEBUG=true SECRET_KEY= # ---- Server ---- HOST=0.0.0.0 PORT=3003 # ---- Database ---- # SQLite file path (relative to project root) DATABASE_URL=sqlite:///./data/markdown_studio.db # ---- AI Providers ---- # At least one provider key is required for AI generation features. # The app will use whichever provider is selected in Settings. # OpenAI (primary/default provider) OPENAI_API_KEY= OPENAI_MODEL=gpt-4o-mini # Anthropic Claude (optional) ANTHROPIC_API_KEY= ANTHROPIC_MODEL=claude-sonnet-4-6 # Google Gemini (optional) GEMINI_API_KEY= GEMINI_MODEL=gemini-1.5-flash # Active provider: openai | anthropic | gemini # If the selected provider's key is missing, the app automatically falls # back to built-in offline templates so generation always works. AI_PROVIDER=openai # ---- CORS ---- # Comma separated list of allowed origins, or * for all ALLOWED_ORIGINS=*