CodeWeaver is a command-line tool designed to weave your codebase into a single, easy-to-navigate Markdown document. It recursively scans a directory, generating a structured representation of your project's file hierarchy and embedding the content of each file within code blocks. This tool simplifies codebase sharing, documentation, and integration with AI/ML code analysis tools by providing a consolidated and readable Markdown output.
https://en.wikipedia.org/wiki/CodeWeavers
Trademark is active. It's an Ⓡ not just a ™, registered not just trademarked. To keep it, they have to demonstrate they defend it.
https://www.trademarkia.com/codeweavers-76546826
While this project drops the final "s", you don't get to launch an OS called "Window". The test is a fuzzy match based on likelihood of confusion.
This project is definitely going to get C&D'd.
Then `| pbcopy` to copy to clipboard and paste it into ChatGPT or similar.
You should use Aider/Cursor for proper indexing/intelligent codebase referencing
https://github.com/bodo-run/yek
Filename: demo.py
```python
```Deleted Comment
This will open a website that creates a copy of all the file contents of the repo (code, docs, ...) It's a great tool to use when using new/obscure code with LLMs in my opinion.
The UX is so just easy and great, change the URL from <https://github.com/user_name/repo_name> to <https://gitingest.com/user_name/repo_name>
//edit: fixed URLs
[1] https://www.codeweavers.com/
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.
[0] https://github.com/microsoft/markitdown
I wrote this library [1] and hope to add the fine-grained "reference resolution" utility to it at some point, which could make implementing such a tool a lot simpler.
[1]: https://github.com/aleclarson/ts-module-graph
https://aider.chat/docs/usage/copypaste.html
and with /paste you can apply the changes.
To add some more detail, aider has a mode/UX that is optimized for "copy and paste" coding with LLM web chats. The "big brain" LLM in the web chat does the hard work, and a cheap/local LLM works with aider to apply edits to your local files.
There's a little demo video in the link above that should give you the gist.