ysskrishna logoysskrishna

Gitingest Action

Repo-to-text digests in your workflow: stats, folder tree, and file contents ready for an LLM.

Built with
GitHub Marketplace Actions
GitHub Actions
Git
JavaScript
Details
FreeMIT licenseCreated March 21, 2026Updated November 12, 2026
Share this product

You need the model to see the repo. You should not have to rebuild that pile by hand every time.

You open the tree. You copy a few files. You paste a folder list into the chat. It works once. Then the branch moves, the monorepo grows, or you need the same snapshot every Monday for onboarding. The context is never quite the same twice.

Gitingest Action turns that chore into one workflow step that writes the digest where your pipeline already runs.

Same repo. Same layout. One paste-ready bundle.

What you get

  • Three plain-text files per run. A stats summary with a token estimate, a directory tree, and concatenated source files under a folder you choose.
  • A quick read in the Actions UI. The workflow run Summary page shows the headline stats and a collapsible tree so you can sanity-check before you download anything.
  • Your scope, your rules. Point at the checked-out repo, another path, or a remote URL. Pick a branch or tag. Narrow with include and exclude patterns when the tree is huge.
  • Private repos when you need them. Pass a token from secrets so the runner can clone what your team can already read.
  • Outputs you can wire forward. Paths are exposed as step outputs, or you read the files straight from the output folder. Example workflows show saving them as artifacts for the next step or a human download.
  • Free and open source. MIT licensed. Listed on GitHub Marketplace as Gitingest.

Picture your Monday

For example, a scheduled workflow fires while you are in standup. It digests last week's release tag, writes the three files, and uploads them as artifacts. A teammate opens the summary, checks the token estimate, and drops the content file into the LLM thread for onboarding questions. No one retypes the folder structure.

Ready to try it?

Frequently asked questions

Why not just copy files into the chat myself?

You can, for a tiny repo. The pain is repetition. This step rebuilds the same shaped digest on every run, records stats and token estimates, and leaves files your next job or a colleague can pick up without rummaging through the tree again.

What files does the action write?

It writes three files: a summary with file count, token estimate, and repo info, a tree with the directory layout, and a content file with concatenated sources. It also adds a job summary on the workflow run page.

Can I analyze a private repository?

Yes. Provide a GitHub token with read access to the target repo, usually from repository or organization secrets.

How do I keep a large monorepo from producing a giant digest?

Use include or exclude glob patterns, point the step at a subdirectory, or choose a branch or tag. The digest skips paths once default caps apply, so a scoped run is often partial but still useful.

What are the default size limits?

Individual files above about 10 MB are skipped. The run stops adding files after about 500 MB cumulative, 10,000 files, or 20 levels of directory depth. Skipped paths are logged; the digest may be partial.

Can I analyze a remote repo URL instead of the checkout?

Yes. Pass the repository URL and optionally a branch or tag. Example workflows cover remote repos and tagged releases.

Is it free?

Yes. It is open source under the MIT license.

Do I need to be a developer?

You need a GitHub repo where you can edit workflows. The README and examples repo show the YAML to add; this page stays out of the wiring details.

Continue exploring

BlogCover image for Analyze Git Repositories in GitHub Actions Using Gitingest

Analyze Git Repositories in GitHub Actions Using Gitingest

GitHub Marketplace Actions
GitHub Actions
+2
4 min read
ProductGitHub MarketplacePyPI Package Stats Action

PyPI Package Stats Action

PyPI download counts in your workflow run, with a summary table you can read at a glance.
GitHub Marketplace Actions
GitHub Actions
+2
BlogCover image for How to Add PyPI Download Stats to GitHub Actions

How to Add PyPI Download Stats to GitHub Actions

GitHub Marketplace Actions
GitHub Actions
+2
4 min read
ProductGitHub MarketplaceRelease from Changelog or Tag

Release from Changelog or Tag

The changelog section you already wrote becomes the GitHub Release.
DevOps & Infrastructure
GitHub Marketplace Actions
+2
CourseCover image for Agent Building Blocks: Skills, Subagents, MCP and Hooks

Agent Building Blocks: Skills, Subagents, MCP and Hooks

A free, hands-on course on the four pieces behind Cursor and Claude Code agents: skills, subagents, MCP servers and hooks. Build each one, then combine them.

Agent Skills
Chat & AI
+1

9 chapters · 25 min

ToolCover image for AI Token Counter

AI Token Counter

AI token counter with model pricing and context-window comparison in your browser.

Chat & AI
AI Apps & Assistants
+1