---
title: "💭 cyclotruc/gitingest: Replace 'hub' with 'ingest' in any github..."
description: "!https://github.com/cyclotruc/gitingest"
date: 2025-01-09
published: true
tags:
  - ai
  - llm
  - python
  - thought
template: link
---


<div class="embed-card embed-card-external">
  <a href="https://github.com/cyclotruc/gitingest" class="embed-card-link" target="_blank" rel="noopener noreferrer">
    <div class="embed-card-image">
      <img src="https://opengraph.githubassets.com/f850e1c25148a2ea055dd937686aedde9b6d4b855cd7d95796e774d5d87c171a/coderamp-labs/gitingest" alt="GitHub - coderamp-labs/gitingest: Replace &#39;hub&#39; with &#39;ingest&#39; in any GitHub URL to get a prompt-friendly extract of a codebase — Replace &#39;hub&#39; with &#39;ingest&#39; in any GitHub URL to get a prompt-friendly extract of a codebase  - coderamp-labs/gitingest" loading="lazy">
    </div>
    <div class="embed-card-content">
      <div class="embed-card-title">GitHub - coderamp-labs/gitingest: Replace &#39;hub&#39; with &#39;ingest&#39; in any GitHub URL to get a prompt-friendly extract of a codebase</div>
      <div class="embed-card-description">Replace &#39;hub&#39; with &#39;ingest&#39; in any GitHub URL to get a prompt-friendly extract of a codebase  - coderamp-labs/gitingest</div>
      <div class="embed-card-meta">GitHub &middot; github.com</div>
    </div>
  </a>
</div>


Gitingest has a python package on pypi that you can run with uvx, and it accepts the same arguments as the web version, right in your terminal


``` bash
⬢ [devtainer] ❯ uvx gitingest --help
Usage: gitingest [OPTIONS] SOURCE

  Analyze a directory and create a text dump of its contents.

Options:
  -o, --output TEXT           Output file path (default: <repo_name>.txt in
                              current directory)
  -s, --max-size INTEGER      Maximum file size to process in bytes
  -e, --exclude-pattern TEXT  Patterns to exclude
  -i, --include-pattern TEXT  Patterns to include
  --help                      Show this message and exit.
```

!!! note

    This post is a <a href="/thoughts/" class="wikilink" data-title="Thoughts" data-description="These are generally my thoughts on a web page or some sort of url, except a rare few don&#39;t have a link. These are dual published off of my..." data-date="2024-04-01">thought</a>. It's a short note that I make
    about someone else's content online <a href="/tags/thoughts/" class="hashtag-tag" data-tag="thoughts" data-count=2 data-reading-time=3 data-reading-time-text="3 minutes">#thoughts</a>
