fasouto/termaid
Render Mermaid diagrams in your coding agent
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository Của Tuần
#2 Repository Của Tuần
#2 Repository Của Tuần
🖥️ termaid - Render Mermaid ngay trong terminal
Biến sơ đồ Mermaid thành đồ họa Unicode/ASCII trực tiếp trong terminal, không cần trình duyệt hay dịch vụ bên ngoài.
termaid là một thư viện Python và CLI cho phép render các sơ đồ Mermaid (flowchart, sequence, class, ER, v.v.) ngay trong terminal hay bên trong ứng dụng Python. Dự án hỗ trợ 18 loại sơ đồ, tự động điều chỉnh độ rộng terminal, và cung cấp 6 chủ đề màu khác nhau. Hoạt động hoànv hảo trên môi trường SSH, CI logs, hoặc bất kỳ nơi nào có Python.
✨ Điểm nổi bật
- 18 loại sơ đồ: flowchart, sequence, class, ER, state, block, git, gantt, architecture, pie, treemap, mindmap, timeline, kanban, quadrant, XY chart, user journey, packet
- Không phụ thuộc: chỉ bằng Python thuần, không cần cài thêm gói nào
- Tự động căn chỉnh terminal: điều chỉnh kích thước sơ đồ theo chiều rộng terminal với thuật toán thu gọn thông minh
- Hỗ trợ Rich và Textual: xuất màu sắc và widget TUI với phụ thuộc tùy chọn
- 6 chủ đề màu: default, terra, neon, mono, amber, phosphor
- Chế độ ASCII dự phòng: hoạt động trên mọi terminal, kể cả terminal cơ bản
- CLI hỗ trợ pipe:
cat diagram.mmd | termaidngay lập tức
💡 Vì sao đáng chú ý
tlaim không chỉ là một công cụ render, mà là giải pháp cho phép bạn làm việc với sơ đồ Mermaid trong môi trường không có trình duyệt. Khác với các công cụ như mermaid-ascii (Go) hay beautiful-mermaid (TypeScript), termaid mang đến một thư viện Python có thể import và gọi trực tiếp từ mã nguồn của bạn. Điều này rất hữu ích cho tài liệu kỹ thuật, CI pipelines, hoặc các ứng dụng TUI.
#Mermaid #Python #Terminal #Diagram #CLI #TiniX
Dự án tương tự
Khám phá các dự án và mô hình AI khác có sự tương đồng.
Reverse engineer anything with agents, from app behavior down to native binaries.
🙃 A delightful community-driven (with 2,500+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool that makes it easy to keep up with the latest updates from the community.
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
The lean application framework for Python. Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal and a web browser.
An open-source coding agent for your terminal, written in Rust. It works with any model, can split one task across several agents, and every line of it is yours to read.
AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.