๐ณ Smart Tree Terminal Examples
April 20, 2026 ยท View on GitHub
Beautiful, colorful terminal output examples showing Smart Tree in action!
Table of Contents
- Classic Tree View
- AI-Optimized Mode
- Quantum Compression
- Search Features
- MCP Server Tools
- Version Management
Classic Tree View
$ st --mode classic --depth 2
๐ smart-tree
โโโ ๐ docs
โ โโโ ๐ AI_OPTIMIZATION.md (4.95 KiB)
โ โโโ ๐ COMPRESSION_GUIDE.md (6.16 KiB)
โ โโโ ๐ SSE_USAGE.md (5.21 KiB)
โโโ ๐ src
โ โโโ ๐ฆ main.rs (59.19 KiB)
โ โโโ ๐ฆ scanner.rs (98.00 KiB)
โ โโโ ๐ฆ lib.rs (3.41 KiB)
โโโ ๐ง Cargo.toml (2.25 KiB)
โโโ ๐ README.md (3.41 KiB)
โโโ ๐ LICENSE (1.04 KiB)
5 directories, 8 files, 183.62 KiB total
AI-Optimized Mode
$ st --mode ai --compress
TREE_HEX_V1:
0 755 1000 1000 00000000 66B12345 ๐ smart-tree
1 755 1000 1000 00000000 66B12345 ๐ docs
2 644 1000 1000 000013A7 66B12345 ๐ AI_OPTIMIZATION.md
2 644 1000 1000 000018C5 66B12345 ๐ COMPRESSION_GUIDE.md
1 755 1000 1000 00000000 66B12345 ๐ src
2 644 1000 1000 0000E67B 66B12345 ๐ฆ main.rs
2 644 1000 1000 00017F00 66B12345 ๐ฆ scanner.rs
STATS: F:8 D:3 S:2BCE7 (183.62 KiB)
TYPES: rs:3 md:4 toml:1
END_AI
Quantum Compression
$ st --mode quantum-semantic src/
QUANTUM_V3:973X_FASTER
[WAVE:8B:IS:MEM8]
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Semantic Wave Groups Detected: โ
โ โข Core Logic: 45% coherence โ
โ โข Formatters: 30% coherence โ
โ โข MCP Tools: 25% coherence โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
ฮฃ 183.62 KiB โ 18.4 KiB (10x compression)
๐ Wave signature: โฟโฟโฟโฟโฟโฟโฟโฟ
Search Features
$ st --search "TODO" --include-line-content
๐ smart-tree
โโโ ๐ฆ src/main.rs
โ โโโ [38;5;196mL142[0m: // TODO: Implement quantum entanglement
โ โโโ [38;5;196mL256[0m: // TODO: Add wave collapse detection
โโโ ๐ฆ src/scanner.rs
โ โโโ [38;5;196mL89[0m: // TODO: Optimize for large directories
โโโ ๐ README.md
โโโ [38;5;196mL45[0m: - TODO: Add benchmarks
Found 4 matches in 3 files
MCP Server Tools
$ st --mcp-tools | jq '.tools[0:3]'
[
{
"name": "quick_tree",
"description": "๐ Lightning-fast 3-level overview"
},
{
"name": "project_overview",
"description": "๐ Comprehensive project analysis"
},
{
"name": "search_in_files",
"description": "๐ Content search with line numbers"
}
]
Version Management
$ ./scripts/manage.sh bump
[38;5;51m๐ณ Version Management ๐ข ๐ณ[0m
[38;5;135m๐[0m Current version: v4.8.4
[38;5;135m๐[0m Bumping to: v4.8.5
[38;5;46mโ
[0m Updated CLAUDE.md
[38;5;135m๐[0m Cleaning orphaned tags...
[38;5;46mโ
[0m Version bumped to v4.8.5! [38;5;46mโ
[0m
[38;5;226mNext steps:[0m
1. Build: ./manage.sh build
2. Test: ./manage.sh test
3. Commit: git add -A && git commit -m 'chore: bump version to v4.8.5'
4. Tag: git tag -a v4.8.5 -m 'Version 4.8.5'
5. Push: git push origin main && git push origin v4.8.5
File History Tracking
$ st --mode classic ~/.mem8/feedback/pending/
๐ pending
โโโ ๐ feedback_bug_20250813_081644.json (1.2 KiB)
โโโ ๐ tool_request_smart-tree-dev_20250813_081644.json (2.3 KiB)
โโโ ๐ feedback_feature_20250813_090122.json (890 B)
3 files pending upload
Performance Metrics
$ time st --mode classic /large/codebase --stream
real 0m0.234s โ 10-24x faster than tree!
user 0m0.189s
sys 0m0.045s
๐ณ Processed 156,789 files in 0.234 seconds
โก Performance: 670,466 files/second
๐ CO2 saved: ~2.3g (vs traditional tree command)
Beautiful Git Status Integration
$ st --mode git-status
๐ smart-tree
โโโ ๐ src
โ โโโ ๐ฆ main.rs [M]
โ โโโ ๐ฆ scanner.rs [M]
โ โโโ ๐ฆ new_feature.rs [A]
โโโ ๐ง Cargo.toml [M]
โโโ ๐ README.md
โโโ ๐ CHANGELOG.md [M]
Modified: 4, Added: 1, Unchanged: 3
Semantic Analysis
$ st --mode semantic src/
๐ง Semantic Code Groups:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ฆ Core Engine (Wave: โฟโฟโฟ)
โโโ scanner.rs - Directory traversal
โโโ tokenizer.rs - Pattern recognition
โโโ quantum_scanner.rs - Wave mechanics
๐จ Formatters (Wave: โโโ)
โโโ classic.rs - Traditional output
โโโ ai.rs - AI-optimized
โโโ quantum.rs - Compressed binary
๐ง Tools (Wave: ~~~)
โโโ mcp/tools.rs - MCP endpoints
โโโ smart_edit.rs - AST operations
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Live SSE Monitoring
$ st --sse-server --sse-port 28428 /project
๐ SSE Server Started on http://localhost:28428
๐ก Monitoring: /project
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ
[08:16:44] ๐ Modified: src/main.rs
[08:16:45] โ Created: test.rs
[08:16:47] ๐๏ธ Deleted: old_file.rs
[08:16:50] ๐ Stats: 234 files, 45 dirs
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Clients connected: 3
Events sent: 127
Uptime: 5m 23s
Error Handling
$ st /root/protected
[38;5;196mโ ๏ธ Permission denied:[0m /root/protected
[38;5;226m๐[0m /root/protected [38;5;196m*[0m
[38;5;244mโโโ (inaccessible)[0m
[38;5;244mNote: Directories marked with * require elevated permissions[0m
Quick Stats
$ st --mode stats
๐ Directory Statistics
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Total Size: 1.23 GiB
Total Files: 12,456
Total Dirs: 1,234
Avg File Size: 103.4 KiB
๐ File Types (Top 5):
.rs 4,567 files (36.7%)
.md 2,345 files (18.8%)
.json 1,234 files (9.9%)
.toml 987 files (7.9%)
.txt 654 files (5.2%)
โฐ Recent Activity:
Last hour: 23 modifications
Last 24h: 156 modifications
Last week: 892 modifications
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Fun with Emojis
$ st --mode classic test_files/
๐ test_files
โโโ ๐ฆ test.rs
โโโ ๐ test.py
โโโ ๐ test.js
โโโ ๐จ style.scss
โโโ ๐ data.csv
โโโ ๐ผ๏ธ image.jpg
โโโ ๐ต audio.mp3
โโโ ๐ฌ video.mp4
โโโ ๐ฆ test.zip
โโโ ๐ test.gpg
โโโ ๐ test.wasm
โโโ ๐ง test.mem8
12 files, each with its perfect emoji!
Environment Impact
$ st --show-carbon-savings
๐ Environmental Impact Report
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Session Statistics:
โข Commands run: 42
โข Files scanned: 523,456
โข Time saved: 8.3 seconds
โข CPU cycles saved: ~2.1M
Carbon Footprint:
โข Traditional tree: ~12.4g CO2
โข Smart Tree: ~0.5g CO2
โข SAVED: 11.9g CO2 โ
Cumulative Impact (This Month):
โข Commands: 1,234
โข CO2 Saved: 348g ๐ณ
โข Equivalent to: 1 tree planted! ๐ฒ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Note: Colors are rendered using ANSI escape codes in actual terminal output. Smart Tree is 10-24x faster than traditional tree, saving energy with every scan! ๐ณ
Configuration
Create ~/.config/smart-tree/config.toml:
[display]
emoji = true
colors = true
max_depth = 10
[performance]
stream_threshold = 10000
cache_enabled = true
[mcp]
compression = true
no_emoji = false
Smart Tree v4.8.4 - Making directories beautiful and saving the planet, one scan at a time! ๐