Rendered at 21:39:11 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
Chu4eeno 2 hours ago [-]
You really should either just write it manually, or at least clean it up, 5kLOC of bash for POSTing and reading/writing files is a bit overkill (the code is extremely repetitive, verbose and just hard to follow).
kamaludu 55 minutes ago [-]
Yes, the code is big and bulky, i know.
But i am a single person, not a team.
I write simple and clear for me, because i need to mantain it.
Only Bash, zero dependencies, i like this.
thank you for your comment!
Tiberium 17 minutes ago [-]
> I write
You mean the LLM writes the code based on your instructions (that's fine, I guess, but 5KLOC is huge for this kind of script).
SupLockDef 14 minutes ago [-]
Why are you posting this if you know it is of poor quality then?
It's certainly not because you are proud of yourself, it has been generated.
So I genuinely wonder why?
eeertjoooo 40 minutes ago [-]
[flagged]
kamaludu 1 hours ago [-]
well, i write Bash4LLM to be:
. Portable - You need only: bash, coreutils, findutils, util-linux, gawk, curl, jq.
No Python (slow), no Node (heavy), no Golang (need too many binaries, one for each OS, hard to maintain for one single person like me).
. Single file - only one. I write many extras, but all are optional.
. Idempotent - you copy it where you want and go!
. Transparent - open the file and read.
. Extras for all, and all optional: help file, extra providers, improved session engine,
small GUI/CGI, etc...
Default (embedded) provider is Groq, because when I start the project, was the best free API service for AI.
I'm ready to answer to your question... with my terrible english...
Cristian (kamaludu)
dezgeg 15 minutes ago [-]
Have you actually tested the portability? MacOS ships an ancient bash version and neither mac or BSDs use GNU version of coreutils.
I'm also very doubtful performance of this would be faster than python, bash is very slow.
thank you for your comment!
You mean the LLM writes the code based on your instructions (that's fine, I guess, but 5KLOC is huge for this kind of script).
It's certainly not because you are proud of yourself, it has been generated.
So I genuinely wonder why?
. Portable - You need only: bash, coreutils, findutils, util-linux, gawk, curl, jq. No Python (slow), no Node (heavy), no Golang (need too many binaries, one for each OS, hard to maintain for one single person like me).
. Single file - only one. I write many extras, but all are optional.
. Idempotent - you copy it where you want and go!
. Transparent - open the file and read.
. Extras for all, and all optional: help file, extra providers, improved session engine, small GUI/CGI, etc...
Default (embedded) provider is Groq, because when I start the project, was the best free API service for AI.
I'm ready to answer to your question... with my terrible english...
Cristian (kamaludu)
I'm also very doubtful performance of this would be faster than python, bash is very slow.
We invited the user to rewrite it and I've moved that text to the top now, and re-upped the post so it gets its full time on /newest.