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
| Command | Description | Example |
|---|---|---|
create | Generate ASCII mind map from text input | `create "Project\ |
Frontend\ React\ Backend\ Node" | | view | Read a text file and render as mind map | view outline.txt | | export | Render and output as Markdown code block | export outline.txt` |
Usage
# From a string (use \
for newlines)
bash script.sh create "Root\
Branch A\
Leaf 1\
Leaf 2\
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/CDRequirements
bash>= 4.0python3>= 3.7- No external packages required (uses only stdlib)
Examples
$ bash script.sh create "Learning Python\
Basics\
Variables\
Functions\
OOP\
Classes\
Inheritance\
Libraries\
NumPy\
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