Latest / Developer tools

Repogather

github.com · Open source · Quiet

CLI that copies repo source files to the clipboard for LLMs

Visit github.com ↗Share

  • copy repo to clipboard
  • llm code context
  • repo prompt tool
  • code context cli
  • source file copier
Stars
243
Forks
15
Open issues
1
Last commit
Found
2 years ago

GitHub figures as of . They are context, not a ranking.

Repogather is a command-line tool that copies relevant source files from a repository to the clipboard, with relative paths for each file. Its --all option copies every source file, which the maker found workable for smaller repos, so it suits developers who prompt LLMs about code.

Repository description on GitHub: “Easily copy all relevant source files in a repository to clipboard. For use in LLM code understanding and generation workflows”

What it does

  • Copies relevant source files and their relative paths to the clipboard
  • Optional LLM relevance filtering with gpt-4o-mini
  • Excludes tests and config files and respects .gitignore

Good for

  • Paste a repo's source files into an LLM chat prompt
  • Estimate API cost before filtering files with an LLM

Suits: Developers who prompt LLMs about their code.

Worth knowing: LLM filtering needs an OpenAI API key, while the all-files option skips it.

What you can try

Read the README on GitHub and install from source.

Install

pip install repogather

Taken from the project’s README. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw Repogather on , when grbsh posted it to Show HN. GitHub listed no published releases for gr-b/repogather when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 65 points, 33 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 65 points, 33 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: gr-b/repogather
  2. Found: grbsh posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was Repogather released?
No dated release record is available. Kip found it on Show HN on 12 Sep 2024.
Is Repogather open source?
Its source is public on GitHub at gr-b/repogather under the MIT licence.
What does Repogather run on?
Command line.
Is Repogather free?
It is open source, so the code is free to read and run; check the licence for terms.
Is Repogather still maintained?
It has had no commit or release for over a year as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositorygr-b/repogather
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-41521121. Summary written by KipFound’s editor.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.