Hacker News new | ask | show | jobs
by smcleod 695 days ago
Sounds a bit like code2prompt - https://github.com/mufeedvh/code2prompt
1 comments

Oh yeah, I hadn’t seen code2prompt - that’s indeed really similar. Prelude is a lot simpler though, just around 200 lines of bash in a single file, with only a single dependency (a CLI tool called tree). code2prompt, in contrast, requires you to install Rust and use Cargo.

Prelude is meant to really just do a single thing. I haven’t felt the need for things like templates, but I will give code2prompt a spin if I need more fancy things.