diff --git a/.env.example b/.env.example index a4f4571..de1ee8f 100644 --- a/.env.example +++ b/.env.example @@ -1,13 +1,21 @@ # 뇌사료(Brain Dogfood) Environment Variables Template -# Flask Security +# Flask Security (Required) SECRET_KEY=your_super_secret_key_here SESSION_LIFETIME_DAYS=30 -# Authentication +# Content Encryption (Required for Encrypted Memos) +# Set a unique long string as a seed for Fernet key generation +ENCRYPTION_SEED=your_encryption_seed_here + +# Authentication (Required for Login) ADMIN_USERNAME=admin ADMIN_PASSWORD=admin # AI Features (Optional) GEMINI_API_KEY=your_google_gemini_api_key_here GEMINI_MODEL=gemini-1.5-flash + +# API Integration (Optional) +# For Obsidian Plugin or external tools +OBSIDIAN_API_TOKEN=your_secret_token_here diff --git a/config.example.json b/config.example.json index 32b6ba0..985c901 100644 --- a/config.example.json +++ b/config.example.json @@ -4,6 +4,25 @@ "card_color": "rgba(30, 41, 59, 0.85)", "encrypted_border": "#00f3ff", "ai_accent": "#8b5cf6", + "lang": "en", "enable_ai": false, - "lang": "en" + "enable_categories": false, + "categories": [ + "Personal", + "Work", + "Idea" + ], + "pinned_categories": [ + "Personal" + ], + "upload_security": { + "allowed_extensions": [ + "png", "jpg", "jpeg", "gif", "webp", "svg", + "pdf", "doc", "docx", "xls", "xlsx", "ppt", "pptx", + "zip", "rar", "7z", "txt", "md" + ], + "blocked_extensions": [ + "exe", "bat", "cmd", "sh", "ps1", "vbs", "js", "php", "py" + ] + } }