Live data from Hacker News

Leaving GitHub for Forgejo

jorijn.com

51–60 of 380 posts

Re: Leaving GitHub for Forgejo

#51
post #7

Is Forgejo Actions any good? CI/CD would be cool.

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)

Re: Leaving GitHub for Forgejo

#52

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…

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.

I can’t wait for federation in Forgejo. With that, there’s honestly no reason not to host your own forge.

Re: Leaving GitHub for Forgejo

#54
post #46
post #34

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

> 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…

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.

Re: Leaving GitHub for Forgejo

#55
post #12

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.

Thank you for this, GitSocial is a very cool piece of software!

Re: Leaving GitHub for Forgejo

#56

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…

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"

Re: Leaving GitHub for Forgejo

#58
post #40
post #28

Earlier quoted context omitted.

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 c…

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?

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.

Re: Leaving GitHub for Forgejo

#59
post #46
post #34

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

> 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…

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.

Re: Leaving GitHub for Forgejo

#60
post #53

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.

> I'd be more curious as to why people are staying on GitHub

Vanity metrics.

GitHub initially tried to shy away from this, I remember conversations with early GitHub engineers trying to make sure "Stars" and "Followers" numbers were going into the direction of being just for vanity and popularity.

Then eventually the profile READMEs appeared, which people now use for showing even more vanity metrics and brag about how much code they can produce in how little days.

Since employers also ask you for a GitHub profile, it ends up being needed for new developers to make an entry into the industry, without it companies will basically ignore you. Unless you're really, really good, which to be honest, most of us aren't.

Post reply on HN