Agreed. It would be one thing if it was a regular bash project that got minified via a script or something, since at least you could tell what it's doing.
This is just spaghetti. Maybe it's spaghetti that runs, but code of this quality does not engender confidence.
Kudos. I set on this exact journey a couple of days back and Pi is what I started reading for inspiration as well. I really can't stand the text boxes and the animations of the mainstream harnesses.
I love it. I think I'm going to have fun with this and possibly learn a bit, too. I'm pondering a container based dev environment at the moment and might throw it in with busybox and see how far I get :)
Could you post the initial 6KB version? I'd love to have a version that I can actually read and understand. I don't care if it's 2K LOC.
Really like the looks of it, but minifying the code to achieve the “400 lines” marketing gimmick is a huge turn-off.
It’s also a security nightmare, and ensures it remains 100% vibe coded. Would rather have a readable source with an honest line count.
Agreed. It would be one thing if it was a regular bash project that got minified via a script or something, since at least you could tell what it's doing.
This is just spaghetti. Maybe it's spaghetti that runs, but code of this quality does not engender confidence.
I think it's fine that it's minified, code-golf style, but yes I agree that this would be much more convincing and useful with an unminified source.
Isn’t unwrapping and commenting just one prompt away?
Assuming the agent doesn't forget or misinterpret anything.
It would be much better to just have a deterministic minification script.
I'm not even sure why it stopped at 500 line limit. If it's just a shell script then why not make it one line?
I love this. This is the grown-up brother of my one-liner bash+python at
https://github.com/kkovacs/kkrc/blob/ecff1f65d5ccfa24d5f6695...
:)
why the LOC limit? just because?
Does it work in just-bash?
https://github.com/vercel-labs/just-bash/blob/main/packages/...
Kudos. I set on this exact journey a couple of days back and Pi is what I started reading for inspiration as well. I really can't stand the text boxes and the animations of the mainstream harnesses.
I'd love to learn how to build something like this, but unfortunately the code is unreadable.
If author could write a heavily commented version that would be amazing.
your 500 LOC requirement has made this thing completely and unnecessarily inscrutable and unreadable.
Pass.
No kidding https://github.com/NahimNasser/pu/blob/main/pu.sh
Interested in something like this if the code can be more readable, it would be interesting to see it in languages like lua etc. too in future.
I love it. I think I'm going to have fun with this and possibly learn a bit, too. I'm pondering a container based dev environment at the moment and might throw it in with busybox and see how far I get :)