You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 29, 2026. It is now read-only.
Issue Type
feature- New feature (non-breaking change which adds functionality)performance- Performance improvementbackend- Backend-related featurefrontend- Frontend-related featureComponent Scope
Both Frontend and Backend
Problem Statement
目前 claude-code-webui 並未原生支援從 .env 檔案載入 openrouter 或 Claude Code API 相關的環境變數,導致每次環境部署、開發、或切換 API Provider 時,需手動在程式碼或配置中更改,影響自動化與多環境管理效率。
Proposed Solution
希望能實作自動讀取 .env 檔案內容,並把 openrouter/Claude Code 相關(如 OPENROUTER_API_BASE, CLAUDE_CODE_API_KEY 等)環境變數注入到系統,讓專案部署、測試、切換 Provider 時能更彈性且安全管理。
Use Cases
Alternatives Considered
Priority
Low - Nice to have
Implementation Complexity (if known)
None
Implementation Considerations
Examples or Mockups
.env 檔範例
Contribution
Additional Context
參考 dotenv 實作與安全配置最佳實踐
Checklist