repo2txt codebase documentation generator

Description

A lightweight command-line tool that converts an entire code repository into a single, structured document — ready for LLM consumption.

Whether you’re feeding a codebase into an AI assistant, creating a snapshot for review, or generating documentation, repo2txt does the heavy lifting. It walks your project directory, renders a clear file tree, and outputs every relevant file into one clean document.

Key features:

  • Outputs to plain text, Markdown, or Word (.docx) formats
  • Renders a Unicode file tree for at-a-glance structure
  • Intelligent binary file detection — only includes what matters
  • Built-in ignores for common noise (.git, node_modules, vendor, and more)
  • Configurable via CLI flags or a simple repo2txt.yaml config file
  • Cross-platform: macOS, Linux, and Windows

Built with Go for speed and simplicity. Available via Homebrew on macOS.

Works with

LinuxmacOSWindows

GitHub Stats

Latest Version
Loading…
Licence
Loading…
Last Release
Loading…
Downloads
Loading…
0

More Work

Flux Magento 2 Patching Application
Flux Magento 2 Patching Application

A Go CLI tool that checks and updates the ece-patches configuration inside a Magento 2 .magento.env.yaml file, keeping patch state consistent across environments.

Anvil Magento 2 Docker Application
Anvil Magento 2 Docker Application

A Go CLI tool for Magento 2 developers to manage local Docker environments, synchronise templates and run Magento commands from a single interface.

Smart Home Sounds
Magento 2 Hyvä Themes build for Smart Home Sounds

Magento 2 Hyvä Themes build for Smart Home Sounds.