docs: README 新增 Web 文件上传/PDF-Word 解析特性;完善打包构建文档

This commit is contained in:
root
2026-04-29 10:41:50 +08:00
parent ecb74cebff
commit cc5ea69eda
3 changed files with 8 additions and 12 deletions

View File

@ -40,7 +40,7 @@ python trulymem_entry.py # 从源码
|------|------|
| 🧠 **图记忆** | 三元组存储LLM 自主推理跳转 |
| 🔐 **多用户** | 用户隔离 + Admin/User 角色权限 |
| 🌐 **Web 可视化** | 内嵌 Flask 服务(线程模式),实时浏览知识图谱 |
| 🌐 **Web 可视化** | 内嵌 Flask 服务(线程模式),实时浏览知识图谱 + 聊天上传文件(支持 PDF/Word/文本) |
| 🎮 **TUI 界面** | Textual 终端界面F2 配置面板 |
| 📦 **单文件打包** | PyInstaller 打包Web 服务内嵌于主二进制 |

View File

@ -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 |

View File

@ -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/` 等源码后必须重新编译才能生效(静态文件在构建时打入二进制)。
---