Live data from Hacker News

If I could make my own GitHub

matduggan.com

21–30 of 160 posts

Re: If I could make my own GitHub

#21
This makes total sense to me. Everything that makes up the state of your project should either be part of the versioned repo (git) or not be part of the project.

I created a little Github Issues replacement for myself that puts the issues within the repo so that the work and the todos stay in sync. https://github.com/steviee/git-issues

And I bet there's numerous other projects like that.

Hope you get your submarine, man! ;)

Re: If I could make my own GitHub

#22
post #13

I really like Gerrit's workflow with diff reviews as opposed to pull requests, but unfortunately compared to something like gitea it lacks everything else we've come to expect from git hosting (issues, project planning, etc) which makes it seemingly a hard sell for many. I really wish there was a nice diff review platform kind of like phabricator but alas.

But why doesn't Gitea add it? It already has everything else, why are these forges always Github clones instead of doing more?

Re: If I could make my own GitHub

#23

> Stuff happens in the wrong order. You know the PR. Commit 1: 'Feature.' Commit 2: 'fix.' Commit 3: 'fix.' Commit 4: 'actually fix.' Commit 5: 'please.' Commit 6, made at 11:47 PM on a Thursday: 'asdfasdf'. This person has a family. This person has hobbies. This person is, at this moment, crying. You don't want the feedback loop after the commit you want it before. Let me do an enforced pre-commit hook to run the jo…

> you can just run the tests on the local machine, and you should be running them as part of your workflow.

aren't you describing why you'd want a pre-commit for this? you do not have to remember to do so, and new people do not need to learn it.

Re: If I could make my own GitHub

#24
post #22
post #13

I really like Gerrit's workflow with diff reviews as opposed to pull requests, but unfortunately compared to something like gitea it lacks everything else we've come to expect from git hosting (issues, project planning, etc) which makes it seemingly a hard sell for many. I really wish there was a nice diff review platform kind of like phabricator but alas.

But why doesn't Gitea add it? It already has everything else, why are these forges always Github clones instead of doing more?

My best guess is lack of resources and that they want to focus on the well known PR workflow instead of trying new things out of the gate. It's exactly that, it's a proven github workflow for better or for worse that most people are familiar with.

Re: If I could make my own GitHub

#26
post #7

The alternative to GitHub is already here. It is called self-hosting and there are many alternatives. The Linux kernel is not hosted on GitHub and uses cgit. Others use GitLab, or Gitea and there is also Forgejo (Which Codeberg uses) that people are using and can be self hosted. This is why now everyone is realising why "centralising everything to GitHub" [0] was a terrible idea and now GitHub has been (unsurprisingl…

If you think GitLab is a good alternative to GitHub, I have 0 trust in you.

GitLab and Azure are a daily source of pain for us.

Re: If I could make my own GitHub

#27
post #18

This article says git was designed for distributed version control. Then says git doesn't work for most distributed projects because there isn't high trust. But, I'm puzzled why people would still want to build software with low trust.

Discussions like that need to get into the details: trust to do what? You don't want to let randos force push over your repository but you might want to let them submit patches.

Re: If I could make my own GitHub

#28
post #5

Doesn't sound too hard. Why don't you see how far you get in a weekend with Claude.

This can be the mindset now with a lot of things. If you want a certain app with a feature and the app isn't open source, then you may as well just clone the app and add the feature. Claude Code and Codex (and other tools) have computer use and are perfectly capable of navigating, experimenting, cloning functionality, writing tests... If the app is open source it's probably easier to just fork and add your features t…

Hell, I use the (closed-source) app Smart Audiobook Player and I wanted Audiobookshelf integration. I asked Claude, it decompiled the app, added the extra code, recompiled the APK and it works perfectly, syncing my book's progress with the server.

Truly magical, it would have taken me months.

Re: If I could make my own GitHub

#29
post #26
post #7

The alternative to GitHub is already here. It is called self-hosting and there are many alternatives. The Linux kernel is not hosted on GitHub and uses cgit. Others use GitLab, or Gitea and there is also Forgejo (Which Codeberg uses) that people are using and can be self hosted. This is why now everyone is realising why "centralising everything to GitHub" [0] was a terrible idea and now GitHub has been (unsurprisingl…

If you think GitLab is a good alternative to GitHub, I have 0 trust in you. GitLab and Azure are a daily source of pain for us.

Can you name some? I keep wondering about the aversion to Gitlab. I have yet to have negative experiences with it.

Re: If I could make my own GitHub

#30
> I was prompted to write this after reading the good post about Ghostty leaving GitHub but it's something I've written and talked about for a few years.

Many of us were annoyed already when Microslop, 'xcuse me, Microsoft assimilated GitHub. But we have to be realistic - alternatives often sucked. Sourceforge? I find creating issues there annoying to no ends. I can use gitlab, which is a bit better than sourceforge, but I also hate creating issues there. I recently saw codeberg appears to have updated its UI (I think?), but I also find it quite annoying.

What GitHub got right were, initially, the UI; and also a focus on folks using github, e. g. making things easy/easier for them. They did not get everything right though - the wiki support I find awful. I rarely use the wikis because they are so bad.

I think the really big problem is that there are commercial interests aka private interests. Microsoft is just one example here; it is a problem literally everywhere in similar sites. In the past I pointed at the example of discussions in issues, with regards to the xz backdoor utils - and the next day after I also participated in discussions, Microsoft took it all down; though it also does not matter if it was Microsoft or the repository owner. The problem is that individuals can too easily censor potentially useful information. The issue discussions WERE useful, and they were censored. If I remember correctly, all information from back then was never fully reinstated. Perhaps people mirrored it, but I did not see a link. The point is that I think this shows that top-down control can be really detrimental. And let's be honest: how many of you trust Microsoft? We kind of need something that is de-central, works reliably and well, and also has a good UI by default and a simple (or at the least a good) workflow. And we also need to avoid the situation where private actors can hold everyone else a hostage. I have absolutely no idea how to solve the above; perhaps it requires different approaches at the same time.

The www kind of changed and I feel that private interests - aka huge mega-mega corporations in particular - made things a lot worse in the last 10-15 years here. That needs to change.

Post reply on HN