Gitingest
Gitingest is a command-line tool that fetches files from a GitHub repository and generates a consolidated text prompt for your LLMs.
Install / Use
/learn @davidesantangelo/GitingestREADME
Gitingest
Turn any GitHub repo into an LLM-ready prompt.
Install
gem install gitingest
Usage
# Basic
gitingest -r user/repo
# With token (for private repos)
gitingest -r user/repo -t YOUR_TOKEN
# Custom output
gitingest -r user/repo -o prompt.txt
# Show repo structure
gitingest -r user/repo -s
As a Library
require "gitingest"
generator = Gitingest::Generator.new(
repository: "user/repo",
token: "YOUR_TOKEN" # optional
)
# Write to file
generator.run
# Or get content as string
content = generator.generate_prompt
Options
| Flag | Description |
|------|-------------|
| -r, --repository | GitHub repo (user/repo) |
| -t, --token | GitHub token |
| -o, --output | Output file |
| -b, --branch | Branch name |
| -e, --exclude | Patterns to exclude |
| -s, --show-structure | Show directory tree |
| -T, --threads | Thread count |
| -q, --quiet | Quiet mode |
| -v, --verbose | Verbose mode |
Limits
- Max 1000 files per repo
- 60 req/hour without token, 5000 with token
- Private repos require a token
License
MIT
Credits
Inspired by cyclotruc/gitingest.
Related Skills
proje
Interactive vocabulary learning platform with smart flashcards and spaced repetition for effective language acquisition.
groundhog
398Groundhog's primary purpose is to teach people how Cursor and all these other coding agents work under the hood. If you understand how these coding assistants work from first principles, then you can drive these tools harder (or perhaps make your own!).
last30days-skill
17.5kAI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary
sec-edgar-agentkit
10AI agent toolkit for accessing and analyzing SEC EDGAR filing data. Build intelligent agents with LangChain, MCP-use, Gradio, Dify, and smolagents to analyze financial statements, insider trading, and company filings.
