frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Why I'm leaving GitHub for Forgejo

https://jorijn.com/en/blog/leaving-github-for-forgejo/
90•jorijn•1h ago

Comments

giancarlostoro•47m ago
Everyone seems to be leaving GitHub, and forgetting the entire spirit of what git is in my eyes. Git was always meant to be decentralized, the problem here is that all the tooling around git was centralized to GitHub because it was a cleaner experience, they scaled nicely, and were properly maintained. I would prefer to still see mirrors on GitHub that are auto-synched because I've seen projects for years either self-host or go somewhere niche, then the GitHub mirror dies or is removed, and said projects go poof to the sands of time for one reason or another, completely gone. Everyone seems to be picking some random git host alternative, and some of them are really simple to use.

Git is decentralized, GitHub is just another place you can host your code in, but you can push your code to multiple remote servers.

limagnolia•44m ago
Forgejo is doing a lot of work to make the tooling decentralized, too. They are using open protocols and standards to link self hosted forges together.
hperrin•8m ago
I can’t wait for federation in Forgejo. With that, there’s honestly no reason not to host your own forge.
gchamonlive•44m ago
Yes, but GitHub is more than just git. The most important aspect of the platform that everybody seems to forget is the social component and how easy it made to create a persistent, off-site repository and collaborate across repos.
MrFurious•37m ago
The "social component" is a big problem in actual FOSS.
rapnie•27m ago
People forget what FOSS is, and you get a world of unclear expectations. FOSS is code + a copyright license. How the code is created is an entirely different matter, and where FOSS projects often fall short. As FOSS projects come Forgejo is well-organized around a community governance model.
_flux•41m ago
I think you're forgetting issue tracking and CI.
shimman•26m ago
Forgejo has both these things, I'd even argue Forgejo has a better runner than GitHub actions as it's less resource heavy and easier to debug when issues arise (only ran into one, and it was self inflicted).
bayindirh•40m ago
While I'm not forgetting the spirit of what Git is, I'm also remembering how GitHub used "all open repositories" to train their first Copilot without telling anyone.

So, no thanks. I'll not be committing any personal code there anymore.

And no, I don't care for the social aspects either. Discoverability, stars, and AI bot powered issue bombardment.

I'm fine like this.

Also, remember, "Open Source is not about You".

dewey•19m ago
I don't think anyone is forgetting that, but most people don't care that much about the decentralized part. They care about it being user friendly, free and for companies if it has all the enterprise features / SSO etc. that they need.
hosteur•44m ago
I have been self-hosting Forgejo for some time now. It is impressively easy to maintain and operate. I can highly recommend giving it a spin.
jagged-chisel•44m ago
“It’s not because of outages” - goes on to complain about outages.

The outages might be due to AI load, but that’s to relevant because your leaving isn’t due to outages. Even though the article is primarily about outages.

If you have a problem with your code being scanned for AI training, then write that article.

But this article is about outages.

sgt•43m ago
Is Forgejo Actions any good? CI/CD would be cool.
xx_ns•40m ago
From personal experience, there have been a few papercuts (mostly trying to figure out why runners aren't picking up jobs), but it isn't too hard to debug and the CI format is simple. When it works, it works well enough. It uses a similar workflow as GitHub actions. Some, but not all, actions are even interchangeable or at least portable from GitHub without much fuss.
import•40m ago
It’s act runner. So you can continue using GitHub actions with minor changes
epistasis•9m ago
I keep CI/CD super super simple, but was able to set it up for my Python repos in 15 minutes, with compatibility with GitHub actions (using the same yaml file at the same path)
tagraves•5m ago
We just released support for Forgejo with RWX CI/CD: https://www.rwx.com/docs/getting-started/forgejo
delf•38m ago
In "What I gave up" section author mentions his social graph. It is possible to take your social graph and collaboration history using GitSocial. It also allows cross-forge pull requests between any git hosts. All without 3rd party dependencies.
jorijn•33m ago
TIL. Thanks!
delf•28m ago
You're welcome! I'm the creator of GitSocial, happy to answer any questions.
bigfishrunning•6m ago
Thank you for this, GitSocial is a very cool piece of software!
import•36m ago
I’ve moved to self hosted gitea a year ago running in my homelab and not publicly accessible. No https, registrations disabled and repos are not public.

I’m thinking about making public instance and use it with https, but minimize the attack surface, any recommendations especially about gitea/forgejo?

eblume•23m ago
Yup, I’ve done this. I use a fly.io proxy that runs nginx, fail2ban, and that forwards to my tailnet where Caddy resolves to the actual instance. It’s critical that you disable local registration - I have authentik (only available on the tailnet) as an IdP but you can also just disable reg after making your own account of course. I also have a robots.txt that disables some stuff like all the individual rendered git commit views otherwise scrapers get stuck in an endless loop and also I strictly forbid access to the forgejo package repository since I have some private packages and the permission granularity there is not what I want it to be, still dialing that in. I’m keeping an eye on it and so far nothing terrible has happened. docs.eblu.me if you would like details… I could also link straight to the infra code if you like.
import•15m ago
Hey thanks for the answer and link to docs. I don’t use tailscale, it’s running in a NUC, accessible with wireguard for now. (Docker + 4 runners)

I try to keep things simple in the homelab and thinking only using fail2ban and caddy reverse proxy and expose it.

Package registry isn’t private by default and accessible with PAT. Or am I mistaken?

eblume•5m ago
You’re welcome! I only ran in to this last week and I might not have this straight yet because I haven’t had time to sit and untangle it. I have a private repo that has a release workflow that publishes a Python package to the forgejo package repository using my public user profile. I mistakenly assumed that because the repo was private the package would be as well but that link is not enough to set public/private and it is instead fully public. Listable and everything, no PAT needed. This is where I’m less clear: I think I could make my user profile private and this would hide the packages, but I want my profile public. So I just black-holed the entire packages api outside of the tailnet.
embedding-shape•12m ago
> I’m thinking about making public instance and use it with https, but minimize the attack surface, any recommendations especially about gitea/forgejo?

I've done this too in the past, I'm still running the internal/lan Forgejo instance, but not any public instance at the moment. But in the past, I've setup a public read-only instance, which mirrors my internal one, then one reverse-proxy connection from the internal to the public instance, which the public one uses for getting the git data. Then it mostly just kept on working by itself, whenever I changed anything in the internal Forgejo, the public one got updated, yet I could keep all issues, CI and more completely private and on lan.

jdw64•33m ago
People constantly cry out for decentralization. In reality, however, most systems eventually end up centralized. Perhaps when people ask for decentralization, they are actually seeking a new center where they can become the new pioneers. It seems that when they feel they have no chance of winning under the existing rules, they use decentralization as a pretext to overturn the board.
ses1984•30m ago
If only you bothered to read the first line of the article, directly under the title:

>I moved my code from GitHub to a self-hosted Forgejo

jdw64•11m ago
My ponit was not against self-hosting.

It was more about the symbolism. If the goal is decentralization, “I moved to a personal forge I control” is the post's core idea. But framing it as “leaving GitHub for Forgejo” inevitably creates a new flag to gather around.

That may be useful and even necessary, but it also shows that decentralization movements often produce new centers, names, and identities.

zsoltkacsandi•28m ago
I think decentralization is the wrong answer for what people really need: portability.
nemomarx•24m ago
What's the portability blocker with git? It's pretty easy to pull your repo and clone it to a new server, and you keep your history and everything I thought.
zsoltkacsandi•22m ago
Nothing. That’s why SaaS providers like GitHub start to build up features like GitHub CI to lock people in. You can easily move the repo, but moving your full CI has a real cost that businesses will take into account when they are considering to move anything.

What do you think, what is the business for GitHub in providing limitless private and public repo hosting?

cyanydeez•25m ago
I think some people are mentally ill, and think decentralization is a libertarian ideal where they can have all benefits of society, but they don't have to pay for the roads, the fire department, etc. That some how, those things will spontaneously appear because of <free market babble>.

Others recognize there's some kind of more comfortable middle ground where decentralization means the same as a town/city/state type of social good that is independent and capable of working without larger centralized structures. Having to work towards it, pay money into it, etc, are expected but because the work that goes into maintaining the infrastructure has a clear line of derivation (taxes clearly go to X, Y, Z) would be a benefit.

It's typically the first class tho that dominates all conversations regarding decentralization, and that class includes the Epstein billionaires who just dont want laws to apply anywhere they want to do unethical, immoral and whatever. eg, money is the only law.

jdw64•15m ago
It could be a strategy, or it could be a sense of ethics. And your point makes sense, and I also agree with you. The first part of your comment is a bit harsh, but if you soften your reply a bit, it matches my thoughts. I'm giving you an upvote because I agree with your idea.
cyanydeez•10m ago
The first paragraph comes from the Epstein files. https://www.theguardian.com/technology/2026/feb/09/jeffrey-e...
keyle•33m ago
For self hosting... and personal code repo, why not just git... and expose something like Stagit for the web?
import•30m ago
CI/CD, package registry, issue tracking in one place?
keyle•29m ago
Fair enough for the formers.

Issue tracking though...

finegrainlabs•31m ago
One of my friends made fremforge.com (an EU-sovereign CI/CD with Git included). It's currently in closed beta but goes live next week (tm). It is built upon Forgejo and EU-based services using T-Cloud as the underlying hyperscaler. Have a look! I don't make any money from it, by the way. And yes, it will cost a little bit, but rest assured: because you are paying for it, you will not be the product.
henrydark•23m ago
I now use syncthing for the .git directory, excluding HEAD file and a few others, between my few devices and a vps on hetzner.

Most of git is append only immutable blobs - just sharing these between devices just works for me. "users" and authentication is handled by syncthing.

I have pre and post hooks to make sure no device tries to change HEAD of branch owned by another device, just to be safe, be it hasn't been activated once yet.

diath•19m ago
If you have a VPS that's always running, you can just use it as a git remote through SSH without moving things around or any third party software, just put the Git repo on the VPS and clone it via "git clone ssh://user@host/path". You get authentication, encryption and synchronization out of the box with just ssh/git.
embedding-shape•11m ago
Had to vouch for your comment, not sure why it was marked as dead.

Definitively the easiest way to approach this, and the most standard way too. If you already have ssh, which I'm guessing you do if you managed to setup syncthing on it in the first place, then you can literally just point git to host+path and it'll use whatever ssh authentication you already have in place.

Can hardly get simpler :)

j-bos•17m ago
Super interesting, mind sharing your exclusions and hooks?
ninjahawk1•20m ago
Didn’t realize the Dutch government was rad until I read this.

Frankly, the modern internet as a whole is scary. Google has so much power, Github, Meta, etc., they all control such fundamental parts of society now and get to run free since they’re private companies. Not saying they should be government owned, that would drastically worse, but some more detailed oversight would be nice.

sc68cal•20m ago
I have also moved my git repositories to a self-hosted NUC. I have not yet bothered with a HTTP frontend to share it with the world, mostly because I don't want to provide AI scrapers with content and don't want to put the work in to block them.

It's a shame that all these companies that benefited from open source have poisoned the industry like this

echelon•11m ago
> It's a shame that all these companies that benefited from open source have poisoned the industry like this

Open Source and the OSI are an industry plant. Look at who sponsors it.

The monopoly hyperscaler conglomerates get free labor and use it to build the world we despise: tracking panopticons, phones we can't install things on, device attestation, browser monoculture with no adblock, etc. etc.

Google made people fall in love with BSD/MIT, and look what it did.

Just a few of the classic plays:

"That Belongs to Us Now" - (1) vendors build stuff like Elasticsearch and Redis, (2) the hyperscalers yoink it into their proprietary offerings and take all the profits, (3) original authors and their companies starve.

"Embrace, Extend, Extinguish" - (1) vendors take an open source project like KTHML and build their version, (2) they flood the market with their offering, pushing out the competitors, (3) they use anti-competitive means to get their thing in front of all eyeballs, (4) once they have marketshare, they do evil things like add tracking and remove freedoms

Open Source needs to replaced with "freedom for the people, companies must pay". Source available shareware with anti-hyperscaler teeth.

Even Richard Stallman's licenses are not strong enough. CC BY-NC-SA is better.

embedding-shape•7m ago
Why can't others just be "Others I disagree with"? Why it has to be some grand conspiracy?

I'm all for open source, most of what I do is released as MIT, almost never "Free Software", still doing the same thing since LLMs appeared, regardless of everything else.

I'm a real person, have nothing to do with OSI but willing to explain my position, as long as you take it as real opinions held by a real person, instead of going into conspiracy theory land. Ask me anything, I'll give you my honest perspective.

wutwutwat•5m ago
When you come into a convo saying even Stallman isn't extreme enough, it's probably a good time to take a step back and evaluate your life.
luxuryballs•20m ago
Question for anyone, why do people use GitHub or an alternative rather than just spinning up your own Gitea docker container or similar?
p2detar•11m ago
[delayed]
Finnucane•19m ago
"The Dutch government's choice of Forgejo, not GitLab, was deliberate."

And since Gitlab seems to have looked over at what is happening at Github and decided, we want some of that, that was probably the right choice.

OuterVale•15m ago
I'm making my jump over to Tangled, which is built on the AT Protocol (so it uses the same account as Bluesky and others). I'm finding it lovely.

https://vale.rocks/micros/20260511-0440

epistasis•13m ago
I have been using my self hosted forgejo in May, and liking it just fine, I recommend it for anybody who is curious. I don't really trust GitHub to keep things private anymore.

The hardest parts of switching to forgejo: 1) coming up with a comfortable way to pronounce "forgejo" in my head, and 2) adapting to not having the same GitHub v3 API and needing to switch to a different CLI for PR creation, repo creation, etc.

The pronunciation thing is probably the more difficult of the two.

epicide•6m ago
They make it rather easy by providing an audio pronunciation: https://forgejo.org/static/forgejo.mp4

With my American accent, I don't quite say it exactly like the recording, but pretty close: "for-JAY-oh"

hperrin•12m ago
I moved all my repos (well, I have two left to move) to https://forge.sciactive.com which is also a self hosted Forgejo instance. It was a really easy process, and I’m really impressed with Forgejo.
pluc•8m ago
At this point I really don't think this needs to be justified. I'd be more curious as to why people are staying on GitHub.
embedding-shape•5m ago
[delayed]

OpenCS2 – 5k hours recording of Counter Strike for world model training

https://blanchon-opencs2-dataset-viewer.hf.space/
1•blanchon•1m ago•0 comments

Stupidly Simple SVG Sparklines

https://shkspr.mobi/blog/2026/05/stupidly-simple-svg-sparklines/
1•Brajeshwar•1m ago•0 comments

Show HN: Promptcellar – capture every Claude Code prompt as JSONL in your repo

https://github.com/dominiek/promptcellar-for-claude-code
1•dominiek•2m ago•0 comments

What if your AI could buy you a car?

https://medium.com/@alex_21933/what-if-your-ai-could-actually-buy-you-a-car-7ba84bae4a55
1•yankouskia•2m ago•0 comments

The US Is Winning the AI Race

https://avkcode.github.io/blog/us-winning-ai-race.html
1•akrylov•4m ago•0 comments

Styled-Components v7 Alpha

https://styled-components.com/docs/v7
1•quantizor•4m ago•0 comments

California mayor resigns, admitting to being an agent for China

https://time.com/article/2026/05/12/arcadia-california-mayor-eileen-wang-agent-china/
1•wslh•5m ago•0 comments

Open-source AI modding tool for Rimworld (and soon Factorio)

1•lebek•6m ago•0 comments

California Mayor Resigns, Admitting to Being an Agent for China

https://twitter.com/time/status/2054147083821801678
2•wslh•9m ago•0 comments

The wildlife sanctuary you can visit from anywhere [video]

https://www.ted.com/talks/maya_higa_the_wildlife_sanctuary_you_can_visit_from_anywhere
1•MattIPv4•9m ago•0 comments

Show HN: Hashiverse, an open-source decentralized social network in Rust

https://www.hashiverse.com/en/
1•jamesjardine•9m ago•0 comments

Wikipedia's bot traffic to overtake human readers by late 2026 (original data)

https://technicalseonews.com/analysis/wikipedia-bot-traffic-replacing-humans
1•SimilarWeb•11m ago•0 comments

Tracking historical progress against slavery and forced labor

https://ourworldindata.org/slavery
1•surprisetalk•12m ago•0 comments

Coders in 2030 be like: (Rick Rubin, Vibe Producer)

https://old.reddit.com/r/ClaudeAI/comments/1tbgj86/coders_in_2030_be_binlike/
1•consumer451•13m ago•1 comments

Conway's Law Teaches a Grim Lesson About AI in Product Development

https://brodzinski.com/2026/04/conways-law-ai-product-development.html
1•flail•13m ago•0 comments

AI agents make small companies bigger

https://text-incubation.com/ai-agents-make-small-companies-bigger
1•krrishd•13m ago•0 comments

Show HN: RedactScreen – Share your screen, not secrets

https://redactscreen.com/
1•madospace•14m ago•0 comments

Show HN: Rotunda - A Browser Built for Agents

https://github.com/monkeysee-ai/rotunda
2•icyfox•14m ago•0 comments

Publishers: Google's eBook Ad "Ban" Blocked Legitimate Sellers, Not Pirates

https://torrentfreak.com/publishers-googles-ebook-ad-ban-blocked-legitimate-sellers-not-pirates/
1•Brajeshwar•14m ago•0 comments

The syrup of crime bears sticky fruit

https://www.metafilter.com/212975/The-syrup-of-crime-bears-sticky-fruit
1•PaulHoule•15m ago•0 comments

What Inference-Platform Benchmark Posts Leave Out

https://ingero.io/inference-platform-benchmark-posts-leave-out/
1•ingero_io•16m ago•0 comments

Fine-Tuning TranslateGemma-4B for Better Welsh Translations on an H200 GPU

https://metalglot.com/blog/welsh-translategemma-finetuning-guide/
1•metalglot•16m ago•1 comments

Show HN: A "Git history" for Twitter/X profiles

https://tracktweets.com
1•code-less•17m ago•0 comments

WordStar

https://www.sfwriter.com/wordstar.htm
2•andsoitis•19m ago•0 comments

Reliance on Middle East Oil and Gas Supplies by Country

https://www.iea.org/data-and-statistics/data-tools/reliance-on-middle-east-oil-and-gas-supplies-b...
1•gmays•19m ago•0 comments

Linguistic workaround allows Marco Rubio to travel to China

https://www.theguardian.com/us-news/2026/may/13/marco-rubio-china-visit-new-character-name-trump-...
1•neaden•20m ago•0 comments

Social market liberalism has no political home in India

https://ordinaryanalysis.substack.com/p/the-inner-dialogue-of-a-social-market
1•shibaprasadb•21m ago•0 comments

Fragnesia: Linux kernel local privilege escalation via ESP-in-TCP

https://www.wiz.io/blog/fragnesia-linux-kernel-local-privilege-escalation-via-esp-in-tcp
2•ljahier•21m ago•0 comments

Finnish marketplace for 'Environmentally responsible actions'

https://luontoarvot.fi/en
1•Mossy9•21m ago•0 comments

Your AI Frustration Is My Opportunity

https://metedata.substack.com/p/012-your-ai-frustration-is-my-opportunity
1•young_mete•21m ago•0 comments