How does this compare to / differ from https://github.com/yamadashy/repomix ?
Show HN: Transform your codebase into a single Markdown doc for feeding into AI
61–70 of 172 posts
Re: Show HN: Transform your codebase into a single Markdown doc for feeding into AI
#62Re: Show HN: Transform your codebase into a single Markdown doc for feeding into AI
#63I made a similar tool in Golang, https://github.com/foresturquhart/grimoire . It tries to be a bit cleverer, by prioritising files that have had many commits, respecting .gitignore files, and excluding useless content like binaries or vector images.
Re: Show HN: Transform your codebase into a single Markdown doc for feeding into AI
#64Wouldn't it be wonderful to have a tool where you interact with AI interactively through the codebase via IDE / vim / emacs tree? Say, you open your codebase and start with prompts and AI+tool navigates to a function or a place where it needs to and modifies stuff while chatting to you about it? Or you jump to somewhere, highlight where you are to scope down the focus of it (while it still retains all of the code in…
This doesn't sound good to me, you end up with a large codebase that no human has actually laid eyes on. When you get a bug weird enough that you can't reason the LLM through it, then what? What if a bug is because of interactions between two systems, and you don't own one of them? What if there's an issue due to convoluted business process failures, that just end in a bug report like "my data is missing!"? I honestl…
Re: Show HN: Transform your codebase into a single Markdown doc for feeding into AI
#65I made a similar tool in Golang, https://github.com/foresturquhart/grimoire . It tries to be a bit cleverer, by prioritising files that have had many commits, respecting .gitignore files, and excluding useless content like binaries or vector images.
Re: Show HN: Transform your codebase into a single Markdown doc for feeding into AI
#66I use the following for feeding into AI find . -print -exec cat {} \; -exec echo \; Which will return for each file (and subfolders) the filename and then the content of the file. Then `| pbcopy` to copy to clipboard and paste it into ChatGPT or similar.
Filename: demo.py
```python
...python code here...
```Re: Show HN: Transform your codebase into a single Markdown doc for feeding into AI
#67I use the following for feeding into AI find . -print -exec cat {} \; -exec echo \; Which will return for each file (and subfolders) the filename and then the content of the file. Then `| pbcopy` to copy to clipboard and paste it into ChatGPT or similar.
Re: Show HN: Transform your codebase into a single Markdown doc for feeding into AI
#68I use the following for feeding into AI find . -print -exec cat {} \; -exec echo \; Which will return for each file (and subfolders) the filename and then the content of the file. Then `| pbcopy` to copy to clipboard and paste it into ChatGPT or similar.
I guess this only works for very small codebase?
You should use Aider/Cursor for proper indexing/intelligent codebase referencing
Re: Show HN: Transform your codebase into a single Markdown doc for feeding into AI
#69Re: Show HN: Transform your codebase into a single Markdown doc for feeding into AI
#70Somewhat related. I built an Elm app all in one file as an experiment and to see if I like it. It's a little over 7k lines and I'm occasionally adding more to it. It's actually pretty straightforward if you're in a language with lexical scoping, and it simplifies some things, like includes / cyclical, no modules, no hunting through files, etc. I feel like this set up could integrate really well w/ AI models. I've fou…