this post was submitted on 22 May 2025
104 points (94.1% liked)

Open Source

37142 readers
390 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

I created a script that always installs apps from their official source

https://github.com/Tsu-gu/appfetch/

It's a proof of concept of an idea I had a while ago. I dislike having to hunt down apps for my Linux machine when I want them from an official source. Some apps are packages as tarballs, some as .debs, some as install scripts that download a binary, some are flatpaks and snaps.

I created a yaml file with only verified apps from flathub and snapcraft, and added a few apps outside of them that I could think of.

The ultimate goal is the user just typing the names of what they want, and the script will just get it. They shouldn't waste time with picking the right source.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 week ago (1 children)

I think that using some "custom" package names for internal args is not the best choice.

Anyway, later I'll take a better look at it and probably contribute to it. Ty

[–] [email protected] 1 points 1 week ago (1 children)

Could you elaborate? I'm not the best programmer so I'm open to suggestions.

[–] [email protected] 1 points 1 week ago* (last edited 1 week ago) (1 children)

I saw that "version" and "update" are inside apps.yaml instead inside the program itself like "search". I see why version helps to be there which gets updated with the list, but the update link looks more like a quirk to be inside apps list. And it would make sense to distinguish program version and apps list version.

[–] [email protected] 2 points 1 week ago

That's a good point. I will also probably need a better update method than rm -rf-ing the files and replacing them with each update.