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

SLAPP Censorship - Part 80 Out of 200: Having Run Out of Time to Meet a Judge's Deadline, Microsoft's Graveley Had Garrett's Lawyers Argued My ~190-Page Defence and CounterClaim (DCC) Was Unclear About My Position
Nothing could be further from the truth
 
Cooperation and Collaboration, on a More Personal Level
Rianne, to me, isn't just a wife; she is also my best friend
IBM Has Payroll Problems (Just Like Microsoft)
It's a good thing that many nations around the world are, accordingly if not proactively, divesting from GAFAM
Links 18/05/2026: 25 Years of OLDaily and Dangers of "Living With Too Much Tech"
Links for the day
Trips to London
London isn't a bad place, but it's a long journey and we'd rather stay in Manchester and write about technology
Working in the Shell (and Fish)
Yesterday we spent about 5 hours on the shells and fish
The Corrupt Lecture the Non-Corrupt - Part XXVI - Campinos Has Put Unfit-for-Employment Drug Addicts in Charge of the European Patent Office (EPO)
How many months has Campinos got left before the delegates show him the door?
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Sunday, May 17, 2026
IRC logs for Sunday, May 17, 2026
Gemini Links 18/05/2026: Poetry, Sauna, and GNU Taler
Links for the day
"The Society of Media Lawyers" (UK) is a Truly Malicious Anti-Media Lobby Which Helps Rich/Abusive Americans and Hostile Countries Attack Actual Media Workers in the UK
They typically source their money from aboard to besiege domestic actors (like honest journalists or independent outlets that document suppressed beats/topics)
Slop Still Waning, Its Momentum is Driven by Companies That Stand to Lose a Lot (or Everything) When the Bubble Pops
When it comes to LLM slop disguised as news, it's just not working out
Gemini Links 17/05/2026: arXiv Brings Down the Hammer, UnderPOWERed, and Slopping With Tcl/Tk
Links for the day
Links 17/05/2026: Amazon Employees Herded Into Slop, Taiwan Sold Down the River by Cheeto
Links for the day
Links 17/05/2026: Society of Media Lawyers (Brett Wilson LLP et al) Lobby for More SLAPPs in the UK, “Courage in Journalism Award” Given in Oppressive Country
Links for the day
Finland Needs to Dump Microsoft (Microslop) for National Security Reasons and the Same is True for Hundreds of Countries
"I don't see why Ryssäs would want Finns to use microslop products..."
Cyber Show UK is Already Available Over Gemini Protocol
This past week the total number of active Gemini capsules hit all-time records several times
Fight Til the End
This comes to show that persistence pays off
SLAPP Censorship - Part 79 Out of 200: They Will Soon Reach the 100 KG (Kilograms) Milestone; Wheelbarrows, Not Justice (Quantity of Legal Papers Sent to Us)
It's about the quality, not quantity (unless your sole aim is to drown out or "flood the zone")
The Corrupt Lecture the Non-Corrupt - Part XXV - Not Bringing Intelligence to the EPO, Not 'Artificial Intelligence' Either (But Intelligence-Eroding Drugs)
The EPO was meant to be about science and law. In practice, however, it's about breaking the law and being stoned.
The Cyber Show on Why Coding is Important and Slop Cannot Change or Replace That
Hand-crafting one's site has plenty of advantages
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Saturday, May 16, 2026
IRC logs for Saturday, May 16, 2026
Gemini Links 17/05/2026: Music Theory, Reticulum Git Repos, and Releasing Kiln
Links for the day
Links 16/05/2026: Cuba Plunges Into Darkness (Energy Wasted by Nonsense), Googlebooks as Slop Nonsense (Energy Waste and Time Wasted)
Links for the day
Links 16/05/2026: Climate Issues, Free Speech, and Monopolies/Monopsonies
Links for the day
Gemini Links 16/05/2026: Retreat and Devuan Manuals
Links for the day
SLAPP Censorship - Part 78 Out of 200: Slandering Me for Saying the Truth About Graveley and Garrett's Abuse of Processes, Stacking Dockets
These are the sorts of things British taxpayers ought to talk about
"AI" Became a New Name or Placeholder for Debt
Because they will only ever lose money for this thing with "tokens" or "potential"
"Microsoft Goodwill and Intangible Assets" Down Two Years in a Row, According to Microsoft
Microsoft cannot sell these, so what is their real relevance?
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Friday, May 15, 2026
IRC logs for Friday, May 15, 2026
IBM: Shares Down 30%, Mass Layoffs, IBM Says "Goodwill" Grew by 10% to Over a Third of the Company's Total "Worth"
According to IBM
Microsoft LinkedIn Layoffs "Very Likely Higher" Than 1,000 People
Microsoft is bleeding