How yubuhui/lawyer-assistant-opensource works
This is a desktop-oriented legal practice assistant: lawyers manage cases and files, use AI-assisted analysis and chat, and produce or review legal documents. The tree shows additional practice-management areas including clients, tasks, templates, statutes, and judge contacts. The README is empty, and most runtime source was not sampled, so the graph emphasizes documented module boundaries and avoids claiming detailed internal call sequences.
Main entry points: api.js Browser API Client · case-detail-core.js Case Management · routes API Routes · home-page.js Home and Navigation
Components 19
Practice Management
- Home and Navigation
.lawyer/lib/home-page.js - Client Management
.lawyer/lib/client-mgr-page.js - Tasks and Reminders
.lawyer/lib/todo-page.js
Casework and Documents
- Case Management
.lawyer/lib/case-detail-core.js - Case Files
.lawyer/lib/file-tree.js - Document Editors
.lawyer/editor/editor-router.jsx - Legal Templates
.lawyer/lib/template-engine.js
AI and Legal Knowledge
- AI Chat
.lawyer/lib/chat.js - Case Analysis
.lawyer/lib/ai-analysis-panel.js - Statute Search
.lawyer/routes/statutes.js
Application Runtime
- Browser API Client
.lawyer/lib/api.js - HTTP Server
.lawyer/server.js - API Routes
.lawyer/routes - Application Database
.lawyer/lib/db.js
External Services
- LLM Gateway
.lawyer/server/llm.js - Model Provider
- MCP Integration
.lawyer/server/mcp/index.js
Other components
- Lawyer
- MCP Servers
Connections 22
- Lawyer → Home and Navigation: uses
- Home and Navigation → Case Management: opens casework
- Home and Navigation → Client Management: opens clients
- Home and Navigation → Tasks and Reminders: opens tasks
- Case Management → Case Files: manages files
- Case Management → Case Analysis: requests analysis
- Case Management → AI Chat: opens chat
- Case Files → Document Editors: opens documents
- Legal Templates → Document Editors: provides templates
- Case Management → Browser API Client: API requests
- Client Management → Browser API Client: API requests
- Tasks and Reminders → Browser API Client: API requests
- Case Files → Browser API Client: API requests
- AI Chat → Browser API Client: API requests
- Browser API Client → HTTP Server: HTTP requests
- HTTP Server → API Routes: dispatches requests
- API Routes → Application Database: reads and writes
- API Routes → LLM Gateway: requests inference
- LLM Gateway → Model Provider: sends prompts
- API Routes → Statute Search: statute requests
- API Routes → MCP Integration: MCP requests
- MCP Integration → MCP Servers: dispatches tools