RepositoryPython
fasouto

fasouto/termaid

Render Mermaid diagrams in your coding agent

587sao
37fork
4issue
2lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: unicode

#1 Repository Của Tuần

2
TINIX TRENDING·Chủ đề: diagrams

#2 Repository Của Tuần

2
TINIX TRENDING·Chủ đề: mermaid

#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 | termaid ngay 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.

RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

475.2k
Nov 23, 2026
RepositoryPython
yt-dlp/yt-dlp

A feature-rich command-line audio/video downloader

210.2k
Nov 23, 2026
RepositoryShell
ohmyzsh/ohmyzsh

🙃 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.

190.9k
Nov 22, 2026
RepositoryPython
langgenius/dify

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.

161.7k
Nov 22, 2026
RepositoryPython
Textualize/textual

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.

37.7k
Nov 9, 2026
RepositoryRust
codewhale-hq/Codewhale

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.

41.2k
Nov 19, 2026
RepositoryPython
Significant-Gravitas/AutoGPT

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.

188.1k
Nov 21, 2026
RepositoryPython
browser-use/browser-use

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

121.8k
Nov 22, 2026
RepositoryTypeScript
n8n-io/n8n

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

211.9k
Nov 23, 2026