Repository navigation
Description
Over the past several years, but especially over the past several months, GitHub has rather rapidly deteriorated both in uptime, usability, and general reliability. It seems increasingly like the time for projects to move away for simple reliability reasons.
On the LDK end, we've seen the rapid increase in ban-aggressiveness bite us a bunch - at least three or four people have opened new GitHub accounts, opened legitimate (if AI-aided) PRs, only to get immediately banned (in which case GitHub deletes their PRs from our repo, with no ability to access their code at all).
This is, of course, in addition to the site suffering a bunch of downtime over the past few months, and the website generally getting slower and slower over the years as they add more and more useless client-side JavaScript.
Finally, recently, GitHub decided to ban the entire lightningdevkit org from GitHub Actions for unspecified "ToS Violations" (even escalating via a large corporate account was insufficient to get them to even tell us what we did that they want us to stop doing, when most of our CI is already self-hosted).
Of course I don't blame GitHub for some of this - they're seeing a massive increase in AI agent traffic and are struggling to contain the increase in load, but of course none of us have to suffer from their degraded service they are offering for free - self-hosting forgejo or using a commercial instance of it is easy enough. If anything moving off is helping reduce their increasing load.
Still, given the massive increase in issues over the past few months, and the fact that AI is only going to make this worse over time, I can't see a reason why any open-source project should remain on GitHub. We're, of course, planning on retaining our existing repository for visibility and to let people file issues, while moving actual work (and CI) to a self-hosted instance.
Of course feel free to close and ignore this, but I wanted to at least raise this and document what went into our decision. rust-bitcoin decided to start migrating a few months ago and we'll likely share an instance with them.
Activity
pinheadmz commentedon Jun 21, 2026
Are there obvious alternatives like BitBucket or GitLab that can take over the CI and won't fail under similar pressure? Or are you thinking we self host a GitGogs?
Pleb5 commentedon Jun 21, 2026
We leverage open protocols for as many things as possible for a project like Bitcoin.
I recommend using Nostr NIP34.
It works without platform lock-in since you sign every issue or comment or PR with your sovereign keypair, just like with PGP.
Nostr however brings much richer context because one keypair can be used with many applications. More context, more trust.
Nostr also leverages repository announcements so one logical repo can be used with any number of redundant git servers regardless of implementation. You sign where code might be, people fall back if need be.
No hosting lock-in either.
Open-source NIP34 clients include:
Bitcoin deserves to be developed fully on open protocols.
kanzure commentedon Jun 21, 2026
yancyribbens commentedon Jun 21, 2026
The original post says:
From what I've read, Gogs was sort the OG, Gitea forked Gogs, then Gitea owner pissed off the community with commercial decisions, then that forked to be forgejo. Forgejo seems like a legit project though and also supports a lot of open protocols such as Activity Pub and gasp RSS. Moving to a project that supports RSS seems reason enough.
TheBlueMatt commentedon Jun 21, 2026
Also the UI is so much more responsive in forgejo because there isn't a huge pile of client-side JS...
nkaretnikov commentedon Jun 21, 2026
@kanzure
This doesn't tell the whole story. You can collaborate and author features, but to get them merged, you need to pass CI, which is on GitHub. GitHub is the main place where development happens: PRs are created and reviewed here, and issues are filed here.
@TheBlueMatt
While what happened to LDK is unfortunate, there's no guarantee that scalability and customer support issues would not happen with a different provider. A lot of solutions are being proposed that seem okay now, but it's not clear whether they will be okay in the future (when the next batch of users migrate or when the management changes, etc.).
A better option would be a distributed or self-hosted solution. But given limited resources on the project, developers should minimize time spent on maintenance work. GitHub silently handles all the infrastructure and security issues at the moment. I would welcome a distributed solution (built on Nostr or something else), but the worry with those is that they might not be that polished, which would hinder development.
If Bitcoin Core is not experiencing any issues, I would advise not to move prematurely, just think of a backup plan.
TheBlueMatt commentedon Jun 21, 2026
Of course. I don't think it makes sense to jump to anything but a self-hosted option, and LDK is going to migrate to a self-hosted Forgejo instance that rust-bitcoin is starting to use.
Coming from someone who got their CI shut down in the midst of a release process, i strongly recommend migrating before you are forced to, as its much easier when you can control the timeline...
Zeegaths commentedon Jun 22, 2026
I agree with this, have both options
TheBlueMatt commentedon Jun 22, 2026
Having it as a "backup" isn't really an option, sadly. AFAIK forgejo doesn't currently have an option to continuously sync issues/PRs/comments from a github repo, only do a one-time migration or keep a copy of the git tree alone. That implies you either have to do a cut-over and switch or just keep hoping github doesn't break any more than it already has.
Crypt-iQ commentedon Jun 22, 2026
Concept ACK, reviewing PRs when Github hides comments, takes forever to load, and times out is terrible. I am open to anything that does not require downloading something, loads comments, and has a clean stable interface.
stickies-v commentedon Jun 23, 2026
Concept ACK. Using GitHub made sense because it made our lives easier, but that seems to hold up less and less because of outages, bans, and a workflow (e.g. moderation, hidden comments, ...) that doesn't seem to perfectly fit the needs of many of us.
I don't have experience running self-hosted alternatives, but if there is an alternative that do not require large amount of administration and maintenance, and people are willing to take this on, that would be a nice alternative. I'd also be open to moving to another hosted service (e.g GitLab) if it means less maintenance or better functionality. Sure, it might mean we have to move again in x years if/when they change their terms or service, but similar concerns (maintenance, functionality, ...) exist for a self-hosted solution as well, so I wouldn't rule either out.
willcl-ark commentedon Jun 23, 2026
We have some existing repo metadata being archived (by the one and only @0xB10C) so I patched Forgejo to be able to import it and act as a full "read-only" mirror of this repo.
It's live, updated hourly, and available to browse here: https://git.fish.foo/bitcoin/bitcoin
I'm not advocating that we use this instance (or migrate now), but it is a nice demonstration that, as far as I can tell, we do actually have the data needed to do it in case of a GH ban, or whenever we fancy it (which may well be sooner rather than later).
achow101 commentedon Jun 23, 2026
As has been discussed before in the previous times this topic has come up, the biggest issue with self hosting is who is going to pay for and host it. Maintaining a self hosted instance that anyone can access will basically require hiring a sysadmin. I agree that github's recent uptime has been tragically awful, but I'm not certain that we would actually be able to do better without essentially hiring someone full time to maintain the self hosted instance. But it would also be nice to have to deal with these annoying "features" that github keeps adding.
A couple decentralized options have been mentioned, but I would like to voice my opposition to using those. I don't want to use anything which requires developers to have to install some other specific software just to access the git repo, not to mention how/whether those options at all integrate with CI.
Speaking of CI, we were recently forced to migrate CI to a new service. I don't think it would be a good use of time to have to migrate CI yet again, so if we decide to move off of github, then we should prefer some solution where the CI changes are minimal.
TheBlueMatt commentedon Jun 24, 2026
Given rust-bitcoin (well, me, but also soon others) is already doing it, I don't see a reason why Bitcoin Core couldn't use the same infra.
Sadly, AFAICT, none of them support moderation, which is also a deal-breaking IMO.
Luckily the forgejo Actions config file format is ~identical to the github one. See eg https://git.rust-bitcoin.org/rust-bitcoin/rust-psbt/pulls/111/files (note that "runs on" change is just cause I was running a different VM for it).
TheBlueMatt commentedon Jun 24, 2026
Another fun fact, in doing our migration we discovered a bug in Github's API where we had (at least) an issue which was totally fine but didn't appear in the issue list/search APIs.
5 remaining items
TheBlueMatt commentedon Jun 25, 2026
We're happy to forge (🥁 ) the way here. We have a loose plan of just spinning up AWS VMs for windows and mac jobs but haven't gotten far enough yet to test it out. Will let you know how it goes.
FWIW, the Forgejo CI runner is way nicer than the github one, it has native docker integration so it kinda Just Works if you give it an image.
fjahr commentedon Jul 15, 2026
Yeah, Gitlab is pretty maintenance intensive for something that is not actively used ;) It would be totally doable if someone takes the admin job more serously but I also would be happy if we find something more simple that gives us everything we need.
willcl-ark commentedon Jul 16, 2026
@TheBlueMatt I'd be interested to hear how this went/is going, if you have an update?
maflcko commentedon Jul 16, 2026
Just to clarify: We still have (painful) armhf support, so ideally there is an aarch64 VM with a 32-bit mode CPU, so that the qemu-armhf overhead can be avoided. Last time I checked only Hetzner supported this, but I am not sure.
yancyribbens commentedon Jul 17, 2026
@willcl-ark checkout git.rust-bitcoin.org
willcl-ark commentedon Jul 20, 2026
Sure I've already seen that. But I don't see any windows and mac jobs (but I only checked rust-bitcoin), which is what I was most interested in.
TheBlueMatt commentedon Jul 20, 2026
So far mostly good. We've been busy fixing unrelated forgejo issues and making some minor customizations to match workflows various folks have used on Github (and adding custom UI elements for workflows we have that were always awkward on github, eg reviewer assignment tracking).
One thing I hadn't really though about until we had to deal with it was that AI has made this kind of migration a lot less painful - if there's minor features we want (that don't change the DB format/data model) we can just have claude whip up a small patch and ship it in a half hour. We hit a few bumps in migration where comments ended up in the wrong spot but claude happily took care of the issues and even wrote a backfill script that moved all the old comments to the right spot and migrated things forgejo didn't previously support (eg comment thread resolution status).
I'll probably get to macOS/Windows tests sometime in the next week or two, but claude seems to be pretty damn great at dealing with these kinds of webapp problems so I don't imagine I'll hit much in the way of issues.
csjones commentedon Jul 23, 2026
FYI: Codeberg e.V. (the non-profit that also works on Forgejo) passed a vote amending codeberg.org's Terms of Use to disallow cryptocurrency-related projects https://codeberg.org/Codeberg/org/pulls/1254
This doesn't seem to affect self-hosting Forgejo but it does rule out codeberg.org itself.
xHope-tech commentedon Aug 14, 2026
I disagree.
nkaretnikov commentedon Sep 11, 2026
FYI: A critical vulnerability is fixed in the new release of Forgejo:
https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/16.0.4.md
A good moment to underline what I wrote previously:
Sjors commentedon Sep 15, 2026
I still have a preference for not rushing this, unless the maintainers strongly prefer moving.
Before the advent of LLMs, my stance was that Github gives us a network effect advantage that's worth some downsides. But maybe the bar to contribute is now so low, that this no longer holds. Agents will find the repo and walk you through opening a pull request, even if it's a hidden service with signup instructions in Klingon.
But my other reason is that I kind of like having Microsoft as a mutually-untrusted party. Of course maintainers with full Github access can already do all sorts of shenanigans (including to each-other), and maybe that doesn't change too much with a self-hosted instance.
@csjones wrote:
I think we should rule out moving from one single point of failure to another anyway.
@willcl-ark wrote:
In the scenario where we can take the initiative, I suggest a clean break:
The static website doesn't do anything initially, and we can redo the import if something doesn't render right. Only if Github nukes our (frozen) repo, we update all links on the live instance to point to the archive.
maflcko commentedon Sep 28, 2026
Just realized that this Forgejo is broken, as it doesn't update comment edits? E.g. the prior comment will just show the first version:
https://mirror.b10c.me/bitcoin-bitcoin/35574#issuecomment-5678816919 works, so I think I'll keep using that mirror while GH is down/broken.
willcl-ark commentedon Sep 28, 2026
Curious, thanks for reporting. They are using the same metadata backup to populate, so must be something on the forgejo mirroring. Will have a bot take a look.
willcl-ark commentedon Sep 28, 2026
OK the bot says its fixed (well, backfilling all updates still, but it will be "fixed"). I guess their native "mirror" service doesn't update stuff, but now it does.
and
https://git.fish.foo/bitcoin/bitcoin also has an experimental review bot running on pulls, either new or recently synchronised.
Feedback on its output is welcome to me via any channel.
You can add a bookmarklet to jump to a review from a PR with URL:
Code and prompts are here.