Live data from Hacker News

Show HN: I built an AI that turns GitHub codebases into easy tutorials

github.com

11–20 of 181 posts

Re: Show HN: I built an AI that turns GitHub codebases into easy tutorials

#11
post #9

I would find this more interesting if it made tutorials out if the Linux, LLVM, OpenZFS and FreeBSD codebases.

The Linux repository has ~50M tokens, which goes beyond the 1M token limit for Gemini 2.5 Pro. I think there are two paths forward: (1) decompose the repository into smaller parts (e.g., kernel, shell, file system, etc.), or (2) wait for larger-context models with a 50M+ input limit.

Re: Show HN: I built an AI that turns GitHub codebases into easy tutorials

#13
post #12

The overview diagrams it creates are pretty interesting, but the tone/style of the AI-generated text is insufferable to me - e.g. https://the-pocket.github.io/Tutorial-Codebase-Knowledge/Req...

Haha. The project is fully open-sourced, so you can tune the prompt for the tone/style you prefer: https://github.com/The-Pocket/Tutorial-Codebase-Knowledge/bl...

Re: Show HN: I built an AI that turns GitHub codebases into easy tutorials

#17
post #16

A company (mutable ai) was acquired by Google last year for essentially doing this but outputting a wiki instead of a tutorial.

Their site seems to be down. I can't find their results.

Were they acquired? Or did they give up and the CEO found work at Google?

https://news.ycombinator.com/item?id=42542512

The latter is what this thread claims ^

Re: Show HN: I built an AI that turns GitHub codebases into easy tutorials

#18
I love it! I effectively achieve similar results by asking Cursor lots of questions!

Like at least one other person in the comments mentioned, I would like a slightly different tone.

Perhaps good feature would be a "style template", that can be chosen to match your preferred writing style.

I may submit a PR though not if it takes a lot of time.

Re: Show HN: I built an AI that turns GitHub codebases into easy tutorials

#19

I love it! I effectively achieve similar results by asking Cursor lots of questions! Like at least one other person in the comments mentioned, I would like a slightly different tone. Perhaps good feature would be a "style template", that can be chosen to match your preferred writing style. I may submit a PR though not if it takes a lot of time.

Thanks—would really appreciate your PR!

Re: Show HN: I built an AI that turns GitHub codebases into easy tutorials

#20
post #11
post #9

I would find this more interesting if it made tutorials out if the Linux, LLVM, OpenZFS and FreeBSD codebases.

The Linux repository has ~50M tokens, which goes beyond the 1M token limit for Gemini 2.5 Pro. I think there are two paths forward: (1) decompose the repository into smaller parts (e.g., kernel, shell, file system, etc.), or (2) wait for larger-context models with a 50M+ input limit.

You can use the AST for some languages to identify modular components that are smaller and can fit into the 1M window
Post reply on HN