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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a289b1cfa7d9e986ccd03646d0795a3e97637dcde6c2edf75c0a48ac05f3b5d7
|
|
| MD5 |
e410337c27cb787ba9e595f17be66bf2
|
|
| BLAKE2b-256 |
fbea4b9f1fc95c63b3f85144e8726e395d3075a63889cc2aa6658ff88dcd9ff8
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4909d3642f457cb333e4ebafec245c4aab19e9c95c4643e40fe56c30806b54e
|
|
| MD5 |
bf313c606c64536674a896eca98ebb38
|
|
| BLAKE2b-256 |
4f2cbb563299128e2eda0b71c1d7d4ee81086b61aebbc393466c32fac39dbe7e
|