gtree
Use markdown to generate directory trees and the directories itself.
The tool provides a Go package and a command‑line interface that transform markdown‑style unordered lists or programmatic node definitions into ASCII directory‑tree visualisations. By constructing a tree of `gtree.Node` objects or supplying a markdown list, users can output a formatted hierarchy to standard output or a file, making it easy to document folder structures or project layouts.
It is aimed at developers who need a lightweight way to generate readable tree diagrams from code or markdown, for purposes such as documentation, README generation, or quick visual checks of directory organization. The package includes examples and a simple API that lets callers add children to nodes and emit the tree with a single function call.
Distinctive aspects include a programmable tree structure that can be built directly in Go, a markdown‑to‑tree converter, and a CLI that can be invoked from scripts. The project is marked as stable, has a BSD‑2‑Clause license, and is referenced in the “Awesome Go” list.
Reviews
Loading reviews…
Similar apps
Terminals & CLI
tre
`tree` with git awareness, editor aliasing, and more.
Terminals & CLI
treepp
Windows tree++.

Markdown Editors
DocToc
Generates table of contents for markdown files.
Version Control & Git
ggc
A modern Git tool with both CLI and interactive incremental-search UI.

Task & Project Management
slides
A markdown presentation tool.
Version Control & Git
gitlogue
Cinematic git commit replay.