gitingest (coderamp-labs/gitingest)

Searching Database…

What is this?Gitingest turns any Git repository into a prompt-friendly text digest for LLMs. You can also just swap 'hub' for 'ingest' in a GitHub URL (e.g. github.com -> gitingest.com) to get the digest instantly.
Is this a website, a CLI tool, or a library?All three: there's a hosted website at gitingest.com, a command-line tool you install via pip, and a Python package you can import in your own code, plus Chrome/Firefox browser extensions.
How do I get a digest from a repo?Install it with 'pip install gitingest' (or pipx), then run the 'gitingest' command on a repo URL or local directory. By default the output is written to digest.txt, but you can target a different file or pipe it to STDOUT with -o -.
Do I need a GitHub token to use it?Only for private repositories, where you pass a GitHub Personal Access Token via --token/-t.
Does it include files listed in .gitignore?No, by default anything in .gitignore is skipped; you have to pass --include-gitignored to pull those files into the digest.
What's in the digest besides the raw code?It includes stats on the file and directory structure, the size of the extract, and a token count so you know how much context it will use.
Can I run it as a self-hosted service instead of using gitingest.com?Yes, there's a Docker image and a compose.yml with dev/prod profiles; the app runs on FastAPI with optional S3-compatible storage (MinIO) and Prometheus/Sentry monitoring.
Is there a JavaScript equivalent?The README points to Repomix as an NPM alternative for people who need a FileSystemNode/JS-based version instead of the Python tool.
Can I use it inside a Jupyter notebook?Yes, as a Python package, though you need to use its async variant since notebooks run an event loop by default.
Size
1.5 MB
Stars
16.2K
Age
2y
Commits · 90 Days