Fuckin' tree thing. Pipe in paths and outputs a pretty tree with colors n' shit. sometimes you just wanna visualize nested shit, and perl was too fucking slow. it's fast, doesn't allocate like a dickhead, and handles big input without crying.
Find a file
Andrew Briscoe b0cf6e3791
feat: initial Rust implementation with extended features
Implements core tree visualization from stdin with 7.5× performance
improvement over Perl original. Includes extended styling options
and color modes while maintaining backward compatibility with
Perl treeify interface.

Features:
- Core flags: -d, -f, -g, -r, -R, -s, [PATH]
- Extended flags: -C (color), -y (style)
- Multiple tree styles: normal, compact, vcompact, sideways variants
- Color modes: auto, 256, 16, none
- Natural sorting via natord crate

Performance (1.2M paths, 145MB):
- Perl: 55.87s (baseline)
- Rust: 7.44s (7.5× faster)

Benchmark environment:
- CPU: AMD Ryzen 9 3900X (12c/24t)
- Kernel: 6.18
- Storage: bcachefs on NVMe

Known limitations:
- No environment variable support yet
- No help text or version flag
- Missing shell completions
- No man page

Next steps:
- Add ENV var configuration (TREEIFY_*)
- Implement proper help/usage text
- Add --version flag
- Consider config file support
2026-01-07 17:35:14 +08:00
src feat: initial Rust implementation with extended features 2026-01-07 17:35:14 +08:00
.gitignore feat: initial Rust implementation with extended features 2026-01-07 17:35:14 +08:00
BENCHMARK.md feat: initial Rust implementation with extended features 2026-01-07 17:35:14 +08:00
Cargo.lock feat: initial Rust implementation with extended features 2026-01-07 17:35:14 +08:00
Cargo.toml feat: initial Rust implementation with extended features 2026-01-07 17:35:14 +08:00