You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

repodocify

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

repodocify

A tool for generating repository structure documentation

1.0.0
pipPyPI
Maintainers
1

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

Keywords

repository

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