Show HN: Rust CLI to generate LLM directory context (XML supported)
1 d4mr 2 4/25/2025, 2:00:04 AM github.com ↗
dead simple rust CLI to "rivet" together the structure and content of a project directory, with XML output supported.
I saw many new python and TS tools pop up that do this, only a matter of time until someone built it in rust :)
Comments (2)
badmonster · 6d ago
How do you see Riveter being used in larger-scale projects, especially those with complex directory structures and many files?
d4mr · 6d ago
riveter could potentially evolve to extract high-signal compressed context out of these files. Kind of like building a RAG but modernised for long context LLMs. The compessed context would ideally just be the API exposed from the file. All function/method signatures, and comments that describe what the function body does. not sure if I'll ever get around to doing this though. There's lots of tools that try to do this advanced stuff (I see you have built one yourself). I'd imagine having riveter as the "dumb" CLI version of these tools. Do one thing and do it well.