Skip to main content

Generate beautiful folder tree structures and project documentation.

Project description

FolderTree

A lightweight command-line tool that automatically analyzes a project directory and generates clean, well-structured project documentation.

FolderTree scans your project, collects metadata, analyzes project statistics, detects programming languages, generates a folder tree, and exports documentation in Markdown or TXT format.


Features

  • ๐Ÿ“ Scan any project directory
  • ๐ŸŒณ Generate a beautiful folder tree
  • ๐Ÿ“Š Analyze project statistics
  • ๐Ÿ’ป Detect programming languages
  • ๐Ÿ“ Generate project documentation
  • ๐Ÿ“„ Export documentation as Markdown or TXT
  • โšก Fast and simple CLI interface

Requirements

  • Python 3.11 or later

Installation

pip install folderTree

After installation, the folderTree command will be available globally.


Usage

Show available commands

folderTree --help

Generate documentation in the terminal

folderTree scan .

or

folderTree scan path/to/project

Example

folderTree scan sample_projects/python_project

Export as Markdown

folderTree scan . -o PROJECT_DOCUMENTATION.md

Export as TXT

folderTree scan . -o PROJECT_DOCUMENTATION.txt

Example Output

# Project Documentation

## Project Information

- Project Name: folderTree
- Project Location: D:\Projects\folderTree
- Project Created: 2026-07-10
- Documentation Generated: 2026-07-19

## Statistics

- Total Files: 59
- Total Folders: 22
- Total Size: 41.94 KB

## Languages

- Python: 47
- Markdown: 4
- TOML: 1
- HTML: 1
- CSS: 1
- JavaScript: 1

## Folder Structure

folderTree/
โ”œโ”€โ”€ src/
โ”‚   โ””โ”€โ”€ folderTree/
โ”œโ”€โ”€ tests/
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ LICENSE
โ””โ”€โ”€ pyproject.toml

Project Structure

folderTree/
โ”‚
โ”œโ”€โ”€ src/
โ”‚   โ””โ”€โ”€ folderTree/
โ”‚       โ”œโ”€โ”€ analyzers/
โ”‚       โ”œโ”€โ”€ cli/
โ”‚       โ”œโ”€โ”€ exporters/
โ”‚       โ”œโ”€โ”€ generators/
โ”‚       โ”œโ”€โ”€ models/
โ”‚       โ”œโ”€โ”€ scanner/
โ”‚       โ””โ”€โ”€ utils/
โ”‚
โ”œโ”€โ”€ tests/
โ”œโ”€โ”€ docs/
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ LICENSE
โ”œโ”€โ”€ CHANGELOG.md
โ””โ”€โ”€ pyproject.toml

Development

Clone the repository:

git clone https://github.com/Nikk-hub-code/folderTree.git

Move into the project directory:

cd folderTree

Install in editable mode:

pip install -e .

Run the test suite:

pytest

License

This project is licensed under the MIT License.

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

foldertree_cli-0.1.0.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

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

foldertree_cli-0.1.0-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for foldertree_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a289b1cfa7d9e986ccd03646d0795a3e97637dcde6c2edf75c0a48ac05f3b5d7
MD5 e410337c27cb787ba9e595f17be66bf2
BLAKE2b-256 fbea4b9f1fc95c63b3f85144e8726e395d3075a63889cc2aa6658ff88dcd9ff8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for foldertree_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d4909d3642f457cb333e4ebafec245c4aab19e9c95c4643e40fe56c30806b54e
MD5 bf313c606c64536674a896eca98ebb38
BLAKE2b-256 4f2cbb563299128e2eda0b71c1d7d4ee81086b61aebbc393466c32fac39dbe7e

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