nowfound

AI · March 17, 2023

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.

Visit github.com ↗Alternativestop 1% of March 2023

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 · ▲109

    Hi 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…

  • Repo PromptJan 2026 · repoprompt.com · ▲280

    Automate assembling the perfect context for your project

  • GA
  • CA
    CodePrompt – 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 · ▲196

    gitfs 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.

  • WS
    We 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 →
  • Video model that turns script into viral social media videos

    AI · 19d ago · spira.ai

  • The browser where Claude Code and Codex work beside you

    AI · 19d ago · rill.love

  • Kolibri is Aleph Alpha

    AI · 21d ago · tej.as

  • Paintings by AI models: programs run through a simulation of oil paint.

    AI · 22d ago · stillwet.art

  • Beam.win▲379

    Run AI agents on one Mac and use its windows on another

    AI · 5d ago · beam.win

  • Route 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 →
  • GPT-4▲1,160

    More accurate, less cringe, smoother & useful daily chats!

    AI · 2023 · openai.com

  • Collato▲972

    One AI search to find anything instantly, across all apps

    AI · 2023

  • Chat 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

  • Meet the internet again

    Work · 2023 · apps.apple.com

  • Sequoia▲726

    Personalized 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