News for hackers. Stuff that matters.
Re:Show HN: GPT Repo Loader – load entire code repos into GP... by kanyethegreat on Friday March 17, 2023 @02:39AM (#35193965)
nice. general question: how many lines of code (at 120 char col len) could you send in one prompt?

also, the entire thing is literally 60 lines of python. sometimes i don't get what gets upvoted on HN anymore

Re:Show HN: GPT Repo Loader – load entire code repos into GP... by anonzzzies on Friday March 17, 2023 @02:51AM (#35194062)
> also, the entire thing is literally 60 lines of python.

Which is a lot as you can do this in one line of bash. And have in the past for other reasons.

Something like;

     find . -name "*.py" -exec cat {} + > output.txt
Re:Show HN: GPT Repo Loader – load entire code repos into GP... by cjbprime on Friday March 17, 2023 @03:30AM (#35194308)
Looks like it does this to me:

   for file in `git ls-files`; do echo $file; cat $file; echo; echo -------; done