blek

joined 5 months ago
[–] blek@programming.dev 3 points 5 months ago

i wonder how much effort would it take to index all official documentation pages & stackoverflow, and push it into one big search engine

[–] blek@programming.dev 3 points 5 months ago

the guy who contributed to proprietary software

[–] blek@programming.dev 1 points 5 months ago

hey, an empty file is also a valid program. it does nothing. (like me :p)

[–] blek@programming.dev 3 points 5 months ago

thats not exactly the point of bshchk. the idea is to have it run on any platform, in a single bash script, just as amber does (the another project mentioned earlier)

[–] blek@programming.dev 2 points 5 months ago

its not exactly a complimentary functionality to shellcheck, it just uses it as a dependency

 

so, about a month ago i stumbled upon the duckduckgo ai chat feature and wrote an article about how private their APIs are, and a few weeks after, a CLI client.

the thing is in a pretty mature stage now (its not like there is a lot of work to be done there tbh)

its not super private, but it is "private enough". the only thing duckduckgo has is your IP, which is usually not much unless you are on a residential connection with a dedicated IP

34
submitted 5 months ago* (last edited 5 months ago) by blek@programming.dev to c/linux@programming.dev
 

https://bshchk.blek.codes/

this is a program that parses a bash file, collects all dependencies and then adds a snippet at the start of the file that would check if they are installed at the earliest point possible, to prevent situations where a program just fails in the middle of execution because some random dependency is not installed

i've originally made this to use it in another project, but might just as well share with y'all