this post was submitted on 04 Sep 2026
-19 points (12.0% liked)

Rust

8275 readers
11 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 3 years ago
MODERATORS
 

Wid: My package manager project

Hi guys,

This is my package manager project. Wid, as the name implies is a Windows Downloader. My project is open-source and GPL v3 license. You can figure out the rest by experimenting. You can learn the commands by entering the "wid" command into cmd.

Repo: https://github.com/ZeSystem-Inc/wid Releases: https://github.com/ZeSystem-Inc/wid/releases

all 40 comments
sorted by: hot top controversial new old
[–] Flipper@feddit.org 1 points 3 days ago (1 children)

Can you even take a project on github serious, if the author can't even use git?

[–] ZeSystem@programming.dev 1 points 3 days ago

I use git regularly. Commits, tags, and releases are all there. If you see something specific I'm doing wrong, feel free to point it out.

[–] CameronDev@programming.dev 5 points 5 days ago (2 children)

Some feedback:

let remote_url = "https://gist.githubusercontent.com/ZeSystem-Inc/20ddc1ac41d73c6033cee3b4a5ab1a85/raw";

You have effectively hardcoded the list of software you support, ideally you should be able to dynamically update the list, otherwise you have no way to revoke or update versions if required. And if its hardcoded, why bother network requesting for it, just build it into the binary. Would be a little larger binary, but even faster.

No dependency resolution – eliminates fragility.

Meaningless, there is no dependency resolution because thats done for you by the installers.

Written in Rust – memory-safe, zero-cost, ultra-fast.

The task you are doing is entirely IO bound, rusts performance is irrelevant.

[–] ZeSystem@programming.dev -1 points 5 days ago (2 children)

Actually, it's not static. I'm updating the package list.

[–] CameronDev@programming.dev 2 points 5 days ago (2 children)

Updating the gist gives a new URL no?

[–] ZeSystem@programming.dev -4 points 4 days ago (1 children)

I think you should use wid. I already use my own download tool. It's better than winget, choco, and ninite.

[–] CameronDev@programming.dev 9 points 4 days ago (1 children)

Better is a wild claim.

You're right, gists do seem to update with the static url, however that isnt necessarily better, it now means your gist is effectively under your control, and you can replace the installers with malware packed ones. Operating a software repository/installer requires that people trust you, and that is basically impossible for a no-name dev with no history.

You ideally should be doing checksum checks as well.

[–] ZeSystem@programming.dev -2 points 4 days ago (1 children)

I use official links and check versions.

[–] CameronDev@programming.dev 5 points 4 days ago (1 children)

Sure, you might today, but tomorrow? How can anyone trust that you wont start serving malicious links?

[–] ZeSystem@programming.dev 0 points 4 days ago (1 children)

It's open source. Anyone can audit it. You can create your own sources.list, but if you distribute it, you must open the code. Also, "wid info <package_name>" shows the exact URL it downloads from. Example: wid info llvm shows the official GitHub release link.

[–] CameronDev@programming.dev 3 points 4 days ago (1 children)

Thats how it works in theory, but in practice it comes down to trust more than anything else.

Its more effort to read and validate your list than it is to just go and download the installer directly. So you need people to trust you.

[–] ZeSystem@programming.dev 1 points 4 days ago

You're absolutely right. Trust is the real challenge, and I'm just starting to earn it. That's why I keep everything open and plan to add checksum verification. I know it takes time. I'm in it for the long run.

[–] ZeSystem@programming.dev -2 points 4 days ago

No, when I edit the gist, the URL doesn't change. There are 32 packages right now. I've just added Epic Games. I use GitHub Gist.

[–] one_old_coder@piefed.social 1 points 4 days ago (1 children)

it’s not static

It is static. Please stop, it's embarrassing.

[–] ZeSystem@programming.dev -1 points 4 days ago (1 children)

The URL is static. The content is dynamic because I update the Gist. That's how Gist works.

[–] one_old_coder@piefed.social 3 points 4 days ago* (last edited 4 days ago)

And it's a very bad and dangerous idea, I'll leave it as an exercice to the reader.

[–] ZeSystem@programming.dev -1 points 5 days ago (1 children)

Actually, I have a Gist for this that you can use. I update the Gist from time to time. In fact, the sources.list file can be customized specifically.

[–] exdor@programming.dev 1 points 4 days ago* (last edited 4 days ago) (1 children)

The point is that you pinned a specific commit instead of a branch like main

And yeah calling dependency resolution fragile is weird. It is not an actual package manager, just a download tool.

[–] ZeSystem@programming.dev -1 points 4 days ago

I already use tags for releases. The commit hash is for development. You can check the releases page.

[–] gravitas_deficiency@sh.itjust.works 10 points 5 days ago (1 children)

Stop spamming your vibe-coded project

[–] ZeSystem@programming.dev -3 points 5 days ago (2 children)
[–] gravitas_deficiency@sh.itjust.works 9 points 5 days ago (2 children)

Come on, dude. You deleted the original post you made about this in /c/rust because you got so many people calling you out specifically for this, and you are recreating the post here in an attempt to whitewash and misdirect. Stop it.

Seriously, that sort of shit should be a ban-able offense.

[–] Spyro@programming.dev 4 points 5 days ago

I removed the original post.

[–] ZeSystem@programming.dev -1 points 5 days ago

I didn't delete it. The admin removed it due to bot/LLM accusations. I spoke with the admin and resolved it. I'm not a bot. Since the original post was gone, I created a new one. I'm not hiding anything.

[–] one_old_coder@piefed.social 1 points 4 days ago (1 children)

The vibe-coded README. And everything else. Do you think we are stupid?

[–] ZeSystem@programming.dev -2 points 4 days ago (1 children)

I'm a markdown expert, and i type emojis using Win + . no AI needed.

[–] one_old_coder@piefed.social 1 points 4 days ago (1 children)

I’m a markdown expert

Holy shit, it's impressive. That's like 5 minutes of dedicated learning! Is there a PhD for this?

[–] ZeSystem@programming.dev -1 points 4 days ago (1 children)

No PhD, just Win + . and a lot of Rust. But thanks for noticing!

[–] one_old_coder@piefed.social 1 points 4 days ago (1 children)

Is the Rust vibe coded from your ass?

[–] ZeSystem@programming.dev 0 points 4 days ago

No, it's written with my hands and a lot of coffee. You can check the code. It's open

[–] TehPers@beehaw.org 6 points 5 days ago

I want to explain what this is to my kids. Can you describe it in a way that Dr. Seuss would?

[–] INeedMana@piefed.zip 3 points 5 days ago (3 children)

How could Wid help me type like this person does?

[–] ZeSystem@programming.dev -2 points 5 days ago

Wid is a package installer, not a writing assisant. It installs software on windows