DEV Community

Cover image for Github Must Be a Free Platform
Milad Nekofar
Milad Nekofar

Posted on • Updated on

Github Must Be a Free Platform

Github was a free platform for everyone since many years ago, but it has decided to restrict Iranian accounts.
We believe living in a country is not a choice that you have, but being a developer and contributing to the open-source community is a choice.
Github has restricted us from our freedom to contribute and being part of the open-source ecosystem because we are living in Iran.

Github blocked our private repositories without warning us, and now we have no access to our codes.

People should not be judged based on their living country. Github might decide to restrict a government, but it should not ban its active and loyal users without any prior caution.

I think having a simple Github page is a fundamental right for users.
Don't make us leave the open-source community.

GitHub logo 1995parham / github-do-not-ban-us

GitHub do not ban us from open source world 🇮🇷

A Message to GitHub

GitSpo Mentions Drone (cloud)

English | 简体中文 | Español | Ελληνικά | Italiano | Русский | فارسی | Français | Deutsch | Հայերէն | Српски | العربية | Türkçe | Português do Brasil | Nederlands | 한국어 | 日本語 | नेपाल | 繁體中文

Attention! We are so thankful for your support. This repository always shows that people are all together against unfortunate happening around the world As GitHub revised some of the previous restrictions, we decided to reduce this repository's activity. Of course, it does not mean that we agree with the sanctions and the GitHub We will post a conclusion and explain more soon, please wait for that The campaign will be terminated Thursday 1 August 23:59 (Tehran Time GMT +4:30). After this time we won't merge any new PR. Once again thanks for your support and kindness Please wait for our final conclusion

alt text

Tip: You can use

Oldest comments (69)

Collapse
 
kungtotte profile image
Thomas Landin

The problem isn't that GitHub isn't free, the problem is that for some reason the open source community collectively decided that all development must occur on GitHub: a proprietary platform.

There are several alternatives to GitHub that you are able to self-host that would not be subject to US law (hosted out of countries that don't sanction Iran), and even though it might be too much for a solo developer to do on their own the open source community should band together and fund efforts to spin up GitLab/Gogs/Gitea/Sourcehut instances in places that aren't subject to these sanctions.

This issue will happen with any service hosted out of the US, it's the laws that are broken in this case. Not GitHub.

Collapse
 
prahladyeri profile image
Prahlad Yeri • Edited

Totally this. A website isn't even necessary for collaborative development, all you need is git software and a group email!

For issue tracking, you can use something like self-hosted bugzilla (or one of the several free instances out there). And for discussions, there are always things like mailing lists, forums, IRC, social networks, reddit, etc. That's how it used to be in the good old days. I don't understand why one even needs a code hosting facility.

Collapse
 
voanhcuoc profile image
Khoa Che • Edited

That's a step back, Github and Gitlab did lower the barrier of accessing and then getting started to contribute to open source.

The old days is not that good. Mailing lists solve the problem of group communication, but with a twisting mental model. In my opinion, email should just be for announcements, doing public communication by email is like writing embedded software in JS, it works, but not great. Another fuss, we can't modify email that has been sent, it let people think more before posting, but people will be more afraid of posting. Forum is just better for every communication.

Bugzilla is ugly. I think issue tracker should just be a git repo with hooks to enforce its integrity. Then we can have many front-ends for it (GUI, CLI, web).

Github and Gitlab glue things up, they work on integrations so we developer have better experience, that's why we use them

Thread Thread
 
kungtotte profile image
Thomas Landin

GitLab, Gogs, and Gitea are all self-hostable and offer the same tools that GitHub does, if it's the convenient packaging you're after.

Sourcehut can also be self-hosted but they promote a mailing list based workflow, which I think is less of a problem than you make it out to be but then we don't have to agree on this point either :) That's the beauty of FOSS, we're free to choose for ourselves.

Collapse
 
nekofar profile image
Milad Nekofar

In an ideal world, decentralization would be the best solution.
But as how as you know, GitHub is not a simple Git hosting these days.

Collapse
 
kungtotte profile image
Thomas Landin

All of the options I mentioned offer everything github does, and they're all open source too and you can self host them.

I know github isn't just git, but we don't need github to do exactly what we are doing today.

Thread Thread
 
knownasilya profile image
Ilya Radchenko

None of the solutions mentioned are decentralized. Git is decentralized but those services are not, even if self hosted. There are very early projects like codeonchain.network/ and others starting out that are.

Thread Thread
 
kungtotte profile image
Thomas Landin

Different instances of X can replicate between each other, so you're not siloing your development, and by decentralisation I was referring more to the fact that not all open source development has to happen on a single platform.

It's OK if some projects are on GitLab, some on Gitea, and others on Sourcehut.

True decentralisation can be a worthwhile goal down the road, but right now we can solve the problem using the tools we already have.

Thread Thread
 
knownasilya profile image
Ilya Radchenko

Then we agree 😄

Collapse
 
thefern profile image
Fernando B 🚀

I spin my own git server with raspberry pi and I also use gitea. Github has nothing to do with this restrictions they're merely following US laws they don't have a say in that. All US companies have to comply with trade restrictions. Whatever you do please do not host all your code in one single point of failure.

Collapse
 
prahladyeri profile image
Prahlad Yeri

The problem isn't with Microsoft acquiring Github, the problem started when Git became centralized in the form of Github! The more centralized a system is, the easier it is for authoritarians to control.

Collapse
 
maciek134 profile image
Maciej Sopyło • Edited

Git cannot be centralized by design. I don't get how people can host all of their code on some company's servers without a backup and blame it when something goes wrong due to politics. And you have to really try to not have a backup when using git.

Thread Thread
 
ltngames profile image
LTN Games

One problem on GitHubs side of things was the sudden suspensions without warning or notice. GitHub could've at least gave them a heads-up to backup they're current repositories before being suspended. It does not affect me but man I'd be some pissed if it was sudden and without notice.

Thread Thread
 
voanhcuoc profile image
Khoa Che • Edited

P/S: why @maciek134 's post don't have reply button but a 'thread' word in that position instead?

@maciek134 That's the problem of identity, our repos, our projects is identified by URLs control by these hosting services anyway.

A solution is having our URLs redirecting to those URLs. But I don't feel so good about it.

Collapse
 
thefern profile image
Fernando B 🚀

Git is a software anyone can host in any server. People choose github for repository hosting but that's not git.

Thread Thread
 
udiudi profile image
Udi

I think he meant that these days, when so many developers and projects are on GitHub, this is the place to be to take part of the community.

Collapse
 
akashkava profile image
Akash Kava

Tomorrow it can be any country, it’s time to get out of Github and get a really free alternative that is not subjected to US’s proprietary laws.

Collapse
 
maxart2501 profile image
Massimo Artizzu • Edited

There is already a bunch of countries and territories that are subject to such sanctions, not just Iran.

But the opposite also applies, it's GitHub that's blocked by other countries...

Collapse
 
thefern profile image
Fernando B 🚀

There's has always been a solution. Host your own git server.

Collapse
 
akashkava profile image
Akash Kava

Well collaboration does not work easily with own git server, integration with many other tools and it is as good as doing private development.

Thread Thread
 
thefern profile image
Fernando B 🚀

Gitea is the closest thing to github. Obviously you'll need to point your team to the server to collaborate but you won't be dealing with nonsense government bans on github. Is just a solution not a perfect one, but a solution nevertheless.

Collapse
 
yaser profile image
Yaser Al-Najjar

IMHO, the problem ain't in GitHub; it is in the US.

Collapse
 
maxart2501 profile image
Massimo Artizzu

Or maybe just a bunch of persons in the US, who happen to take these decisions.

Collapse
 
yaser profile image
Yaser Al-Najjar

They don't happen, they were elected 😬

Thread Thread
 
maxart2501 profile image
Massimo Artizzu

Fair enough... But still, they haven't been voted by the whole population. Far from that, actually.

Thread Thread
 
voanhcuoc profile image
Khoa Che

Even if they are voted by the whole population of US, why on earth should they have control over a world-wide community!

Thread Thread
 
maxart2501 profile image
Massimo Artizzu

Technically, they don't. They have control over US-based companies like Microsoft, in the sense companies have to abide by the laws that prevent them to do any kind of business with embargoed countries. GitHub happened to be in the line of fire.

It's a grim game of international politics and I don't want to dive into that. But, as I said, it's a two-way route, as GitHub has been often blocked over local censorship laws. Not to mention Twitter, Facebook, Whatsapp, Telegram, Youtube, etc.

I'm sure you're aware of that. The point is that the community is affected, but not out of options. As other mentioned, there are alternatives - although not as good, I'm afraid 😟

Collapse
 
oygen87 profile image
Eugen Cazacu • Edited

what other alternatives do the persian devs have besides Github?

Collapse
 
nekofar profile image
Milad Nekofar

Perhaps self-hosting, but as you know GitHub is not just a git hosting anymore. GitHub is the infrastructure of many things these days.🤷‍♂️

Collapse
 
kungtotte profile image
Thomas Landin

And that's the problem.

We shouldn't let it be part of our infrastructure, we should be building things to be platform agnostic.

Collapse
 
areahints profile image
Areahints • Edited

i remember not too long ago when freecodecamp changed something relating to content and @ben (the founder) and a lot of people made so much fuss that they reversed it, i hope we can see a similar rally here

the move really stinks tbh.

Collapse
 
gabgab2003 profile image
DownloadPizza

Yeah, no, not possible, this is out of MSs hand. This is the US government. The only way to fix this is that the US rolls back, or we do everything to hold the status quo until the new elections. I really wish this wasn't a political issue, but it is.

Collapse
 
nekofar profile image
Milad Nekofar • Edited

GitLab hosts on Google Cloud servers and, Google blocked access of Iranians IPs over Google Cloud servers since a couple of years ago.
Also as I mentioned before, GitHub centralized Open Source, and Software Development worlds these days, just think about all that services that depend on GitHub. Also, GitHub is the largest developers social network as we know.

Collapse
 
nekofar profile image
Milad Nekofar

The tragedy of being a Software Developer in Iran, and now add GitHub sanctions to the list.

shahinsorkh.ir/2019/07/20/how-is-i...

Collapse
 
syntaxseed profile image
SyntaxSeed (Sherri W)

Did GitHub obey this law BEFORE it was bought by Microsoft? Or is this a new thing?

And if not, what has changed that GitHub claims to now 'have' to obey this law?

Collapse
 
alexdavos profile image
Alex

I could be mistaken but I believe this sanction was only recently re-enacted after a treaty between the US and Iran was broken by the US.

Collapse
 
syntaxseed profile image
SyntaxSeed (Sherri W)

I wonder if other countries were being blocked before?

Collapse
 
itachiuchiha profile image
Itachi Uchiha

Maybe the next country is Turkey (My country). Because our government bought S-400 missiles from Russia. That explains why software must be free and open source.

Gitlab, BitBucket, and GitHub is a dependency today. Maybe you can't use Jira tomorrow.

Iranian or Cuban people, they didn't have a chance to choose their nationality. Even if they have a chance, freedom can't be disallowed.

Collapse
 
udiudi profile image
Udi

I think in general, as the population of the world, we should make an effort to be beyond the politics, and not let few leaders to define our relationships.

The global world allows us to connect to each other directly, and it's awful when this connection is restricted.

Collapse
 
itachiuchiha profile image
Itachi Uchiha

I agree with you completely. You might know, our governments always fighting. This shouldn't be restricted us. I don't know why this happens. We're just a group of human. Like the others.

I hope everything will be fine.

Collapse
 
mohammadne profile image
mohammadne

It is Shuthub than GitHub.
Also I restricted yesterday.

Collapse
 
mohammadne profile image
mohammadne

Focus that many alternatives restricted Iranians people, for example Gitlab and...

Collapse
 
dploeger profile image
Dennis Ploeger • Edited

Ah well, yup. That's a really bad thing. I'm sorry.

However, decentralization doesn't actually work. I saw the same arguments after Microsoft bought GitHub and everybody envisioned a proprietary disaster (which didn't come btw) and with WhatsApp being bought by Facebook and everybody tried to switch to Threema and the like.

Decentralization just doesn't offer the comfort and inclusiveness as a central platform like GitHub.

As sad as this may be.

So only a central platform on a full open source base without financial bounds led by a elected flock of people would be the only thing working.

You might see some problems in that statement. 😉

Collapse
 
kungtotte profile image
Thomas Landin

Decentralisation worked fine back when every project self-hosted their VCS/webpage/mailing list/bugtracker/build servers...

Collapse
 
dploeger profile image
Dennis Ploeger

I wouldn't call that "fine". It was just like that back in the days but platforms like GitHub really gave open source projects and the complete community a major lift imho by providing visibility, simplicity and a lot of features that made organizing the projects a lot better.

And do we really want to go back to Bugzilla and mailing lists? Brrrr! 😉

Thread Thread
 
kungtotte profile image
Thomas Landin

There are other bugtrackers than bugzilla, and there are three providers of GitHub-like tooling that you can self-host anywhere (GitLab, Gogs, Gitea). No need to involve yourself with mailing lists if it's such a bother.

We've put too many eggs in the GitHub basket and we're paying the price now.

Imagine what happens when Rust crates are orphaned because of something like this, since they tied their infrastructure to GitHub.

Thread Thread
 
dploeger profile image
Dennis Ploeger

Or Homebrew.

Collapse
 
hkh12 profile image
Hosein Khansari

Being a dev in Iran is a sad story :(

Collapse
 
hadigolkarian profile image
Hadi Golkarian

what's the point of limiting access to services like google cloud for a developer that knows how to change his ip address with a click of a button?
as a developer currently working from iran i have my vpn connection open all the time to bypass restrictions both from inside and outside. 😫

Collapse
 
thefern profile image
Fernando B 🚀

Based on the comments here tons of devs don't know about vpn or ip spoofing. Github has nothing to do with freedom as this post talks about. Is just politics and tradition restrictions laws which github has no control over.

Collapse
 
fsalehpour profile image
Faramarz Salehpour

Almost all of the Iranians use a VPN on a daily basis. GitHub has blocked Iranian users based on their nationality, not their location, so using a VPN doesn't solve the problem in this case.

Thread Thread
 
thefern profile image
Fernando B 🚀

yeah just read on the other comment about this, I know is difficult dealing with politics and all that, I don't follow none of it.

So no chances of bypassing, some other way? I can't remember but was nationality asked when the account was created?

Collapse
 
marvinschopf profile image
Marvin

Totally agree.