GPT Repo Loader – load entire code repos into GPT prompts
I was getting tired of copy/pasting reams of code into GPT-4 to give it context before I asked it to help me, so I started this small tool. In a nutshell, gpt-repository-loader will spit out file paths and file contents in a prompt-friendly format. You can also use .gptignore to ignore files/folders that are irrelevant to your prompt. gpt-repository-loader as-is works pretty well in helping me achieve better responses. Eventually, I thought it would be cute to load itself into GPT-4 and have GPT-4 improve it. I was honestly surprised by PR#17. GPT-4 was able to write a valid an…
GPT Repo Loader – load entire code repos into GPT prompts launched on March 17, 2023 with 373 votes, #66 of 5,007 launches that month and more than 99% of that year's launches. The site was still online in September 2026, 3 years on.
In plain words
GPT Repo Loader is a command-line tool that converts entire code repositories into a format suitable for AI prompts. It outputs file paths and contents in a GPT-friendly structure, reducing the need for manual copy-pasting. Users can employ .gptignore files to exclude irrelevant files and folders from the output. Designed for developers who use GPT models for code assistance, it streamlines the process of providing code context to AI systems for more effective help with programming tasks.
written from the facts on this page · September 2026
From the sources
Convert code repos into an LLM prompt-friendly format. Mostly built by GPT-4. - mpoon/gpt-repository-loader
In the maker’s words, at launch
I was getting tired of copy/pasting reams of code into GPT-4 to give it context before I asked it to help me, so I started this small tool. In a nutshell, gpt-repository-loader will spit out file paths and file contents in a prompt-friendly format. You can also use .gptignore to ignore files/folders that…
Does a similar job
all alternatives →
Promptr, let GPT operate on your codebase and other useful goodies2023 · github.com · ▲109Hi HN, I've been working on an experimental tool that helps you use GPT to work on your codebase. I'd love to improve the tool if there's interest. New ideas welcome! I think this could also be useful for experimenting with other types of recursive prompts. It’s a little bit Swiss Army knife and a little bit skynet: https://github.com/ferrislucas/promptr From the README: Promptr is a CLI tool for operating on your codebase using GPT. Promptr dynamically includes one or more files into your GPT prompts, and it can optionally parse and apply the changes that GPT suggests to…

- GAGPTDuck – Ask questions about any GitHub repo2023 · gptduck.com · ▲128
- CACodePrompt – a UI for loading code repos into GPT prompts2023 · codeprompt.xyz · ▲5
Hi HN, I'm Chun Rapeepat. Last week I started playing with GPT-4 and tried different ways to use it to optimize my dev workflow. It was fun, and I was just blown away by what GPT-4 can do. The idea of CodePrompt first came to mind when I read "Show HN: GPT Repo Loader – load entire code repos into GPT prompts" [1]. It was precisely what I wanted to do! So I tried it. The GPT Repo Loader works pretty well on a small codebase; However, due to its limitations in loading all files and content into the prompt, I still ran into token context limit issues and needed to copy/edit the code…
Gitfs – mount Git repos as local folders2014 · presslabs.com · ▲196gitfs went on a trip around the world, and we were there to document it: fro Italy to Sweden, from the UK to Spain, gitfs has been center stage.
- WSWe scaled Git to support 1 TB repos2022 · xethub.com · ▲279
I’ve been in the MLOps space for ~10 years, and data is still the hardest unsolved open problem. Code is versioned using Git, data is stored somewhere else, and context often lives in a 3rd location like Slack or GDocs. This is why we built XetHub, a platform that enables teams to treat data like code, using Git. Unlike Git LFS, we don’t just store the files. We use content-defined chunking and Merkle Trees to dedupe against everything in history. This allows small changes in large files to be stored compactly. Read more here:…
More ai this month
the category →



Paintings by AI models: programs run through a simulation of oil paint.
AI · 22d ago · stillwet.art

FastRouter.ai▲364Route requests to the right LLM for cost, latency & quality
AI · 23d ago · fastrouter.ai
Source: Show HN post ↗ · launch text quoted in part
Launched alongside, March 2023
the whole month →

Typing Mind▲826Chat with AI using your API keys. Pay only for what you use. ChatGPT, Gemini, Claude, and other LLMs supported. The best chat LLM frontend UI for all AI models.
AI · 2023 · typingmind.com

Sequoia▲726Personalized men's sexual health with on-demand experts
Life & fun · 2023 · sequoia.health
- BI
I'm a big fan of the BBC podcast In Our Time -- and (like most people) I've been playing with the OpenAI APIs. In Our Time has almost 1,000 episodes on everything from Cleopatra to the evolution of teeth to plasma physics, all still available, so it's my starting point to learn about most topics. But it's not well organised. So here are the episodes sorted by library code. It's fun to explore. Web scraping is usually pretty tedious, but I found that I could send the minimised HTML to GPT-3 and get (almost) perfect JSON back: the prompt includes the Typescript definition. At the same time I…
AI · 2023 · genmon.github.io