Simon Willison 在刚开源的 Grok Build CLI 里挖到一个用 Unicode 方块艺术画 Mermaid 图表的终端渲染器,挺有意思。
Simon Willison 在刚开源的 Grok Build CLI 工具(84.4万行 Rust 代码)中扒出几个亮点,包括一个自包含的终端渲染器,专门用于 Mermaid 图表。该渲染器利用 Unicode 方块艺术在终端中直接显示图表,无需外部依赖。工具本身由 xAI 开源,旨在构建和部署 Grok 模型相关应用。
I poked around in the just open sourced Grok Build CLI tool - 844,000 lines of Rust code! - and dug ...
I poked around in the just open sourced Grok Build CLI tool - 844,000 lines of Rust code! - and dug up a few interesting highlights, including a "self-contained terminal renderer for Mermaid diagrams" that renders them using Unicode box-art! simonwillison.net/2026/Jul/15/gr… 💬 18 🔄 16 ❤️ 241 👀 18948 📊 56 ⚡
- Geek07-14 10:49原文