# mpoon/gpt-repository-loader

Convert code repos into an LLM prompt-friendly format. Mostly built by GPT-4.

Repository: https://github.com/mpoon/gpt-repository-loader
Canonical: https://ross.abutalabs.com/products/gpt-repository-loader
Language: Python
License: MIT
License Family: permissive
Last push: 2024-06-25T18:53:13+00:00

## Health v2 (maintenance only)
Score: 30/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 90
- inputs: {"age_days": 1266, "days_push": 799, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2973, forks 232 (observed 2026-08-28T04:07:32.932294+00:00)

## What it is
A Python command-line tool that converts a Git repository's files and structure into a single text format suitable for feeding to LLMs. It supports optional preamble and output file arguments.

## Use cases
- convert a codebase into an LLM prompt
- feed a git repository to ChatGPT for code review
- generate documentation from a repo with an AI model
- export repository contents as structured text
- give GPT-4 full context of my project

## When to choose
- you want a simple, dependency-light script to dump a repo into one text file for an LLM
- you need to preserve file structure when sharing code with AI models

## When to avoid
- you need token counting, chunking, or advanced context-window management
- you want a GUI or IDE integration
- you need support for very large repos with selective file filtering

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: developer-tools, llm-inference, prompt-engineering
- domain: developer-tools, large-language-models, version-control
- platform: cli, python, cross-platform
- tags: git-repository, llm-context, code-to-text, gpt, codebase-export

## Member repositories
- mpoon/gpt-repository-loader (main) score 30

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:32.932294+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:31:37.115885+00:00, confidence not recorded.
  - readme: https://github.com/mpoon/gpt-repository-loader (fetched 2026-08-28T04:07:32.932294+00:00, sha 71318ef09425)
- Data as of 2026-08-30T08:39:29.467469+00:00.
