A new tool like this comes out every week, and that's great! But I think it's fair to ask how this compares to popular ones like RepoMix? Anyone keeping an eye on this space will want to know why this is different from what's already out there and being used.
Show HN: Transform your codebase into a single Markdown doc for feeding into AI
41–50 of 172 posts
Re: Show HN: Transform your codebase into a single Markdown doc for feeding into AI
#42 find . -type f -name '*.py' -exec sh -c 'echo "# $1"; cat "$1"; echo ""' _ {} \; | pbcopyRe: Show HN: Transform your codebase into a single Markdown doc for feeding into AI
#43(unless the reason you're giving AI the code is that you don't have any docs for either humans or machines)
Re: Show HN: Transform your codebase into a single Markdown doc for feeding into AI
#44As a note, CodeWeaver might be a confusing name, as CodeWeavers (the Wine development company) exists since 1996... ( https://en.wikipedia.org/wiki/CodeWeavers )
It's not mentioned on the page but is it using [0] in the background? Edit -> It's a Go program so I guess not.
Re: Show HN: Transform your codebase into a single Markdown doc for feeding into AI
#45Interesting. I've been converting Jupyter notebooks into markdown for the same purpose. Am considering making a custom tool.
Re: Show HN: Transform your codebase into a single Markdown doc for feeding into AI
#46Somewhat 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…
Re: Show HN: Transform your codebase into a single Markdown doc for feeding into AI
#47Wouldn'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…
In Emacs I’ve had good experience with gptel as well but I prefer aider for the coding workflow
Re: Show HN: Transform your codebase into a single Markdown doc for feeding into AI
#48Re: Show HN: Transform your codebase into a single Markdown doc for feeding into AI
#49https://aider.chat/docs/usage/copypaste.html
and with /paste you can apply the changes.
Re: Show HN: Transform your codebase into a single Markdown doc for feeding into AI
#50Somewhat 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…
It’s easy to switch to files by name with a few keystrokes. Files are names to group things I’m looking for.
I would much rather do that than try to search through a 7,000 line file for what I need.
> I feel like this set up could integrate really well w/ AI models.
Massive files or too many files break AI models. Grouping functionality into smaller files and including only relevant files is key. The file and folder names can be hints about where to find the right files to include.