Can you even take a project on github serious, if the author can't even use git?
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.
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.
Actually, it's not static. I'm updating the package list.
Updating the gist gives a new URL no?
I think you should use wid. I already use my own download tool. It's better than winget, choco, and ninite.
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.
I use official links and check versions.
Sure, you might today, but tomorrow? How can anyone trust that you wont start serving malicious links?
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.
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.
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.
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.
it’s not static
It is static. Please stop, it's embarrassing.
The URL is static. The content is dynamic because I update the Gist. That's how Gist works.
And it's a very bad and dangerous idea, I'll leave it as an exercice to the reader.
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.
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.
I already use tags for releases. The commit hash is for development. You can check the releases page.
Stop spamming your vibe-coded project
Where is the evidence?
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.
I removed the original post.
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.
The vibe-coded README. And everything else. Do you think we are stupid?
I'm a markdown expert, and i type emojis using Win + . no AI needed.
I’m a markdown expert
Holy shit, it's impressive. That's like 5 minutes of dedicated learning! Is there a PhD for this?
No PhD, just Win + . and a lot of Rust. But thanks for noticing!
Is the Rust vibe coded from your ass?
No, it's written with my hands and a lot of coffee. You can check the code. It's open
I want to explain what this is to my kids. Can you describe it in a way that Dr. Seuss would?
How could Wid help me type like this person does?
Wid is a package installer, not a writing assisant. It installs software on windows
Rust
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
Credits
- The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
