VibeHunt
Back to browse

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

Sign in to leave a review.

Loading reviews…

Similar apps