Live data from Hacker News

Ask HN: Due to spam on GitHub, what platforms can I move my projects?

news.ycombinator.com

31–40 of 67 posts

Re: Ask HN: Due to spam on GitHub, what platforms can I move my projects?

#32
post #23

Git is pretty simple to host yourself. For literally decades I've used git and gitolite to host git for me and a revolving team of developers. But if you want it to be public though where anyone can access/fork it then you have to deal with "spam".

How do you deal with bot traffic and traffic from AI that's trying to get training data from your codebase

Same way you would for any other server. And I mean that 100% literally, given that at the command-line level the remote is simply a URL: https://git-scm.com/docs/git-remote

Re: Ask HN: Due to spam on GitHub, what platforms can I move my projects?

#33
post #9
post #3

Earlier quoted context omitted.

I'm not familiar with git, but can you post a read-only version publicly so others can still access all the commit history but not be subjected to pull requests?

If you have somewhere to host it you can go with https://forgejo.org/ and have control over everything.

Git doesn’t even need to be “hosted” in the traditional sense. The whole point of it is that it is distributed and you don’t actually need a centralized source of truth.

Re: Ask HN: Due to spam on GitHub, what platforms can I move my projects?

#34

Codeberg.org is really great. Also I recommend self-hosting Gitea for private projects and backing-up public projects

I use forgejo myself but both are great choices. Self hosting has improved dramatically over the last decade. So many things that I would never think we'd have access to, like open source PaaS software on-par with what VC companies offer (dokploy, coolify, or komodo).

Re: Ask HN: Due to spam on GitHub, what platforms can I move my projects?

#35
This is evidently not a popular opinion, but git repositories don’t need to be hosted on any platform. Your local repo is a complete copy and can be pulled and pushed from and to. If you really want a backup or “source of truth” copy, you can clone it anywhere you have shell access. We make so many simple things hard unnecessarily.

Re: Ask HN: Due to spam on GitHub, what platforms can I move my projects?

#37

This is evidently not a popular opinion, but git repositories don’t need to be hosted on any platform. Your local repo is a complete copy and can be pulled and pushed from and to. If you really want a backup or “source of truth” copy, you can clone it anywhere you have shell access. We make so many simple things hard unnecessarily.

If this was a viable option, OP would just private his GitHub repos, but it's pretty obvious that he wants to make them available publicly.

Re: Ask HN: Due to spam on GitHub, what platforms can I move my projects?

#38
post #23

Git is pretty simple to host yourself. For literally decades I've used git and gitolite to host git for me and a revolving team of developers. But if you want it to be public though where anyone can access/fork it then you have to deal with "spam".

How do you deal with bot traffic and traffic from AI that's trying to get training data from your codebase

Only developers that have sent me their public ssh key have access to
Post reply on HN