Show HN: Lstr – A modern, interactive tree command written in Rust

https://news.ycombinator.com/rss Hits: 11
Summary

lstr A blazingly fast, minimalist directory tree viewer, written in Rust. Inspired by the command line program tree, with a powerful interactive mode. An interactive overview of lstr 's project structure... using lstr . Philosophy Fast: Runs directory scans in parallel by default to maximize speed on modern hardware. Runs directory scans in parallel by default to maximize speed on modern hardware. Minimalist: Provides essential features without the bloat. The core experience is clean and uncluttered. Provides essential features without the bloat. The core experience is clean and uncluttered. Interactive: An optional TUI mode for fluid, keyboard-driven exploration. Features High-performance: Scans directories in parallel to be as fast as possible. Scans directories in parallel to be as fast as possible. Classic and interactive modes: Use lstr for a classic tree -like view, or launch lstr interactive for a fully interactive TUI. Use for a classic -like view, or launch for a fully interactive TUI. Rich information display (optional): Display file-specific icons with --icons (requires a Nerd Font). Show file permissions with -p . Show file sizes with -s . Git Integration: Show file statuses ( Modified , New , Untracked , etc.) directly in the tree with the -G flag. Smart filtering: Respects your .gitignore files with the -g flag. Control recursion depth ( -L ) or show only directories ( -d ). Installation You need the Rust toolchain installed on your system to build lstr . Clone the repository: git clone https://github.com/bgreenwell/lstr.git cd lstr Build and install using Cargo: # This compiles in release mode and copies the binary to ~/.cargo/bin cargo install --path . Usage lstr [OPTIONS] [PATH] lstr interactive [OPTIONS] [PATH] Note that PATH defaults to the current directory ( . ) if not specified. Option Description -a , --all List all files and directories, including hidden ones. --color <WHEN> Specify when to use color output ( always , auto , never ). -d , --d...

First seen: 2025-06-18 02:16

Last seen: 2025-06-18 11:25