Skip to main content

Arborix

A beautifully structured CLI tree viewer with export capabilities


Overview

Arborix is a minimalist, yet feature-rich command-line utility that renders directory trees in a clean and human-readable format. It leverages UTF-8 icons to intuitively represent various file types and offers multi-format export options for versatile use cases.

Key Features

  • 📁 Unicode icons for different file types
  • 📄 Export to .txt, .json, and .html (with embedded CSS)
  • 🧠 Sorting by name, size, or date
  • 🫥 Toggle hidden files
  • 🌈 Colored terminal output
  • 🔍 Depth limitation for focused navigation
  • 📊 Directory statistics on demand

Installation

Choose from the following methods:

From GitHub

pip install git+https://github.com/mallikmusaddiq1/arborix.git
cd arborix
pip install .

From PyPI

pip install arborix

Usage

Launch Arborix from your terminal:

arborix [path] [options]

Command-line Options

  • -d, --depth <int>: Set tree depth limit (e.g., --depth 3)
  • --txt <file>: Export tree view to .txt
  • --json <file>: Export tree structure to .json
  • --html <file>: Export to .html with embedded styles
  • --sort <name|size|date>: Sort directory entries (default: name)
  • -H, --hidden: Include hidden files and folders
  • --no-icons: Disable Unicode icons
  • --color: Enable ANSI-colored output
  • --stats: Display summary of files and directories
  • -v, --version: Show tool version and author information

Example Commands

Generate a basic tree with stats and export:

arborix . --depth 2 --txt output.txt --stats

Export to JSON with colored output and hidden files:

arborix . --json structure.json --color --hidden

Generate icon-free HTML output for a directory:

arborix /path/to/dir --html index.html --no-icons

Display version and credits:

arborix --version

File Type Icons

Icon Category File Types
📁 Folder Directories
📸 Image jpg, png, svg, psd
🎵 Audio mp3, wav, flac, ogg
🎬 Video mp4, mkv, avi, mov
📄 Text & Code txt, py, java, html
🗜️ Archive zip, rar, tar, 7z
⚙️ Executable exe, bin, jar, sh
🔤 Font ttf, otf, woff, woff2
🗄️ Database sql, sqlite, db
📊 Presentation ppt, pptx, odp
📈 Spreadsheet xls, xlsx, ods
📖 PDF & E-books pdf, epub, mobi
📐 CAD & 3D Models dwg, stl, obj
📦 Miscellaneous torrent, tmp, cfg
💾 Virtual Machines vmdk, vmx, vdi
🎮 Game Files rom, nes, gba
🔬 Scientific Data hdf, npy, pdb
✍️ Markup & Docs md, tex, adoc
📦 Other Unrecognized extensions

Author

Mallik Mohammed Musaddiq

GitHub: @mallikmusaddiq1

Email: mallikmusaddiq1@gmail.com


License

This project is licensed under the MIT License. Refer to the LICENSE file for full details.

Metadata

Release files for arborix 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for arborix 1.0.0
File Size Uploaded Provenance
arborix-1.0.0.tar.gz 13.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for arborix 1.0.0
File Interpreter ABI Platform
arborix-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 27.6 kB

Release files / arborix-1.0.0.tar.gz

Download URL arborix-1.0.0.tar.gz
Size 13.8 kB
Tags Source
SHA-256 checksum
How to use checksums
673ba3d0e5d7e483dfa289f42b32397f562309f62cb68b0438afc18aee4d53d0
BLAKE2b-256 checksum
How to use checksums
ddc9dad771aea757362a23a2cbd56575033f50d8cdc3c444d5ad265b48b6f6a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Release files / arborix-1.0.0-py3-none-any.whl

Download URL arborix-1.0.0-py3-none-any.whl
Size 13.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
93a8123e3d66436fe21ef1b069aa0b95bffdfb7067829e9b62ba2802a27b003f
BLAKE2b-256 checksum
How to use checksums
e647fa73c074ad7296f573091654b42e6b38afe154eb9bf08773819761bce184
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Security for arborix 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page