5 ms·
Ditching GitHub (2024)
- phillipseamore 1y agoI'm all for self-hosting like this or using less known services. But what about discoverability? Is there any good search engine for code? These days I often find more interesting projects when searching code on GH rather than by name or description on repos.
- rootnod3 1y agoThere's a project idea.
- torium 1y ago> I'm all for self-hosting like this or using less known services. I'm all for the idea of self-hosting in abstract, but in practice I don't want to spend my life looking after services. I'm all for the idea of growing your own rice, but in practice I'd rather pay someone else to do it for me. I'm not trolling, I'm just emphasizing a super super important aspect which HNers tend to minimize, which is that self-hosting is work and even people who are technically able to do it might not want to.
- wpm 1y agoPast the initial setup, really there's not much to look after outside of the odd issue here and there which can usually just be a "go restart container" solution.
- blueflow 1y agoI think its like 3 years that i put the upgrade commands into a cronjob and stopped looking after the server. It hasn't broken so far & is up-to-date. I think it only works with dumb and simple software stacks, though.
- nine_k 1y agoI suppose that the TFA author is lowering their load by not having to respond to inane issues, which is also work. Otherwise, yes, non-essential things are best delegated, especially when it's free. Some essential things also have to be delegated, if doing them yourself takes too much (like growing rice). The latter works best when the essential thing is a commodity with a wide choice of suppliers (like rice).
- uncircle 1y agoIn the age of Docker & co., people really overestimate how much effort it is to self-host a service. Probably it’s the entire generation that never ventured outside using AWS managed services. In practice, if you do not require 99.99% uptime SLAs, all you do is connect every 6 months to do a docker pull and update the image.
- dboreham 1y agoYou can setup mirroring to a github repo, with a repo description "This is a read-only mirror of <other non-github repo>". People find the project on GitHub and from there are directed to your self-hosted Gitea/Gitlab etc.
- dbg31415 1y agoPosts like "I'm leaving Facebook forever!", "Netflix has ads now!", or "Twitter is ruined!" always come off as angsty and self-important. This one's no different. I didn't even know Copilot was the issue until halfway through -- by then, I'd stopped caring. If Copilot is your dealbreaker, fine. But don't bury the lead. Just say what you're switching to and why it's better. That's the useful part.
- deleted 1y ago[deleted]
- ngetchell 1y agoBury the lede is the correct phrase. Otherwise I think you are spot on.
- dbg31415 1y agoInteresting. Seems both are now acceptable. https://www.merriam-webster.com/wordplay/bury-the-lede-versus-lead https://www.merriam-webster.com/wordplay/bury-the-lede-versu...
- mighmi 1y agoThe etymology is: > A deliberate misspelling of lead, originally used in instructions given to printers to indicate which paragraphs constitute the lede, intended to avoid confusion with the word lead which may actually appear in the text of an article. Compare dek (“subhead”) (modified from deck) and hed (“headline”) (from head). Further: > In 1990, the American author and journalist William Safire (1929–2009) was still able to say: “You will not find this spelling in dictionaries; it is still an insiders' variant, steadily growing in frequency of use. […] Will lede break out of its insider status and find its way into general use? […] To suggest this is becoming standard would be misledeing […] But it has earned its place as a variant spelling, soon to overtake the original spelling for the beginning of a news article."
- rapnie 1y agoNot noticing the spelling issue at first, I read your comment as "You also buried the lede. Otherwise I think you are spot on".
- lbhdc 1y agoI have had my ebbs and flows with github. I think one of the difficult things about moving away from it, is the loss of network effects for open source projects. If you have no public repos or don't care about contributions or discovery, this doesn't matter. I know the author is accepting patches, but even learning that their forge exists, and that the user wants to contribute is stymied if the users search for projects starts at a github search.
- pacifika 1y agoIf you force push a new init commit then the previous commits are still available on github if you know the commit hash like github does right? At least in a PR you would see a clickable old commit hash.
- mxmlnkn 1y agoYes. It can also be shown in the Activity tab or accessed and scanned for secrets or personal information via the API. See https://news.ycombinator.com/item?id=44452623 https://news.ycombinator.com/item?id=44452623
- palata 1y agoCouldn't you ask GitHub to remove that information? Wouldn't laws like the GDPR allow you to ask for that?
- CamJN 1y agoIn my experience, no they won’t help with gdpr takedowns. The only way to make things unavailable is actually to file a dmca notice against any url that you want hidden. This was actually the recommended approach from GitHub when I asked them about this. Absurd.
- palata 1y ago> The only way to make things unavailable is actually to file a dmca notice Is it costly to do? > In my experience, no they won’t help with gdpr takedowns I would have expected that I could say "This is my code, hence this is my data, and I want you to remove my data from your website". I wonder how hard it is to file a complaint to the EU and see what happens.
- chris_wot 1y agoI know this is going to sound silly, but how does one setup their own git server?
- esseph 1y agobrew install git (guessing, not a Mac user) sudo apt-get install git sudo dnf install git (Etc)
- terminalbraid 1y agoWhat's the server included with those packages? I thought those were just the command line utilities.
- beng-nl 1y agoTrue. Git works over ssh natively. you set up a repo in your homedir using “git init —bare”. Say in a repo subdir. Then doing git clone user@server:subdir will clone that repo on another machine and allow push and pull over ssh. In other words, the server is sshd. Enjoy!
- esseph 1y agowhispers "Pst, it's the same!”
- terminalbraid 1y agoI beg to differ as those, by themselves, will not give you a server as was requested. The examples upthread all include additional software, such as sshd, gitea, etc, for a reason. necessary != sufficient My question was posed because I believe the post did not read the original request carefully.
- esseph 1y agoYou don't need gitea for git and every Linux server has ssh, this doesn't make any sense.
- ashishb 1y agoWhat's unique to GitHub is not code hosting, UI or CI. Rather it is GitHub stars. People trust a project with 5K stars on GitHub.com more than a self-hosted project. VCs fund startups based on the star history. Big companies decide which FOSS projects to use based on the star history.
- LtWorf 1y agoGood thing you can buy stars online! Why do people trust these useless metrics? Ah yes because reading the code and deciding if it's any good is difficult.
- ashishb 1y ago> Ah yes because reading the code and deciding if it's any good is difficult. No one has infinite time in the universe to read the code of all alternatives before deciding which one is best for their use case. GitHub stars are a filtering mechanism. Most engineers, when given 5 projects with the following star count - 5K, 2K, 500, 200, 100, will only evaluate the code of the first two projects.
- LtWorf 1y agoThe first 2 projects are most likely to be VC backed and do a rug pull in the next 5 years.
- ashishb 1y ago> The first 2 projects are most likely to be VC backed and do a rug pull in the next 5 years. The first two are more likely to get VC backing. Rug pull is a false assumption.
- LtWorf 1y ago100% guaranteed when VCs are involved that something nasty will happen to the project. edit: lol you're an angel investor and I guess you feel attacked. I stand by what I said.
- LtWorf 1y agoThe codeberg.page domain, which projects can use to publish their documentation, ended up in some spam list so to link to ltworf.codeberg.page in my email signature I must link ltworf.github.io which then redirects to the real one. Imagine the noise if github ended up on a spam list.
- Klonoar 1y agoI mean, if the opposition is GitHub training on your stuff - or any AI, for that matter - self-hosting doesn't save you. This feels like a classic "tech thinking it can solve a politics battle". If you're making a self-determined ethical decision then I get it though. I also don't get why you wouldn't go for something like Forgejo/Gitea, or if you're really dead set on the email pattern like the author seems to, Sourcehut.
- LtWorf 1y agoI think the sourcehut guy is not the kind of person I would rely on. I followed his blog for a while and now I've stopped. I moved my personal stuff to codeberg. There's also the advantage that fewer people have accounts so I get fewer pull requests that change thousands of lines and fail every single test. Of course I could be wrong, predicting the future is difficult.
- deleted 1y ago[deleted]
- palata 1y agoNote that it's possible to self-host SourceHut and Forgejo.
- eviks 1y agoThat's like going back into a cave to protest modern housing development > This is not a technical, but a social problem. Indeed, and you've offered no solution by erecting a lot of social barriers
- mejutoco 1y agoDepending on the use case and who is using it, the easiest option to self-host git is a git --bare init command in a server where you can ssh. Of course it has no interface, etc. but it is functional to push and share commits, and there is nothing to maintain other than ssh credentials.
- watusername 1y agoOne issue that comes with leaving GitHub is a higher barrier to contributing. The author appears to see this as a nice filter, but it may not make sense for you. With a self-hosted forge, a new contributor will need to: a) Sign up for an account in your forge: Do contributors really want another account? Does your captcha/email verification actually work (I've encountered ones that don't)? There are also forges that require you to ask for an account which is another hurdle. b) Send an email: Configuring `git send-email` is alien to many contributors and may not even be doable in some corporate environments (OAuth2 with no app passwords allowed). Diverging from this is error-prone and against social norms which the contributor may not even be aware of (until they get flamed in the mailing list). You are also giving up automated CI which is a big part of the contributor feedback loop. To be clear, going independent does indeed work for small personal projects (do not care much about contributions) as well as established ones (large incentive for new contributors to jump over hoops), and I'm fully aware that a lot of HNers do not see the need for those "niceties" provided by GitHub. But I feel that people often underestimate the barriers that they are putting up.
- uncircle 1y agoI believe the slightly higher barrier is a feature, and a good filter for low quality spam. On the other hand, if I spent time and effort writing a patch for public release, I have no issues jumping through hurdles to see it published, whether I have to create an account or learning the correct incantation to git send-email. Usually the thing that stops contribution is finding the time and will to prepare a PR for review; in comparison to that effort, creating an account is trivial. The way I see it, using a distributed VCS like git benefits from having a distributed ecosystem. Putting everything in Microsoft’s hand for them to train their commercial AI product on your code is a little reckless and short-sighted. And we could do with fewer siloes.
- Arnavion 1y agoIt's also not a wasted skill. Once you've learned how to `git send-email` for the sake of one project, you're now prepared to do the same for others.
- bob1029 1y agoThe moment GitHub moved from Rails to React is when the spark went out for me. The web experience doesn't feel nearly as good. Perhaps from the offices in SF it's indistinguishable to the old SSR architecture, but every interaction feels like a trip to a geostationary satellite when using it from TX. I simply need my tools to not run like shit. There are things that you cannot do with GitHub anymore that you once were able to. For example, reviewing 500 file PRS might be an "anti-pattern" in HN's mind on average, but there are a lot of real-world scenarios at actual businesses where this comes up and there's literally nothing you can do about it other than have tools that don't suck at the job. I've been working on a self-hosted GitHub alternative in my spare time. The goal is to have a lightweight public instance for discoverability and community over reasonably sized projects and to also offer a freeware download of the same for private and other self-hosting needs. The entire focus is on the simplest possible thing. Absolutely zero energy into AI, LLMs, client-side rendering circuses, etc. All that really matters to me is code/issues/pulls - primarily in B2B SaaS contexts. I'm just trying to run a small team and manage a codebase for 1-100 customers. I don't need to run an entire war and I certainly don't need my tools to entertain me with an endless stream of shiny distractions.