{"id":13862914,"url":"https://github.com/magnusrodseth/gpt-feeder","last_synced_at":"2025-08-18T19:34:07.325Z","repository":{"id":147569415,"uuid":"618911451","full_name":"magnusrodseth/gpt-feeder","owner":"magnusrodseth","description":"🦀 A command-line application that scans the entire codebase, and produces one string consisting of all filenames and file contents that you want included.","archived":false,"fork":false,"pushed_at":"2024-07-02T06:41:21.000Z","size":374,"stargazers_count":25,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-04T19:18:41.163Z","etag":null,"topics":["clap","clap-rs","gpt","gpt-3","gpt-4","rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/gpt-feeder","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/magnusrodseth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-03-25T17:52:33.000Z","updated_at":"2025-06-09T16:12:26.000Z","dependencies_parsed_at":"2024-04-13T18:04:32.755Z","dependency_job_id":null,"html_url":"https://github.com/magnusrodseth/gpt-feeder","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/magnusrodseth/gpt-feeder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnusrodseth%2Fgpt-feeder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnusrodseth%2Fgpt-feeder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnusrodseth%2Fgpt-feeder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnusrodseth%2Fgpt-feeder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magnusrodseth","download_url":"https://codeload.github.com/magnusrodseth/gpt-feeder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnusrodseth%2Fgpt-feeder/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263627093,"owners_count":23490727,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clap","clap-rs","gpt","gpt-3","gpt-4","rust"],"created_at":"2024-08-05T06:01:55.911Z","updated_at":"2025-08-18T19:34:07.299Z","avatar_url":"https://github.com/magnusrodseth.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# GPT Feeder\n\n## What is it?\n\nGPT models today have a high token capability, allowing for use cases like long form content creation, extended conversations, and document search and analysis.\n\nGPT Feeder is a command-line application that scans the entire codebase, and produces one string consisting of all filenames and file contents you want to be included. This string can then be fed into ChatGPT, and the model can generate code based on the context of your code base.\n\n## Installation\n\n### Using Cargo\n\nEnsure you have `cargo` installed. Then, run the following command:\n\n```bash\n# Install the application\ncargo install gpt-feeder\n```\n\n## Usage\n\nEnsure you have `gpt-feeder` installed. Add all ignored file and directory patterns to `.feedignore`, just like you would with a `.gitignore`. Then, run the following commands:\n\n```bash\n# Navigate to the directory you want to scan\ncd \u003cdirectory\u003e\n\n# Run the application with the file extensions you want included\ngpt-feeder --include *.rs *.md\n\n# If you want to output the result to a file, use the `--out` flag\ngpt-feeder --include *.rs *.md --out output.txt\n\n# Print help\ngpt-feeder --help\n```\n\n✂️ Note that `gpt-feeder` automatically copies the content to your clipboard.\n\nYou can now paste this string into ChatGPT, and generate code based on the context of your code base. 🚀\n\n### Important to note\n\nGPT Feeder relies on your shell to expand glob patterns. This is done in order to allow your shell to give you autocomplete suggestions on the patterns, in addition to making it easier for the program to handle an arbitrary amount of glob patterns whilst still being user-friendly.\n\n### Example\n\n![Demo](/static/demo.png)\n\n## Star History\n\n[![Star History Chart](https://api.star-history.com/svg?repos=magnusrodseth/gpt-feeder\u0026type=Date)](https://www.star-history.com/#magnusrodseth/gpt-feeder\u0026Date)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagnusrodseth%2Fgpt-feeder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagnusrodseth%2Fgpt-feeder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagnusrodseth%2Fgpt-feeder/lists"}