How I used AI to understand a huge codebase

From Looking Glass Universe.

ChatGPT has a fairly small limit on the size of files you can upload to it. Claude has a much larger limit, which makes it very helpful for uploading a big repo. In this example I used the paid versions of both (because they’re much better). However, Claude is blocked in a lot of places right now (update: it’s now available in the EU). If that’s the case for you, try using Google’s Gemini instead. It’s context window is even larger, but unfortunately you can’t upload docs to it right now. So instead you’ll need to copy and paste the entire thing in… Painful, but it will work. For this you will probably still need to use the paid version to get the entire codebase in.

Claude: https://claude.ai
Gemini: https://gemini.google.com/
OpenFold: https://github.com/aqlaboratory/openfold