# dduan/tre

Tree command, improved.

Repository: https://github.com/dduan/tre
Canonical: https://ross.abutalabs.com/products/tre
Language: Rust
License: MIT
License Family: permissive
Last push: 2024-09-03T20:56:21+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2761, "days_push": 729, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1219, forks 31 (observed 2026-08-28T04:04:01.682522+00:00)

## What it is
tre is a Rust-based command-line tool that displays directory structures as a tree diagram, serving as a modern alternative to the classic `tree` command. It respects .gitignore rules, colors output per LS_COLORS, and can generate shell aliases that open listed files in an editor.

## Use cases
- visualize directory structure in the terminal
- list files in a git repo while skipping gitignored files
- open a file from a tree listing via a short shell alias
- colorized file tree output respecting LS_COLORS
- replace the classic tree command with a faster modern one

## When to choose
- you want a tree view that automatically honors .gitignore
- you frequently jump from a file listing straight into editing files
- you want a cross-platform tree command installable via many package managers

## When to avoid
- you need a full file manager or interactive TUI
- you only need simple ls-style flat listings
- you require features like file sizes or JSON output not supported by tre

## Facets
- artifact type: cli-tool
- maturity: active
- function: cli, file-system, developer-tools
- domain: developer-tools, files
- platform: cli, windows, cross-platform
- tags: tree-command, directory-listing, gitignore-aware, shell-aliases, rust, command-line, macos, linux

## Member repositories
- dduan/tre (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:01.682522+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:16:13.067837+00:00, confidence not recorded.
  - readme: https://github.com/dduan/tre (fetched 2026-08-28T04:04:01.682522+00:00, sha 741040839840)
- Data as of 2026-08-30T08:39:29.467469+00:00.
