feat: add backend-lite single-page management backend - #160
Open
goxofy wants to merge 5 commits into
Open
Conversation
- 单设备单用户后端,复用上游 backend/core 渲染内核 - 兼容固件协议:render/token/heartbeat/config/state/runtime/refresh/alert-bmp/ota - 单页管理 UI:LLM key / 设备配置 / 预览 / 远程操作 / alert / OTA - 新增 run.py 读取 .env 的 LITE_HOST/LITE_PORT - startup 初始化 cache/static_store 表,native dithering 缺失时降级 Pillow - 高频 state/alert-bmp access log 过滤 - setup_fonts.py 补充 GentiumPlus 字体 - gitignore 忽略 .claude/ 与 firmware.bin Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
backend-lite, a lightweight single-user backend with a single-page management UI.backend-liteREADME.HH:MMformat in the status bar; cached responses also refresh the time and battery area.Validation
The full backend test suite could not be collected in the local environment because some existing dependencies, including FastAPI and the Alibaba SDK, are not installed. This is an environment limitation and is unrelated to the changes in this PR.