← 返回
未分类 中文

ascii-mindmap

Generate and display ASCII tree diagrams from indented text outlines to visualize ideas and hierarchies in the terminal.
根据缩进文本生成并显示ASCII树形图,在终端中直观展示思路和层级结构。
xueyetianya xueyetianya 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 512
下载
💾 0
安装
1
版本
#latest

概述

mindmap

Text Mind Map Generator — Transform plain outlines and bullet lists into beautiful ASCII tree diagrams. Visualize your ideas, document structures, and hierarchies directly in the terminal.

Commands

CommandDescriptionExample
-------------------------------
createGenerate ASCII mind map from text inputcreate "Project\n Frontend\n React\n Backend\n Node"
viewRead a text file and render as mind mapview outline.txt
exportRender and output as Markdown code blockexport outline.txt

Usage

# From a string (use \n for newlines)
bash script.sh create "Root\n  Branch A\n    Leaf 1\n    Leaf 2\n  Branch B"

# From a file
bash script.sh view my-outline.txt

# Export as Markdown
bash script.sh export my-outline.txt > mindmap.md

# Pipe from stdin
cat outline.txt | bash script.sh view -

Input Format

Use indentation (spaces or tabs) to define hierarchy. The first non-empty line is the root node.

My Project
  Frontend
    React
      Components
      Hooks
    CSS
      Tailwind
  Backend
    Node.js
    PostgreSQL
  DevOps
    Docker
    CI/CD

Requirements

  • bash >= 4.0
  • python3 >= 3.7
  • No external packages required (uses only stdlib)

Examples

$ bash script.sh create "Learning Python\n  Basics\n    Variables\n    Functions\n  OOP\n    Classes\n    Inheritance\n  Libraries\n    NumPy\n    Pandas"

Learning Python
├── Basics
│   ├── Variables
│   └── Functions
├── OOP
│   ├── Classes
│   └── Inheritance
└── Libraries
    ├── NumPy
    └── Pandas
$ bash script.sh export outline.txt

My Project

├── Frontend

│ ├── React

│ └── CSS

└── Backend

└── Node.js

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-03 06:49 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

office-efficiency

Excel Formula

xueyetianya
根据描述生成Excel公式并诊断电子表格错误。适用于编写VLOOKUP公式、调试错误或转换公式。支持...
★ 2 📥 6,523
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 682 📥 330,150
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 197 📥 68,074