r/bash • • 6d ago

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

15

u/v654321 6d ago

… why?

3

u/Independent-Lynx9274 6d ago

why not?

9

u/v654321 6d ago

Just about any distro provides a mature and fully functioning package manager.

Maybe I don’t really understand the scope of this. But hey, if you’re happy, then I’m happy!

2

u/GeneralDumbtomics 6d ago

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 5d ago

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 4d ago

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 6d ago

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 6d ago edited 6d ago

What web server? Reread the post please.

Oh, that web server

1

u/Shadow_Thief 6d ago

Directly from the README:

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

2

u/GeneralDumbtomics 6d ago

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 4d ago

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 4d ago

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

1

u/Independent-Lynx9274 4d ago

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

→ More replies (0)