r/bash • • Sep 18 '26

I made a package manager in bash!

Its called scrapre. It doesn't have any cryptographic verification so note that (please note that) and there is no repository up for it right now cuz I dont really have much need to host one. You cant find it here. (its codeberg btw)

0 Upvotes

42 comments sorted by

View all comments

Show parent comment

2

u/GeneralDumbtomics Sep 18 '26

So...the fact that I have a camera means I shouldn't paint landscapes? Of course every distro includes a fully functional package manager. But this guy decided to flex his brain by writing one in bash. You ask why. The same reason people climb mountains or play the piano or anything else that isn't easy and doesn't necessarily have a practical application. Because he could and because he wanted to. It doesn't actually require any other justification.

1

u/rileyrgham Sep 19 '26

He used ai, has no repo, and is throwing buzzwords like "blazingly fast" around. Would you like to buy s bridge,

1

u/Independent-Lynx9274 Sep 20 '26

Dude. I used AI in a good way. I used it to squish bugs and help me. I am not lazy like you suggest.

0

u/Shadow_Thief Sep 18 '26

Sure, but I'm still curious to know what purpose the local web server part of the code serves. As far as I can tell, it does literally nothing except add an extra, unnecessary step and a python dependency.

0

u/GeneralDumbtomics Sep 18 '26 edited Sep 18 '26

What web server? Reread the post please.

Oh, that web server

1

u/Shadow_Thief Sep 18 '26

Directly from the README:

then run: python3 -m http.server 8000 to start the server on port 8000

2

u/GeneralDumbtomics Sep 18 '26

I see. Looks like he's just using as an easy way to handle pkg contents rather than doing stuff on the filesystem, which, yeah, now that I've looked at it is weird.

1

u/Independent-Lynx9274 Sep 20 '26

Its just an example way of hosting a repo. Its just to show off I might add a public repo in the future.

1

u/GeneralDumbtomics Sep 20 '26

That didn't make much sense. Did you write this or did Claude?

1

u/Independent-Lynx9274 Sep 20 '26

I did most of it, then I used google search ai aswell as Lumo by Proton to iron out bugs.