Skip to main content

Smart folder tree CLI with gitignore support

Project description

🌳 gettree

A smarter tree CLI for developers

Generate clean folder structures with .gitignore support, colors, icons, and more.



⚡ Features

  • 📂 Clean tree output
  • 🧠 Respects .gitignore
  • 🚫 Auto ignores .git, node_modules, etc.
  • 🎨 Color support
  • 🧩 Icons (VS Code style)
  • 📦 File size display
  • 🔢 Depth control
  • 🔄 Live watch mode
  • 🖥️ Interactive TUI view
  • 📝 Markdown export (for README)

🚀 Install

pip install git+https://github.com/yourname/gettree.git

🧪 Usage

gettree                    # current folder
gettree myproject         # specific path

gettree . --depth 2
gettree . --size
gettree . --icons
gettree . --color

gettree . --markdown
gettree . --output tree.txt

gettree . --tui
gettree . --watch

🧠 Example

gettree . --depth 2 --icons --color
📁 src
├── 🐍 main.py
└── 📄 README.md

🔥 More from Me

🌶️ SpiceDeck

A modern lightweight game launcher
👉 https://github.com/ash-kernel/spicedeck

🎮 FitGirl API

Fast & open API for repack scraping
👉 https://github.com/ash-kernel/fitgirl-api


⭐ Support

If you like this project, drop a ⭐ on GitHub — it helps a lot!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gettree-1.0.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gettree-1.0.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file gettree-1.0.0.tar.gz.

File metadata

  • Download URL: gettree-1.0.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for gettree-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3ceb4d3e92db43e7fb6cf2b2732a6d18caf50d537bb208ce27aef6af161dacdf
MD5 387098209107499e6bca12f58d9d66e8
BLAKE2b-256 afc374c6bbe9e9e89586af933b79a0dc2e104a5a1ec52c4c62fab7eb8641e51e

See more details on using hashes here.

File details

Details for the file gettree-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: gettree-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for gettree-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c7232fea0d02f5fbe165495b88dd8b6abf5f9d3b7dbab946b910956c8feefa50
MD5 659e8007b46c63119a3c1765e919608b
BLAKE2b-256 a6b9fad93cde6031b8eef0805be5580e86c2ae77af30409d9ebd26c16316fe88

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page