Wouldn'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…
Show HN: Transform your codebase into a single Markdown doc for feeding into AI
21–30 of 172 posts
Re: Show HN: Transform your codebase into a single Markdown doc for feeding into AI
#22My codebase sitting at 4M lines: hold my spaghetti.
Not a replacement for full 4M lines but it might work for some tasks/prompts
Re: Show HN: Transform your codebase into a single Markdown doc for feeding into AI
#23Wouldn'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…
Re: Show HN: Transform your codebase into a single Markdown doc for feeding into AI
#24Pretty big flag that this isn't ready for primetime.
Re: Show HN: Transform your codebase into a single Markdown doc for feeding into AI
#25How does this compare to / differ from https://github.com/yamadashy/repomix ?
or https://github.com/azer/llmcat
Re: Show HN: Transform your codebase into a single Markdown doc for feeding into AI
#26Re: Show HN: Transform your codebase into a single Markdown doc for feeding into AI
#27Re: Show HN: Transform your codebase into a single Markdown doc for feeding into AI
#28Re: Show HN: Transform your codebase into a single Markdown doc for feeding into AI
#29It'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 found that the only real limitation, at least in my experiment, was a lack of decent editor support. I use vim so this wasn't really much of an issue for me with many great ways to navigate a file, and a combination of vertical and horizontal splits on a large screen, but when I opened it up in other "modern" editors the ergonomics fell apart quite a bit.
I think the biggest downside was re-using variable names between large scopes occasionally made it hard to find the reference I wanted (E.g. i, x, key, val), but again, better editor support allowing you to limit your search to within the current scope would help. Also easily mitigated with more verbose throwaway variable naming.