Live data from Hacker News

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

news.ycombinator.com

41–50 of 67 posts

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

#41

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.

If they have a blog or use a static site generator they could host their github repos online and use a plugin or something to display them. Or even just post links to the repos. It might cause bandwidth issues for popular projects and you wouldn't have any of the "social" features like stars (which in this case would be a feature) but it should be possible. Depending on how the backend is set up you might not even need to put the repos in the web path at all.

But I'd still say just use Codeberg. And see if there's an option to turn off PRs wherever your projects are hosted.

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

#42
For read-only code sharing, I would say use cgit and a VPS.

If you need a forge with all the bells, grab a copy of Forgejo and modify it to your liking.

Either way, consider using a VPS or a machine you own with Tailscale/VPN. It can be as simple as you'd like it to be.

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

#44
Codeberg. They ONLY host open source software, it's sponsored by European institutions, Zig moved there too.

In the near future I'm also adding Forgejo to our Kexxu servers. Forgejo is basically Codeberg (but you need to host it). If you want a private repo on Kexxu just ask.

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

#45
Anywhere you accept unvouched pull requests will end up being spammed. You might find some respite at other sites, but whether you stay or go: you’re better off disabling pull requests on your projects for everyone but you, and then using discussions (like ghostty) where people petition to work on a feature; if they can convince you it’s a feature that’s valuable to you, then you can pull from their branch (like Linus) and merge them yourself when ready. That will halt the PRs and give you a much reduced pool of noise, as most fly-by-night sloppers won’t be interested in spending the extra tokens on both code and discussion. (You’ll still get entitled human beings who demand you add and maintain their solution to their needs, but that’s much easier to sift out and discard once people have to discuss their needs in written words rather than code.)

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

#46

Git. Move your platform to git. See here for a howto: https://mikhailian.mova.org/posts/305-looking-for-a-european...

Did you mean something else? GitHub is based on Git.

Git isn't a platform for hosting source code, it's a program / protocol that GitHub and other platforms use.

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

#47
post #46

Git. Move your platform to git. See here for a howto: https://mikhailian.mova.org/posts/305-looking-for-a-european...

Did you mean something else? GitHub is based on Git. Git isn't a platform for hosting source code, it's a program / protocol that GitHub and other platforms use.

Click on the link above.

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

#48

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.

Obligatory reminder that you can clone a git repo around your local filesystem and so on too. Same goes for other git operations as well.

https://thehorrors.org.uk/snippets/git-local-filesystem-remo...

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

#50
post #46

Earlier quoted context omitted.

Did you mean something else? GitHub is based on Git. Git isn't a platform for hosting source code, it's a program / protocol that GitHub and other platforms use.

Click on the link above.

I think it's obvious that's not what the poster is looking for.
Post reply on HN