A tool for generating repository structure documentation
Project description
Repodocify
A powerful Python tool for generating repository structure documentation in multiple formats.
✨ Features
-
📝 Multiple Output Formats
- Markdown for clean documentation
- ASCII tree with file sizes
- JSON structure with metadata
- HTML with collapsible trees (coming soon!)
-
🎯 Smart Filtering
- Respects .gitignore patterns
- Intelligent directory filtering
- Configurable depth control
- Cross-platform compatibility
-
📊 Repository Statistics
- File and directory counts
- Size analysis
- Last modified tracking
🚀 Installation
pip install repodocify
📖 Usage
Basic usage:
repodocify
With options:
# Generate markdown output (default)
repodocify --path /path/to/repo --max-depth 3
# Generate ASCII tree with file sizes
repodocify --format ascii --stats
# Generate JSON output
repodocify --format json --output repo-structure.json
# Generate interactive HTML tree
repodocify --format html
🛠️ Development
This project uses Poetry for dependency management. To set up the development environment:
-
Install Poetry (if not already installed):
pip install poetry
-
Clone the repository:
git clone https://github.com/yourusername/repodocify.git cd repodocify
-
Install dependencies:
poetry install -
Run tests:
poetry run pytest
📋 Requirements
- Python >=3.8.1
- Click for CLI
- Rich for terminal formatting
- PyYAML for configuration (coming soon)
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
📄 License
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 repodocify-1.0.0.tar.gz.
File metadata
- Download URL: repodocify-1.0.0.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.11.11 Linux/6.8.0-1017-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33afc1e717352ceae0fdb94eda581019def76b931ec950e61c56144682a40d94
|
|
| MD5 |
b217f8274ec180da6111199cdd5a1b84
|
|
| BLAKE2b-256 |
d46625cc7e1b6635e6ff3d0d8e31eb9ef16ffb616cec9e36485f4a8234a58069
|
File details
Details for the file repodocify-1.0.0-py3-none-any.whl.
File metadata
- Download URL: repodocify-1.0.0-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.11.11 Linux/6.8.0-1017-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
942a9562af27532260f48d1b3a57f6658d267a1ca6a4ed7b93eca5da0e79731c
|
|
| MD5 |
6b719f4a8e972f0c503f6c049a9b5875
|
|
| BLAKE2b-256 |
f693532ae1646384d43d72d2aef35573a0abdd3d34a77ca3e27399bb54c1cf6b
|