Skip to main content

Generate beautiful file trees for your README

Project description

🌳 abitree

Generate beautiful, icon-rich file trees for your README — instantly.

📁 my-project/
├── 📁 src/
│   ├── 🐍 main.py
│   ├── ⚛️  App.tsx
│   └── 🎨 styles.css
├── 📦 package.json
├── 🐳 Dockerfile
└── 📝 README.md

Installation

pip install abitree

Usage

# Current directory
abitree

# Specific path
abitree ./my-project

# Limit depth
abitree -L 2

# Output to file
abitree -o structure.md

# Wrap in markdown code block
abitree --md

# Directories only
abitree --dirs-only

# Ignore extra folders
abitree -i dist,build,.cache

# No icons (plain text)
abitree --no-icons

Options

Flag Description
path Directory to scan (default: .)
-L, --level Max depth
-o, --output Write output to file
-i, --ignore Comma-separated ignore list
--dirs-only Show directories only
--no-icons Disable icons
--no-default-ignore Don't ignore .git, node_modules, etc.
--md Wrap output in markdown code block

Default ignored

.git, __pycache__, .DS_Store, .idea, .vscode, node_modules

Author

Built by Abidit Shrestha

License

MIT

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

abitree-0.1.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

abitree-0.1.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file abitree-0.1.0.tar.gz.

File metadata

  • Download URL: abitree-0.1.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for abitree-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8706b0b8014cf047d4fa660b3e2f796a92174a6e57346d2347b7738fa135a970
MD5 d122645a7eefd4020cdbb12e808e80c2
BLAKE2b-256 be6a7b0372cd2ebf53995ceb8dfab586107484cf5a8feb6095f48f9d31dca978

See more details on using hashes here.

File details

Details for the file abitree-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: abitree-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for abitree-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 970c2e7516c97edbd5b4a48bf22f181110637aacfb7b465bb47b97a0f648f54b
MD5 1f77b01b183689507261c24ecddaedec
BLAKE2b-256 8a941cc0f5ad601e6f1fb4073507b8066cbb141209958f85146bc3ae9dfe0758

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