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

Two Risks to Companies: The Microsoft Culture and the Microsoft Tools
Novell was killed by a form of "social engineering" by Microsoft
It's Hard to Trust People Who Worked - Not Only Those Who Still Work - at Microsoft
Bryan Lunduke is just what people would call an "arsehole of a person"
Links 06/07/2025: Climate Change and "The Right to Criticise"
Links for the day
The Mainstream Media Took 4 Days to Realise Microsoft Shut Down Its Operations in Pakistan and Fired Everybody
We estimate that Microsoft has had about 29,000 layoffs since January
“Twibel” Actions Against Comedians (and Why It's a Truly Low Blow)
they try to make up in quantities for a lack of merit or quality
 
[Video] "Copyleft Isn't a Bug."
"Copyleft isn’t a bug. It’s a feature. GNU GPL forced the world to treat code like a public good."
Being in Social Control Media Means Exposing Oneself to Heckling
Richard Stallman does not (either himself or directly) post to any social control media
Links 06/07/2025: Airlines Perils, Scams, and Breaches
Links for the day
For the Second Time, Bryan Lunduke From Microsoft is Siccing Racist Trolls and Vandals at Me
You're only reinforcing the point we made yesterday
Links 06/07/2025: End to End Encryption at Risk, Reuters Twitter ("X") Account Withheld in India
Links for the day
Gemini Links 06/07/2025: Tinylog and Certification Rotation
Links for the day
PCLinuxOS Sites Coming Back, Gradually
let's just be patient
Social Control Media, Even If Based on Free Software, Still Has Many Problems
a distraction from what actually mattered and still matters
IBM is Not Your Master
IBM makes friends with people who exclude the majority of the population: women
Help Fund the Free Software Foundation (FSF)
If you have some dollars to spare, go support the FSF
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Saturday, July 05, 2025
IRC logs for Saturday, July 05, 2025
A Short History of Attacks on Techrights (and Boycott Novell Before That)
good opportunity to tell again the story of several (not all) attempts to silence us
Leadership in Free Software
Don't let IBM lead. It's a terrible flag bearer.
Linux Foundation Apparently Flirting With Slop (Marketing by LLM-Generated SPAM)
The Web is in a really bad state!
COVID-19 Sped Up Site Improvements in Techrights
A few months later we created our very own IRC network
Gemini Links 05/07/2025: Negative Questions and 'Touching Grass' (Going Outside)
Links for the day
Links 05/07/2025: Dalai Lama Succession as 90th Birthday Approaches, 40 deg C in China
Links for the day
Links 05/07/2025: Hungary and US Defecting to Russia, "Google's Hotseat Hypocrisy"
Links for the day
Gemini Links 05/07/2025: 4th of July 2025 and "Zig Roadmap 2026"
Links for the day
How to Combat the Exploitation and Abuse by Microsoft GitHub
Not to mention corruption and crimes against women
Bryan Lunduke is Actually Sending His Audience to Attack People
"[Lunduke] is actually sending his audience to attack people."
Even The Right Wing is Rejecting Bryan Lunduke
no wonder he became so irrelevant and marginal
Microsoft's MSN Helps Microsoft Spread Lies About the Layoffs' Scale (Well Over 25,000 People Laid Off This Year)
There seem to be monopolies on lies and on truth
The Death of X Has Been Greatly Exaggerated (by Compromised Media)
X.Org Server is alive and well
Rewriting Things in Rust
How far would you go?
In 2025 Everything is "AI". Remember Blockchains?
Talk about what companies and things (services, products, software) actually do, not the labels they use
Julian Assange Has Been Free for a Year
Julian Assange and I disagreed on some things
Monopolies and Scalping
Monopolies gravitate towards price hikes
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Friday, July 04, 2025
IRC logs for Friday, July 04, 2025
Microsoft's August Layoffs Wave: "August is Confirmed for Additional Performance Based Cuts"
"August is confirmed for additional performance based cuts from the recent connects along with additional organizational cuts."
What Microsoft Reputation Laundering (With a Weaponised Law Degree) Looks Like in a Foreign Continent
You would expect this in uncivilised and primitive countries
Slopwatch: LLMs 'Write' Fake or Distorted 'News' About "Linux"
LLM slop disguised as news
Links 04/07/2025: Google Replaces the Web With Slop, "AI Might Kill Us All"
Links for the day
Gemini Links 04/07/2025: Mindfulness and F1
Links for the day
Weeks After Microsoft Bankruptcy in Russia the Company Shuts Down in Pakistan, Too
Last month Windows' share in Pakistan fell to an all-time low
Rob Musial's June 2025 Additions of Malware in Proprietary Software
Via the GNU Web site this week
Links 04/07/2025: Microsoft's H-1B Visa Applications Show Another Crisis Unfolding, Many More Deep Cuts and Shutdowns Revealed, Complete Microsoft Exits
Links for the day
Gemini Links 04/07/2025: A Day To Remember and "Stop Killing Games"
Links for the day
Crime and Corruption at Microsoft GitHub Cannot be Covered Up by SLAPPs in Another Continent
We'll write about this for a long time to come
Slop Videos Are Disappointing Garbage, Nothing New, Just Brute Force up on Display or a Pedestal of Slop
Slop videos aren't a new thing
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Thursday, July 03, 2025
IRC logs for Thursday, July 03, 2025
The War on Local Storage (People Hosting Their Files Locally and Privately)
There's nothing wrong with controlling one's computing
What Digital Independence Means
Independence in the digital realms means abandoning platforms like GitHub, not just rejecting proprietary software
NVidia is a Bubble
they temporarily see fortunes and wrongly assume perpetuity thereof
Fedora Does Not Care About Diversity and Inclusion, It's About Optics (Corporate Image)
any notion of inclusion is superficial and misleading
Don't Buy the Excuses for Microsoft's Mass Layoffs
Back in the 90s, Microsoft bought a lot of companies to get and stay ahead