Consolidate Your Entire Codebase
RepoLiner scans a project directory and merges all source code into a single, well-formatted Markdown file. Perfect for code reviews, AI analysis, and project archiving.
Why RepoLiner?
Preparing for a code audit, onboarding a new developer, or feeding a codebase into a Large Language Model can be a hassle. It often requires navigating countless files and directories. RepoLiner automates this entire process by recursively scanning a target directory, finding all relevant files, and merging them into a single, clean Markdown document, complete with syntax highlighting for easy reading.
Key Features
Automated Windows Setup
Get started in minutes with simple batch scripts that handle everything from installing dependencies to setting up the environment.
Interactive & CLI Modes
Run the tool via a user-friendly interactive prompt or pass arguments directly through the command line for automation.
Intelligent Scanning
Automatically ignores common non-source directories like .git, node_modules, and virtual environments to keep your output clean.
Syntax Highlighting
Generated Markdown files include language identifiers, enabling rich syntax highlighting in any compatible viewer.
Timestamped Outputs
Output files are automatically named with the project folder and a precise timestamp, preventing overwrites and keeping your work organized.
Quality Control Built-in
Integrated with Black, Flake8, and pre-commit to ensure high code quality and maintainability for contributors.
Getting Started
Easy Setup for Windows
Get the latest release from GitHub and unzip it to a convenient location.
Execute the batch files in order: `1-install-miniconda.bat`, `2-create-environment.bat`, and `3-install-dependencies-pip.bat`.
Double-click `launch.bat` to run the tool in interactive mode.
Paste the full path to your target project directory and press Enter. Your merged file will appear in the `output` folder.
macOS, Linux, and advanced users can follow the manual installation guide in the README on GitHub.