Bonum Certa Men Certa

Starting a GNU Replacement for GitHub, Possibly Based on GitLab

Gitlab and Gnu



Summary: "It might be easier if we start from the GitLab software," Stallman said

RECENTLY, a letter was sent to Richard Stallman to discuss threats associated with GitHub (among other things). Here is one proposal he entertained last week:

[Stallman:] Developing such software would be a big job, but possible if people are dedicated. It would probably take soe [sic] years.

It might be easier if we start form [sic] the GitLab software. That is free, right?

However, I doubt we could even possibly hope to pull most free software hosting away with GitHub.

Let's suppose we do a great job of developing that software and we set up a server running it, and we want to compete with GitHub for projects to choose us. How many free projects are there on GitHub? Hundreds of thousands, I suppose.

To provide good service for that many projects, I think we would need a server farm, and hundreds of staff. We could not afford that.

We would need those staff, and rental for the server farm.

not for a one-time development expense, but as operating costs, year after year.

The only way we could do that is by charging for the service. Most projects would choose some other service which is gratis.

However, those projects that chose our service would get good service, since we could afford to give it to them, for pay.

We could make this work, but would it make a big difference?


The response (from Thomas Grzybowski):

Hi Richard,

I feel encouraged that most of your concern about a GitHub replacement is technical and economic. Those problems can be solved. The key is to use a distributed architecture.

I see five important reasons to go with a distributed git repository:

1. Distributed I/O and CPU load. 2. No single point of failure (such as a ddos attack). 3. No single site entity would have to finance and maintain a gargantuan datacenter. 4. No one country could censor the content of the repository. 5. No single entity could completely control the entire repository.

I have done some basic research and come up with a proposed technology: For the back-end the project can utilize a PostgreSQL database server utilizing Postgresql ltrees. Ltrees is a very powerful and performant database feature for tree-like data structures such as git, and it would be perfect for this application.

Putting the git data schema entirely in a database provides a secure and robust system, with transactional integrity.

Perhaps most importantly, PostgreSQL 10 has introduced a feature called "Logical Replication", through which one can perform intra-database object-level replication across hosts. This can provide an efficient and solid transactional mechanism for distributed replication.

So, the core idea is to have several sites, located and independently financed in a number of countries.

Now, would such a thing make a BIG difference? Well, like most software projects it would start out small, and then get bigger. Code from Savannah can begin to be migrated-in, making it immediately important, and then the project will certainly receive a lot of attention. I think volunteers will be eager to get on board. As other hubs are established and various and diverse Free Software projects worldwide join-in there will be a compounding function in effect. I think ultimately such a system will provide the preferred repository for Free Software, since that domain will be the focus, and will have the benefits of the distributed implementation outlined above.

It will be an easy sell, assuming the interactive user experience is competitive; people will understand the importance immediately, since Free Software folks do not want to be overseen by Microsoft.

I can come up with a more detailed functional description and system specification if you would like.

Thanks,

Tom G.


Removing GNU/Linux projects from GitHub should be seen as a high-priority initiative. The FSF has not spoken about this yet (not in recent years).

Recent Techrights' Posts

Microsoft's XBox "Bloodbath" Seems to Have Already Begun (Informally), Studios Allegedly to Face Shutdowns, Layoff Notices Handed Out, 100% Layoffs in Some Cases, 10% in Others or on Average
So is a complete closure/shutdown imminent? (Compulsion Games in this case)
SLAPP Censorship - Part 105 Out of 200: When Bad Legal Advice Results in Your Client, Dale Vince, Ordered to Pay £600k - or 801,930 United States Dollar (USD) - to the Person Frivolously Sued (Lord Bailey of Paddington)
"A judge has ruled that Dale Vince must pay punitive costs to Lord Bailey of Paddington, the Tory peer, over the 'unexplained abandonment' of his" SLAPP
IBM is Importing/Exporting Corporations' Regime of Censorship (Hiding the Wrongdoing) to Free Software Communities
Is IBM protecting criminals in the name of "manners"?
 
European Patent Office (EPO) Series: Battistelli's "Baltic Crusader"
Gilles Requena, Battistelli's erstwhile "Baltic Crusader" and the loyal servant of his successor Campinos
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Saturday, June 13, 2026
IRC logs for Saturday, June 13, 2026
Links 13/06/2026: University of Nottingham Confirms Data/System Breach, Courts Fuming at Fraudulent Lawyers Who Fling LLM Slop at Them
Links for the day
Gemini Links 13/06/2026: World Cups and 做人
Links for the day
Discussing Morale at IBM and Conversations Regarding IBM Layoffs (Disguised as Other Things)
Trolling can be a form of censorship
European Patent Office (EPO) Series: All the President's Men
Gilles Requena,Patrice Pellegrino, and Sandro Mendonça
SUEPO Elections Coming Up, Union Leaders at Europe's Second-Largest Institution (EPO) to be Determined Soon
The staff union of the European Patent Office (SUEPO) is having an election soon
How Long for Can American Taxpayers Justify Bailing Out Microsoft?
How many times need the American taxpayers give Microsoft money for vapourware that's neither necessary nor delivered?
Links 13/06/2026: Microsoft’s XBox Crisis and "Apple Deepfakes"
Links for the day
Gemini Links 13/06/2026: Why Humans Are Mostly Right Handed and "Getting Things Done"
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Friday, June 12, 2026
IRC logs for Friday, June 12, 2026
SLAPP Censorship - Part 104 Out of 200: Exactly Two Years Ago Brett Wilson LLP Humiliated or Weaponised Our Solicitor's Judaism in an Effort to Censor and Gag Us
dated 12/06/24
Half a Year Since Slopwatch Died
To Google's credit, it did manage to delist a lot of slopfarms in recent months
Links 12/06/2026: Science, Windows TCO, and More
Links for the day
"AI" 46 Times in One 'Article' Because The Register MS Got Paid to Push it
Today is just another opportunity to remind people that the slop bubble and GPU bubble are based on inauthentic fake 'journalism'
Gemini Links 12/06/2026: FTP and Gopher, Cluster Outage Postmortem After Cleaning by Wife
Links for the day
Sonny Piers Finally Spills the Beans on GNOME Cover-up, Points Finger at Robert McQueen, Misusing "Defamation" to Silence Critics of Wrongdoing
Robert McQueen, who is extremely connected to Garrett (they share digital nests)
European Patent Office (EPO) Series: Transcending Partisan Rivalry in the National Interest
Up until now, Campinos has generally been regarded as a Portuguese "asset" on the international stage
Gratitude to Whistleblowers or Sources of Techrights
Whistleblowers are what makes journalism work
Techrights Was Months Ahead of "XBox" News (Mass Layoffs)
Next: end of XBox as a console
More Commentary on June 2026 IBM Layoffs and Why They Happen
It sounds a lot like what happened to the EPO
Links 12/06/2026: "NearlyFreeSpeech" No More, Openwashing by Google (DiffusionGemma)
Links for the day
Today There's a Massive EPO Strike (Like Every Friday), Workers Explain Further Cuts Despite the EPO Making More Income by Granting Illegal Patents (or Invalid Patents Illegally)
"Recent exchange with the Administration on the implications of the SAP on the Education and Childcare Allowance"
The Cyber Show: Remember That Code is Art
The article is very long, very profound, and speaks of "the next installation"
Communicating With Freedom - Part IV - Quibble Now in quibble.chat, Open for Contributions Via Codeberg
Today we continue the series about Quibble
European Patent Office (EPO) Series: The Importance of Having "Pals from the Palacete"
for his reappointment bid to succeed, Campinos will need to be able to rely on the support of both the Portuguese Prime Minister, Luís Montenegro, and the President of the European Council, António Costa
Cyber Show on How Updates or Upgrades Break Workflows, Even in Free Software
"We did a big upgrade on the AV production pipeline"
Discussions About IBM Layoffs in June, Including by RTO and PIPs
mass layoffs are becoming increasingly difficult to conceal
Gemini Links 12/06/2026: Decks and Work Essay
Links for the day
"Rolling Strikes" Continue at the European Patent Office, the Administrative Council Needs to Take Action Against Crooked Office Management
This coming weekend we'll talk about some of the other issues and concerns expressed by the union
Only Days After Mass Layoffs in Microsoft's Azure There Are Headlines About Much-Expected XBox Layoffs
XBox as a console is basically dead or "fast-dying"
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Thursday, June 11, 2026
IRC logs for Thursday, June 11, 2026