(no title)
statico | 11 months ago
#!/usr/bin/env llmscript
Count all files in the current directory and its subdirectories
Group them by file extension
Print a summary showing the count for each extension
Sort the results by count in descending order
So I made it a reality in an evening an it kinda works: https://github.com/statico/llmscriptIt generates a script and a test suite, and then it attempts to fix the script until it passes the tests.
It’s written in Go, but I hardly know Go, and used Cursor to generate most of it in a few hours. It works with Ollama and Claude, and I added support for OpenAI but haven’t tested it. You can also run it in Docker if you want to sandbox it.
skydhash|11 months ago
Because it’s more optimal to generate the script once, then run it everywhere, even on resources constrained devices.