by alexjplant · 1w ago · 0 comments
On the topic of the social aspects of GitHub: earlier this year I was fortunate enough to grab coffee with a prolific OSS developer when they were in town and one of the things that occurred to me apropos of the GitHub outages we discussed was that an open standard for federated SCM/forges would be a great idea. A big problem with the Fediverse is the bootstrapping problem due to the learning curve scaring away casual users. This doesn't apply to software engineers and more technical audiences. Having a Fediverse of Gitea instances with people following one another and pushing repo updates would be awesome and ameliorate some of the issues being discussed here.
I've only authored one or two projects that might be useful to others so I won't miss the social aspect of GitHub.
https://codeberg.org/forgejo-contrib/federation/src/branch/m...
You can self host as much or as little as you want, from git servers to CI to all the frontend stuff, while remaining connected to Tangled and other users on atproto. It's still rough around the edges but has potential IMO.
https://atproto.com/blog/getting-ready-for-the-spaces-public...
And there's always the option to only federate with specific hosts, and make a truly internal network that can be arbitrarily private. You just don't get free replication by random people.
1. ease of setup, creation, and management of projects (gitolite, Gitea/Forgejo, etc.);
2. user management for small teams/collaboration (gitolite, Gitea/Forgejo, etc.);
3. project discoverability/searching/navigation without having to check out the code (cgit, Gitea/Forgejo, etc.);
4. integrated issue, PR/patch management, and other collaboration workflows (Gitea/Forgejo, etc.).
Forges specifically are about providing collaboration tools within a single UI (item 4), like what GitHub provides.
How much of this you want/need will depend on what you are using git for, what your backup/recovery setup looks like, and whether the projects are just for you or a team.
I use git from the command line, but the moment I need the tracker I know the path of least resistance is to push to Gitlab, Github or a Forgejo instance.
I wish that there was something like Gitea/Forgejo with the flexibility of gitolite; i.e. separating project/repository layout and management from user management.
I did a similar setup recently with Tailscale. You can have your router resolve a domain locally to the LAN IP. The Tailscale connector in the cluster can advertise the gateway IP and the ACL can allow DNS-related traffic to it, so it works while you’re away from home. Can even have admin subdomains which the LAN router resolve to a Tailscale IP, and the tags on the cluster prevent anyone else from resolving those subdomains.
And for a public domain you can have the router resolve the internal IP, and still do cloudflare tunnel. I guess a local device could get a DNS cache that resolves the external IP, but not a big deal. If a device is mostly on the LAN, it would get the internal IP anyways.
Unifi routers can set wildcard A records which is nice when you have lots of little sites for yourself.