feat: add API key management and database setup

- Add SQLite database schema and migrations
- Implement API key management endpoints and schema
- Add settings page for API key management
- Enhance share functionality with key-based access
- Update configuration and environment setup
This commit is contained in:
sai80082
2026-03-23 11:15:06 +05:30
parent 8b8d220b13
commit ca95be956a
19 changed files with 599 additions and 33 deletions
+3 -1
View File
@@ -15,6 +15,8 @@ AI_BASE_URL="https://api.openai.com/v1" # Base URL for OpenAI-compatible API
AI_MODEL="gpt-4o-mini" # Model used for parsing search queries in "Find"
# Immich Share Link
IMMICH_SHARE_LINK_KEY="" # Share link key for Immich
POWER_TOOLS_ENDPOINT_URL="" # URL of the Power Tools endpoint (Used for share links)
JWT_SECRET="" # JWT Secret for authentication
# App Database (SQLite)
APP_DB_PATH="" # Path to the SQLite database file (default: ./data/app.db)