I know it’s popular to dunk on the normies, but having package install instructions or a small actions cron job to build binaries and put them in a releases tab should be advocated for more often. It’s really easy to do and is a nice convenience that many will appreciate
if only there was some sort of file, for you to read, that told you how to install and use a program. Maybe we should name it something obvious, so people know to read it...
I’m a developer. I have no problem building software from source. But ffs, people, please just produce release artefacts… Sometimes I don’t have my machine on hand with a build environment set up and I need to quickly grab the binary to help someone.
When you’re short on time and you remember that there is a tool that can solve all your problems right now, the last thing you want to read is “here is how you build it”.
The number of times I’ve opened a page and checked the readme only for it to be a summary/sales pitch of the project followed by patch notes and absolutely nothing else…
Yeah and we should all name it the same thing for everything that someone might download, so when they get put in the same directory all the files get combined to inform about everything that's in that directory (I presume)
No you are right. That mentality is why so many people in tech complain they're not appreciated or seen only as a cost. The idea that having a Readme file with build instructions is all anyone needs or that installation instructions are for losers is why so many people in tech are stuck or sidelined
yeah sure, i also expect the car seller to give me a full on course for my drivers license instead of expecting me to know the basics. maybe he also explains me, how to open a standard car door and how to sit down.
Lol. No. Not the salesman. But i do expect the care to come with an instruction manual that tells me the meaning of every switch, indicator light and toggle. You know, like the 200 page booklet that comes with every new car.
You are suggesting delivering a car with no more instructions than how to start it
thats a user manual and i agree on that, but thats not, as far as i understand, the topic here. i understand it as "your readme for other devs should explain in detail how to download a compiler, how to instruct the compiler to compile the source, how git works, what a commit is etc." if someone who wants to work on source code doesnt know what a compiler is, then that person should first learn the basics, instead of trying to download a repo and expecting it to work like an installer thats made for the end user
If you actually want people to use your stuff, building from source should only be offered as an option. Have your merges to main automatically build distributables and include them on your releases page.
Lots of devs literally do not use Git tags to version their own software on Git, asking them to use their free hosting platform's free CI to freely host their releases is asking a lot
Been a professional SWE for nearly 2 decades years and frankly I still struggle sometimes to find my way around Github and most installation documentation. Devs have always been really bad at this.
As most of the devs know that downloading random binaries from the internet is considered unsafe, the loss of reputation when doing that without a proper distribution channel is probably not a wise addition to your resume.
for some an OCI container on a container registry suffices, for other target systems/software a tar.gz in a community repo suffices, another uses it via the AUR and another wants a deb. don't forget about the different processor architectures.
if you are researching distribution of software you'll find out that there are countless ways and targets for that.
if you provide one and your software is popular you'll run out of time just maintaining a bunch of them.
that's why usually (depending on the software) the devs chose 1-2 major distribution ways and stick to them.
A download button is as of safety and maintainability the very least they would offer.
adding to this, nobody should even have to see the releases tab. Just use a URL shortener to get a short URL to the <latest> binary direct download. All anyone ever sees is the short URL, clicking which starts the download (might be a bit tricky with non-universal executables).
Nobody needs to know you're using GitHub or the releases tab. If you switch the distribution provider, the users don't even have to know the new one.
Trusting short URLs to download executables is a terrible idea. I thought I was on the circlejerk sub for a minute.
The reason many devs won't provide builds for every platform is because they don't want the hassle of code signing and dealing with supporting the installers. Especially if it's for an OS they don't use.
Open source is self serve pretty much. Everyone is entitled to contribute, maintainers are entitled to their own priorities.
Downloading stuff off any distribution requires a certain level of trust.
If you want the general populace and not just devs to use your work, advertising one click downloads might just avoid the friction from users as seen in the OP.
If the maintainers have priorities that are not aligned with end users, maybe don't advertise on instagram (again, see OP).
Assuming you're a non-dev, why would the binary on the releases page be any more trustworthy?
Because especially tech illiterate people should be wary of url shortened links because of how often they are used for causing harm. And even looking at it outside of reinforcing the "sane default" of not clicking on shortened links, it is still one extra layer of trust you need which is unnecessary.
Being wary and reducing friction can't go together.
The OOP wants reduced friction, and judging by the likes, so do hundreds of other people that just want a link. They're willing to extend their trust, but lament the devs having no solution for them. My solution addresses them.
If they were wary, they'd probably search for and read the source, if not build from it and not trust any distribution at all. It's not my intent to recommend an approach for the wary.
Honestly, right now it's much much easier to run anything from GitHub without having to waste like 6 hours. If you don't care about reading readme and debugging most of the time you can just point Claude on it and you'll have a working app in 5 minutes and it'll answer any question in an instant rather than scrolling through the obscure documentation for 30 minutes
Hell, I'm a developer and I still do hate that. Thank god AI exists, so AI can just build it for me or explain me what to do. Even as a dev I dont know every framework out there and what it takes to run it.
I've seen enough that do use it as their distribution platform. If there's any professionalism at all, a repo for a standalone product will have a link to their distribution site, or a link to their release page on the repo. It's there, or it's going to need a pip install (or equivalent), those are the two choices.
You do as soon as you go on the page? Right on the side bar it says the number of release, the last released version if there is one and when.
End users doo need a big green download button though, putting it in the read me is probably not obvious enough.
And I can see GitHub not wanting it to make it easier to stop people from downloading malware, but most projects that are just malware just put a big link on the read me, have no root level files so there's no need to scroll, and don't use the releases feature because GitHub scans that for malware. So, I guess maybe they could benefit from making the download release button bigger... Idk
I really thought it'd be the top comment, thw realization that it'll become an inside joke for an old generation in the future now scares me just a bit.
I feel like a better analogy is that Home Depot is like coding yourself, IKEA is like downloading and executing someone else's code, and furniture stores where you buy the thing fully assembled is like downloading software from the app store.
Home depot is where you'd get tools like saw, scales, nails, hammer, wood sheets, etc. and go on to build everything from literal scratch.
As someone else pointed IKEA is not the perfect analogy either but in there you can assemble your furniture although all of the pieces are pre cut and everything. Ikea + a white glove service is likely what a single installer or app store installation would look like.
I mean it is true tho, Lots of open source projects send you straight to github if you click download, like please devs stop doing this, normal people cant tell the difference between x32 and x64, reditecting normies to the releases page is not useful
normal people cant tell the difference between x32 and x64
That's a reason why not to release binaries directly. Either they can't find a .exe to click and give up, or they find a .exe to click and then complain why the x64 build does not run on their aarch64 chip. Or they know they need a aarch64 build and then complain about none being present / offered. Not even offering an release is usually less effort and complains than setting up a build pipeline for Windows/Linux/Mac on x32/x64/aarch32/aarch64/ppc/...
-> Not every hobby programmer has the time and capacity for doing release binaries
If they’re for end users then there should be a binary release on a dedicated distribution platform, otherwise they don’t really care about delivering it to non-technical users 🤷
You could also just link to GitHub. Instead of sending the user to the release page, make the download button just jump immediately to the asset so it's downloaded immediately.
Below you can have a "Show all downloads" button that redirects to the release page.
Putting the link to the releases at the top of the page would save a lot of the struggles. It is hard to find on the side if it’s your first time using the site. There’s enough projects that only have their releases on GitHub, so a lot of non devs do need to end up there
I mean, the thing about open source software is a lot of it is hobbyists. It's not "buy my thing at this warehouse" it's more "I made this thing for fun, it's over here if you wanna play with it too, idk. You do you though"
That doesn't mean you can't spend extra 30 minutes on your open source hobby project to set up a release pipeline and put a direct download link nice and visible into the readme
I'm talking about projects that you intend for people to actually use, of course no one is setting up a deploy pipeline for every random gh repo they make
I mean, fair enough. My point is, if someone is doing something as a hobby, it's not surprising that they focus on the fun parts and neglect the tedious parts.
I have random shit on github that's public but that's mostly so I can toss my github on my resume, lol. There are a few things I care about ease of access; mostly games because I like making games. In those cases, proper builds get tossed onto Itch. Not everything is something I care about.
Yes but no one is trying to download and use random github repos and then complain about it. People complain about actually useful projects using github as their release platform and not providing a more convenient way to download them.
Since it's GitHub and not a typically paid hosting repository, isn't it more "my item is available at this warehouse" than "buy my item at this warehouse"?
It's nice when there's simplified instructions, there's absolutely been projects I haven't been able to use or even work to improve due to documentation issues, but ultimately as long as all their license requirements are fulfilled they aren't obligated to do the equivalent of having an express checkout lane at the end of the warehouse aisle for the customer that doesn't want to have to go through the main exit.
All I'm saying is that if you advertise that the thing you made is available somewhere and it's annoying to get from there, then people are going to be annoyed.
But who said they were advertising? People will google because they need some obscure thing, end up on a GitHub repo or snippet where someone braindumped a script that they once wrote and thought could potentially be useful for someone else, and then people will complain "it doesn't come with a download button".
Why are we enforcing height requirements on software that is designed to be used by the general public in the first place? Sure I get not compiling binaries and whatnot if the expected audience is fellow developers/programmers, but making something for the general public to use and also making them take 1-3 hours of their day to setup a dev environment just so they can compile your code is pretty annoying. And then being coy/proud about it to the point where you’re referring to it like a height requirement is even worse
Just because it publicly available does not mean it's designed to be used by the general public. It's publicly available to make it easier for other qualified individuals to use it.
"designed to be used by the general public in the first place"
Who said it was? A recent example of something I was working with is the Avrae discord bot. The bot itself is for general use, but I don't blame them for the process for compiling and hosting your own instance of it being less easily accessible.
Sharing a link to a repo is promotion. Are you marketing to fellow devs who don't mind the challenge, or to normies who just want to click the button and play your game?
I came across https://yatko.app/ once, dev was promoting it as something they just built, and I now use it whenever I want to recommend something that's only on Github.
This is such a wild thread because I never knew this many people in a programming subreddit are sitting here moralizing about putting a download button in GitHub of all places.
Maybe I just have different experiences, but why do you think devs who are making code for free have any obligation cater to random people downloading their repo? Like obviously it would be nice and if they want you to use their software, then they have an incentive to make it easier for you to do so.
But like, spend 10 minutes reading and running some commands for a dev that likely spent months of their life making this for you for free. It won't hurt you
I think it’s rooted in the fact that each side thinks their expectations are super reasonable. Non-technical people think it’s no effort at all to set up a CI/CD pipeline or code up a website for your download link, while technical folk think it takes 10 minutes to learn how to clone, compile and run a software.
I remember struggling with GitHub when I was younger and feeling that it was super unintuitive but now I know what GitHub actually is meant for.
You're not wrong, I was baffled by the idea of following GitHub docs, but also genuinely some documentation is "open command prompt at folder and type these commands" and it works.
I understand how complicated it looks, but I don't think advocating for it to be even more dumbed down, especially when learning how is the easiest it's ever been in history.
I am not advocating for shitty documentation or being careless about it, just don't think most popular repos aren't too complicated for the layman
In my experience a lot of programmers never intend their hobby projects to even reach the eyes of non-technical folk in the first place. Often hobby software, if it was to be versioned at all, would be versioned as pre-v1.0, and that's for a good reason: their software still has so many sharp edges that it's probably not "fit for purpose" as-is to anyone other than them, and really is only useful insofar as the person cloning the repo is enough of a programmer themselves to know how to take their code and hack it into solving their problem as well.
Less of a product, more of a jalopy sitting in someone's front yard that they're willing to sell you as-is under the expectation that you'll tow it to your garage and "see what you can do" with it from there.
Well then it's possible the software isn't for you!
It will take the layman less time to learn how to run a couple couple commands on the terminal than for a dev to have a button to press that does it all for you.
The reason for this is terminal commands tend to stay the same between versions, devices and even sometimes OS's but devs almost always have a OS section if their software supports os.
If all you want is to download something and have it work, then you should probably pay for software. But I promise you spending 5 limits learning how to paste commands in a command line will open up a whole new world for you
If the dev is willing to spend months working on it, surely they are willing to spend a measly 10 minutes themselves to make a build. Probably a lot less time, since the dev should know the software better than some rando does.
The point of software is, of course, to use computers to reduce the amount of time humans do the same task over and over again. If the dev spending an extra 10 minutes saves every user 10 minutes that's an amazing ratio.
Repositories don't always hold production ready code.
this is a tool, not a program
there's more setup the user needs to do to use it
machine specific requirements.
the framework and language are not designed for executables
the user is intended to chose their own way to package/unpackage it
The fact you aren't aware of this is totally fine, if a dev wants layman to use their software, they should make it accesible. Sure. But if it isn't I feel like it's kinda wild to imply a dev is being lazy because you don't understand why they set this up this way.
If we say "install these libraries" then we don't have to write documentation for every single type of build, distribution, version, or what not of the project. Because devs aren't tech support. If you want to use their software then why don't you put in the 10 minutes or read the documention?
I promise you that the average layman that is looking at software on GitHub can figure out how to 'pip install' a library faster than I figure out how to turn the code I have into an executable.
I get that you're not familiar with how a lot of it works, but you're coming into a food hall where the ingredients have been laid out for you for free and you're complaining the volunteer isn't making your sandwich for you.
And if you find yourself unable to figure out how to lockpick your way in, maybe it wasn't intended for the layman
After reading this, I’m realizing that everyone has their own way of interpreting this and it’s very interesting. Of course, if you weren’t planning on sharing your program with anyone who isn’t a developer or if your code boils down to being a python file, then that’s whatever. While it’s a nice thing to do (assuming it makes sense for your program), you shouldn’t have to go that far out of the way and make/package something like that as an exe or make a GUI for it and whatnot.
But if your project has it be compiled like a C or Rust project… you really should have precompiled binaries for people to use (assuming it’s not like a library or something). I’m not saying that you need to make your project compatible with every OS, or code sign it, or do anything else that would take a ton of time. I’m just saying that you could very easily make or copy/paste a 10-20 line GitHub action yaml to run the compilation commands in your readme and put them in a release. It doesn’t require that much work (20 minutes at most) and the gain from it is immense
You originally specified in this hypothetical that it would only be ten minutes for a random unfamiliar end user to read docs, run some commands and get it working.
Your responses immediately pivot to it actually not being a ten minute job, and potentially being a tremendous pain in the ass to get this code to function, including it being not production ready or requiring machine-specific implementation details.
Heck, I guarantee you the average Joe is not setting up a functional python environment in ten minutes. Anything that needs a pip install this or that is already off the table in the hypthetical you created.
That's assuming it is in fact, production software and not, for example, a code library, a dev tool or a component for greater systems.
Again, github is a code repository, not a distribution platform. If you want to distribute software, you got to a distribution platform. The entire code for Blender is on github, but I guarantee you no one is expecting casual users to download from there instead of the main site.
Sometimes the point of software is to make it, whether for fun or as an exercise.
GitHub is commonly used as a distribution platform
Sure, and it's mostly used to hold repositories. It's sometimes used for media distribution too, do you want it to argue it should have a recommended video page like YouTube? Why kind of logic is this?
People commonly store menories on Instagram or Facebook, so Facebook should have the option to order professional prints from their website
People commonly mod their game so that they can use God items, so really developers should just get rid of health in general.
People commonly use chopsticks to stir their food while cooking, so chopsticks should all come with a rubber grip
I genuinely don't understand coming onto a website that has a specific purpose to complain that the free software someone is creating and allowing you to use (for free) doesn't have a one-click 'do everything for me' button.
Firstly, what, pray tell, is the main thing github does? Because it's not distribution. It is, again, a code repository first that can do some distribution on the side.
Secondly, it really isn't used as one often. Most of the time when I'm downloading something off of github it's because the actual avenues for doing so are broken for one reason or another. I can count one hand the amount of times I've actually had to download software from github that wasn't explicitly for dev reasons.
Because it's not distribution. It is, again, a code repository first that can do some distribution on the side.
It's explicitly intended for distribution, the code is being shared with the public. That is why the code is available online for anyone to download, and not dolely locally.
The sharing of code is not the same as distribution of software, and someone who doesn't understand git enough to know how to clone a repo usually has very little reason to do so.
You don't understand open source philosophy, the goal is not distribution it's collaboration, sharing, transparency, and freedom.
The layout of github is mainly focused on the first two. If that's an issue for you pick another platform like SourceForge that is explicitly about sharing and distribution.
If someone wants to distribute their code efficiently, they should make a build. And then make that build available on a website dedicated to distributing the software, which is not going to be github, because that's not what guthub is for.
Yeah I have no fucking clue how to download shit from github at least half the time, it's ridiculous that's there's very little consistency to the website or good directions on what to do most of the time.
The most popular OSS is often hosted on download mirrors and package managers. Most of the things I've had to use github for has been neovim addons, terminal emulators, dotfiles, and everything else some regular user wouldn't want or need. If you're on github to begin with, it's reasonable to expect you to check the README and/or releases section.
OSS isn't unpopular because people can't figure out github, it's unpopular because people primarily use Windows on pre-built computers, and use industry-standard tools. A small streamer might use Kdenlive, OBS, and Audacity as their toolchain since they're on a budget, but Joe Schmoe who works in advertising is gonna use the premium Adobe suite his boss gives him.
Lots of FOSS has a dedicated, user friendly website where you can download the software. Any piece of software that you want people to be using on a large scale should have a website, precisely because large numbers of people don't know how to navigate github.
This is why AI will win. An AI agent will download the code and compile it for you and give you the damn .exe file. People want convenience and ai provides it.
My experience with readmes has been good so far, usually installation is just clone, and do cmake or similar and thats it. Usually my problems start with my end, me using an older version of gcc for example and not being able to build. Besides that no other problems
Git hub hosts source code so multiple developers can share an in dev environment, this is the space for developers.
Git hub can optionally also host milestone releases and compiled deployments in a separate section, this is the space for non developer users.
The second space is optional and often slightly hidden in that it is not the first high relevance result on the search engine so it is a point of great frustration when people are like you don't need to be tech savy just use 'Tool X' and then do nothing to direct the user to the 'Tool X' quick all in one download release page so instead the user ends up at "Tool X' indev source that has a five page long read me on how you need to separately download and install five prerequisites just to compile the source properly.
There are plenty of projects where there is a link to the compiled release version that is nicely packaged. So, Github CAN be a distribution platform. But yeah, it has been my experience since the 80s that most devs do love being obtuse. I'd say that most times it's just that they have no idea they can put a compiled release version up there, or they refuse to, or it's not that kind of project. If you CAN distribute compiled binaries, you should.
1.0k
u/Jediweirdo 5d ago
I know it’s popular to dunk on the normies, but having package install instructions or a small actions cron job to build binaries and put them in a releases tab should be advocated for more often. It’s really easy to do and is a nice convenience that many will appreciate
686
u/Alacritous13 5d ago
I've seen enough that do use it as their distribution platform. If there's any professionalism at all, a repo for a standalone product will have a link to their distribution site, or a link to their release page on the repo. It's there, or it's going to need a pip install (or equivalent), those are the two choices.
262
u/queen-adreena 5d ago •
Smelly nerds!
43
u/knucklehead_whizkid 5d ago
Github is like Home depot where you get everything to build the furniture yourself.
IKEA (or app store or whatever else sorry I didn't think this through) is where you go to get your furniture
124
u/Literally-in-1984 5d ago
I mean it is true tho, Lots of open source projects send you straight to github if you click download, like please devs stop doing this, normal people cant tell the difference between x32 and x64, reditecting normies to the releases page is not useful
30
u/Marsrover112 5d ago
Yeah any time there isnt a clear way to use software off github I just assume its way too complicated for my engineer brain and just leave it alone
33
u/Puzzleheaded-Weird66 5d ago
the releases panel is tiny, and some don't even have releases, completely valid sentiment
10
u/1Maple 5d ago
Putting the link to the releases at the top of the page would save a lot of the struggles. It is hard to find on the side if it’s your first time using the site. There’s enough projects that only have their releases on GitHub, so a lot of non devs do need to end up there
102
u/alxtrimpe 5d ago
Staring at a warehouse wondering why it doesn't have the shopping experience of a retail storefront
12
u/adzo101 5d ago
Not buying shit from the grocery store but it's just because I'm too stupid to find the ready-made food every time.
"The grocery store is not a restaurant it is a place to purchase ingredients"
6
u/Mundon 5d ago
RustDesk uses it as the codebase and a distribution platform in a releases folder for each operating system/architecture.
14
u/Dev-in-the-Bm 5d ago
I came across https://yatko.app/ once, dev was promoting it as something they just built, and I now use it whenever I want to recommend something that's only on Github.
25
u/BadgerwithaPickaxe 5d ago
This is such a wild thread because I never knew this many people in a programming subreddit are sitting here moralizing about putting a download button in GitHub of all places.
Maybe I just have different experiences, but why do you think devs who are making code for free have any obligation cater to random people downloading their repo? Like obviously it would be nice and if they want you to use their software, then they have an incentive to make it easier for you to do so.
But like, spend 10 minutes reading and running some commands for a dev that likely spent months of their life making this for you for free. It won't hurt you
3
u/hashcube_dev 5d ago
something something give me the exe
2
u/XxDarkSasuke69xX 5d ago
Maybe we're obtuse and hostile because of that
2
u/austin101123 5d ago
Yeah I have no fucking clue how to download shit from github at least half the time, it's ridiculous that's there's very little consistency to the website or good directions on what to do most of the time.
5
u/lizenzblue_ 5d ago
"github is not a distribution platform" and then crying that nobody uses open source software. pick one lol
3
u/budapest_god 5d ago
My nerd comeback would be something along the lines of "then why are so many devs distributing their products on not a distribution platform?"
3
u/Shot_in_the_dark777 5d ago
This is why AI will win. An AI agent will download the code and compile it for you and give you the damn .exe file. People want convenience and ai provides it.
2
u/smulfragPL 5d ago
Ive seen github used as arxiv
2
u/JoeRogan016 5d ago
As long as you have a decent readme I'm good
1
u/evk6713 5d ago
For Android apps, Obtainium is the way to go
1
u/Wirde 5d ago
Ah, another classic case of being a Phonfo.
Source: https://github.com/sherlock-project/sherlock/issues/2011
1
u/TheAlphaAndTheAmigo 5d ago
It's always funny when the strawman shows up
1
u/ZLPERSON 5d ago
Plot twist: Many githubs double as a distribution platform
1
u/KevinJRussell 5d ago
He's got a point tbh
1
u/winter-ocean 3d ago
I don't know who I'm supposed to agree with
1
u/Dillenger69 8h ago
There are plenty of projects where there is a link to the compiled release version that is nicely packaged. So, Github CAN be a distribution platform. But yeah, it has been my experience since the 80s that most devs do love being obtuse. I'd say that most times it's just that they have no idea they can put a compiled release version up there, or they refuse to, or it's not that kind of project. If you CAN distribute compiled binaries, you should.
0
u/Global-Tune5539 5d ago
I just want to press a button it should just work.
48
u/heesell 5d ago
JUST GIVE ME AN EXE SMELLY NERDS 🗣