OK. I know that sounds crazy, but bear with me.
I updated this with the responses from GitHub CEO, so please read the article to the end.
And now please read my second article with much deeper look in issues and questions that GitHub should answer in an official statement.
First, some background: I am a software developer based in Iran and I’m on GitHub since 2012. In January 2019 when they announced that GitHub free includes unlimited private repositories, I completely moved to GitHub.
Everything was fine and I was happy. Although I participated in Hacktoberfest and they failed to send my t-shirt due to “International embargoes” but I thought OK, at least I can use their free services, right? Wrong!
Now, the real story begins: Today I received an email
Well, they blocked me. But why? I know that I’m a resident of the sanctioned country but I didn’t have any financial transaction with GitHub company. I just used their FREE services like well millions of developers, so I read that GitHub and Trade Controls page, looking for an answer.
Seriously? Do they believe someone could use GitHub to develop or USE nuclear or biological or chemical weapons? How? Really, How? By FREE private repositories? I mean let’s think about it: You think that some government agency would use a private GitHub repository as storage for military secrets?
For a second, let’s suppose that’s true and someone used a FREE service to violate sanction laws or Arms regulations. Do you block all Iranian developers for that? I mean, are you MAD KING?
If you are curious about the effect of GitHub act, take a look at this screenshot from one of my free private repositories
There is a famous line from George Orwell’s Animal Farm:
All animals are equal, but some animals are more equal than others
I think we can apply this line in this GitHub story. All developers are equal, but some developers are more equal than others and they can have our free services while others would use it to develop nuclear weapons!
Come on GitHub. You are not a mad king so stop the madness: Don’t burn them all.
After 1K retweet of my first tweet and more than 15K claps here, Nat Friedman and GitHub still ignore me. So I tweeted again 🙂 you can retweet this tweet as well and ask Github to make #githubForEveryone again.
Well, Nat Friedman finally answered
If you are a fellow developer, you can send your support by contributing to this project https://github.com/1995parham/github-do-not-ban-us
Update 1 (Jul 25): Apparently it’s not just disabling free private repositories. GitHub Pages is blocked too, even for “public” open source repositories!
more on this on Update 7 below.
Update 2 (Jul 26): GitHub blocked all Iranian accounts without any prior notice and they don’t give us a chance to download a backup of our data. Here is a screenshot from GitHub support response to a developer who sends a request for backup
more on this in Update 6 below.
Update 3 (Jul 26): GitHub targeting people based on “Nationality” (the whole activity) not the residency or current connection IPs. Here is an example (he is another developer, not me)
I think this is a clear case of discrimination and totally against Open Source values
here is a response from GitHub CEO (Jul 28)
Update 4 (Jul 27): This public open-source project created by a blocked Iranian developer received more than 2.5K star since yesterday, and it’s still not in Github Trending page. Does it mean if a blocked user, make an awesome open source project, Github is going to ignore it?
more on this. it seems that this is not an issue (Jul 28)
Update 5 (Jul 28): Confirmed. GitHub is quietly rolling back some of the restrictions for blocked users. The one I spot is “Delete this repository” button is not disabled anymore
Update 6 (Jul 28): Another update for blocked users. You can make your “private repos” public so you can clone them
Although people don’t like exporting their code this way (he is another developer not me)
Update 7 (Jul 28): GitHub Pages seems to work now for blocked users. Just change the source in options and you should see that Custom Domain textbox.
Update 8: They add a “close button” to that annoying warning on top. so a blocked user can close that message and no need to workarounds like this.