docs: README 新增 Web 文件上传/PDF-Word 解析特性;完善打包构建文档
This commit is contained in:
@ -40,7 +40,7 @@ python trulymem_entry.py # 从源码
|
||||
|------|------|
|
||||
| 🧠 **图记忆** | 三元组存储,LLM 自主推理跳转 |
|
||||
| 🔐 **多用户** | 用户隔离 + Admin/User 角色权限 |
|
||||
| 🌐 **Web 可视化** | 内嵌 Flask 服务(线程模式),实时浏览知识图谱 |
|
||||
| 🌐 **Web 可视化** | 内嵌 Flask 服务(线程模式),实时浏览知识图谱 + 聊天上传文件(支持 PDF/Word/文本) |
|
||||
| 🎮 **TUI 界面** | Textual 终端界面,F2 配置面板 |
|
||||
| 📦 **单文件打包** | PyInstaller 打包,Web 服务内嵌于主二进制 |
|
||||
|
||||
|
||||
@ -40,7 +40,7 @@ First run → TUI login screen → create/sign in → press **F2** for API Key
|
||||
|---------|-------------|
|
||||
| 🧠 **Graph Memory** | Triplet storage, LLM autonomous navigation |
|
||||
| 🔐 **Multi-User** | Isolated profiles + Admin/User roles |
|
||||
| 🌐 **Web UI** | Embedded Flask server (thread mode) for knowledge graph browsing |
|
||||
| 🌐 **Web UI** | Embedded Flask server (thread mode), graph browsing + file upload in chat (PDF/Word/text) |
|
||||
| 🎮 **TUI** | Textual-based terminal UI with F2 config panel |
|
||||
| 📦 **Single Binary** | PyInstaller build, Web server embedded |
|
||||
|
||||
|
||||
@ -116,22 +116,18 @@ python -m core.web_api --port 4096
|
||||
## 打包构建
|
||||
|
||||
```bash
|
||||
# Linux
|
||||
bash build/build_linux.sh
|
||||
# 安装依赖
|
||||
pip install -r requirements.txt
|
||||
|
||||
# macOS
|
||||
bash build/build_macos.sh
|
||||
|
||||
# Windows
|
||||
build\build_windows.bat
|
||||
|
||||
# AppImage
|
||||
bash build/build_appimage.sh
|
||||
# 构建(Linux / macOS)
|
||||
pyinstaller --clean build/trulymem.spec
|
||||
```
|
||||
|
||||
构建产出:`dist/TrulyMEM`(单文件,TUI + Web 服务均内嵌于同一二进制)
|
||||
|
||||
> 📦 从 v2 开始,Web 服务作为线程嵌入主程序,不再需要独立打包 `trulymem-web`。
|
||||
>
|
||||
> 💡 修改 `ui/static/` 或 `core/` 等源码后必须重新编译才能生效(静态文件在构建时打入二进制)。
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user