GitHub takes down repository containing Twitter's source code

GitHub has taken down a repository by a user named "FreeSpeechEnthusiast" that contained Twitter's proprietary source code after the social network filed a DCMA takedown request. The username certainly seems to be a jab at Twitter owner Elon Musk, who has claimed to be a “free speech absolutist” many times.

On Friday, Twitter filed a petition in the District Court of Northern California asking GitHub to take down the code and also help it find the perpetrator. The subpoena asks GitHub to disclose "name(s), address(es), telephone number(s), email address(es), social media profile data, and IP address(es)" linked with "FreeSpeechEnthusiast".

The development comes just ahead of March 31, when Musk will supposedly open source Twitter's algorithm used to recommend tweets, which he's been promising to do for some time.

It's not clear what part of Twitter's source code was leaked on GitHub or for how long. GitHub's DCMA takedown blog only said it took down the repository containing "Proprietary source code for Twitter's platform and internal tools."

The code-hosting site didn't say if any users were able to access the repository before the company took it down. We asked GitHub for comment and will update the story if we hear back.

Twitter may also be concerned about copies of its code that weren't uploaded to GitHub. An internal investigation at Twitter suggested the people who were responsible for the leak left the company last year, as per a report from The New York Times. The story also suggested that the social network's executives learned about the leak recently.

The company has been having a tumultuous time since Musk took over last year. Recent reports suggest that the Tesla CEO now values Twitter at $20 billion, less than half of the $44 billion he paid for the social network. According to The New York Times, Musk wrote an email to employees to announce a new stock compensation program that said Twitter could be worth $250 billion one day.

Musk has taken radical steps to cut costs at Twitter, including mass layoffs, and has relaunched a new subscription program that offers verification as one of the benefits. According to data from analytics firm Sensor Tower, Twitter has managed to get $11 million out of this new service.

At a recent conference, Musk said that time on users' Twitter is poorly monetized.

"The average amount of time that people spend on Twitter per day that 250 million [monthly active users] is around half an hour or so. So what we have is -- the thing that's I think most interesting -- is there are about 120 to 130 million hours of human attention per day on Twitter," he said.

"Every single day on, average, which is -- I think it comes to a really interesting point which is to -- just it's startling how poorly monetized that is -- because you have to say like how valuable is that attention 100 to 130 million hours of human attention per day of people that read -- so these are the generally the smartest people in the world, the most influential people in the world."

As expected, when we reached out to Twitter, we got a poop emoji.