Socket
Book a DemoInstallSign in
Socket

arborix

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arborix

A beautifully structured CLI tree viewer with exports

1.0.0
pipPyPI
Maintainers
1

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

IconCategoryFile Types
📁FolderDirectories
📸Imagejpg, png, svg, psd
🎵Audiomp3, wav, flac, ogg
🎬Videomp4, mkv, avi, mov
📄Text & Codetxt, py, java, html
🗜️Archivezip, rar, tar, 7z
⚙️Executableexe, bin, jar, sh
🔤Fontttf, otf, woff, woff2
🗄️Databasesql, sqlite, db
📊Presentationppt, pptx, odp
📈Spreadsheetxls, xlsx, ods
📖PDF & E-bookspdf, epub, mobi
📐CAD & 3D Modelsdwg, stl, obj
📦Miscellaneoustorrent, tmp, cfg
💾Virtual Machinesvmdk, vmx, vdi
🎮Game Filesrom, nes, gba
🔬Scientific Datahdf, npy, pdb
✍️Markup & Docsmd, tex, adoc
📦OtherUnrecognized 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.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.