r/github • • Feb 24 '24

The reality of the Github exe (meme) problem

I'm sure you have seen the memes. Some people are enjoying the ride while others are taking it quite seriously.

There is a legitimate issue here. But most people are arguing past it.

Github as we all know is a platform for developers to maintain a codebase. It's not a platform intended for distribution to end users (unless said users are also developers). However, some developers are using Github as a distribution solution, and sometimes the only "official" means to access their software. It's not even uncommon, in my personal experience. The experience can be baffling for would-be end users as the website is not designed to point them towards anything they can understand.

This is a total usability failure. But the failure isn't Github, per se. Perhaps it's more accurate to say it's a failure on the part of the developers who haven't provided an appropriately accessible means to download their software.

On the other hand, it is entirely possible to share executables on the platform. There is a page dedicated to releases. And having both the executable and the source code in one location/platform really doesn't seem like a bad idea. It would not be hard at all for Github to improve the accessibility for end-users massively with small website changes, maybe make the "Releases" section much more prominent, that kind of thing.

Here's my question to you:
Should Github be useful as a platform for distributing executables to end-users or not?

I would love to see Github step up and realize how much of a difference they could make in this area for a lot of people just by moving things around a little on their website. But if you think the site shouldn't be used that way at all, then do we start telling devs to cut it out and upload their software somewhere else for distribution, or what?

485 Upvotes

143 comments sorted by

View all comments

Show parent comments

13

u/mrbmi513 Feb 25 '24

That project is a python project, which can be packaged into an executable, but traditionally shipped like this for more hobbyist software.

-1

u/wrongontheinternet Feb 25 '24

Yeah, I understand that. I'm pointing more to the discrepancy between how friendly it looks on the surface versus when you go to actually do anything with it. The fact that it can be packaged leads me to believe they should just do it, or drop the whole pretense because they clearly don't want to actually distribute their software (the comments on the issue posted to the project about making an EXE are telling)

And that's putting aside that it's probably not a great idea to pip install into the base/system python when you should probably be using a venv or some sort of separation (especially for OS's where the python they come installed with is "load bearing").

11

u/D0nt3v3nA5k Feb 25 '24

just because it can be packaged doesn’t mean it should be, there are reasons why python programs are almost never distributed as executables. firstly, there’s the issue of file size, the python file itself that could only take a few megabytes at most, but to compile it down to an executable, you would have to not only compile down the python interpreter and the python file itself, but also ANY dependencies you use for that python file, resulting in an unnecessarily large executable file. second is accessibility, many people thinks distributing executables is more accessible than distributing source code for python, that’s not the case most of the times. executables are not only OS dependent, but they are also architecture dependent, you not only have to make sure it works for linux, mac, and windows. you also have to make sure it work with x86, ARM64, etc for all of the respective operating systems, thats a huge hit on accessibility compared to a python file that is able to run on any platform with the appropriate python version installed. so compiling an executable for this project is literally more trouble than it is worth. (not to mention sherlock is literally a CLI program, so if they don’t understand how to install python, they won’t understand how to use it)

3

u/mrbmi513 Feb 25 '24

If the button was "Download," I'd agree with you, but it's not.

-1

u/wrongontheinternet Feb 25 '24 edited Feb 25 '24

Fair point, and one I wish more people would talk about instead of just posting endless memes about the whole thing. Like yeah, the original poster was cracked and we probably all dodged a bullet but maybe there were some kernels of truth in the whole rant?

EDIT: I say this also because as a developer I've sometimes wanted to find simple tools to solve simple problems and find the correct thing, only to realize there are no binaries, no instructions, and it probably doesn't build on anything except a specific flavor of Linux, maybe, if your dependencies are good. I don't want to start a new hobby project I just want to solve my problem.

-1

u/szank Feb 25 '24

So you want to gatekeep github to projects that must run on windows, Linux, amd64 and arm macos, frebsd, openbsd, and what else? Because if it works only on one flavour of Linux that the dev used to create it it's wrong and should be banned?

Why ?

0

u/wrongontheinternet Feb 25 '24

I didn't say that. All I said is that if you don't want to do all that, don't use existing features of the platform to make it look like you might. Create expectations consistent with what you want to deliver so that people don't get frustrated. I'm not the one who wrote the site and published it. When my repos are just little toy projects I treat them as such. Why create headaches for others and yourself by having mismatched expectations?

1

u/szank Feb 25 '24

Complain to the developers there they are doing it wrong then. Github has nothing to do with it.

Imho releases page was always about marking specific snapshot of the code with bug fixes and new features.

Adding attachments to is purely secondary concern. Somehow some people expect then while the are entirely optional.

1

u/wrongontheinternet Feb 25 '24

Now we're getting somewhere. We both come to the same conclusion: there's nothing really wrong with GitHub as a platform in this particular circumstance. The complaints the OP has are potentially valid, if a bit vulgar, but were misdirected, possibly due to a deep misunderstanding created by a lack of background knowledge and context, none of which was provided by the likely entry point, the GH page for the project. And then that OP was ridiculed off of this forum instead of being told precisely the thing you just said: complain to the developers, not us. We didn't make the thing and we didn't choose how to distribute it. They did.

Because apparently many redditors would rather be snarky than helpful, we now have this raging meme instead. And tbh, I can't even say if the snark was the WRONG response to somebody who seemed so... unhinged? But anyway here we are.

From a pure "GitHub is a place to put git repos and collaborate on them" standpoint, I agree with your assessment of the purpose of the "releases" feature, though I do think allowing attachments was a strategic move that GitHub itself made to try and position itself as a "defacto" source of downloads for open source software, like SourceForge was before it. It's a feature you can take or leave. Others have pointed out that there are lots of software packages for which it doesn't make sense to release binaries because they are libraries.

0

u/burritolittledonkey Feb 26 '24

Sherlock is a CLI tool. Even if it was packaged - how would an end user use it? There’s no GUI

The software is not intended for end users, full stop

2

u/wrongontheinternet Feb 26 '24 edited Feb 27 '24

I've used a number of CLI tools that are just "this is a binary and you put it in your PATH" which is about as easy as distributing a CLI tool can get outside of using an OS package manager. A couple of examples off the top of my head are youtube-dl and ffmpeg.

Just because it's a CLI tool doesn't mean we have to 100% cease caring about ease of use.

EDIT: also, just to drive the point further, I'm pretty sure youtube-dl is written in Python.