initRepo CLI
A CLI to scaffold projects & package codebases for AI analysis.
initrepo-cli is a developer utility with two primary functions: scaffolding new projects and preparing existing codebases for AI analysis. It includes a powerful system to generate boilerplate for Next.js, React, and Python applications.
For existing code, it scans your project, filters irrelevant files, and generates a structured .initrepo/ directory. This directory contains a tech stack summary, a visual file tree, and a structured XML file with the complete source code for LLMs.
Quick Project Export
npx initrepo-cli (Exports codebase to 1 file)
Create new projects with organized structure:
Available project types: nextjs, react, react-native, python-automation, python-mcp
initrepo-cli scaffold <type> <project-name>
Examples:
initrepo-cli scaffold nextjs my-web-app
initrepo-cli scaffold python-automation my-script...