Live data from Hacker News

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

news.ycombinator.com

21–30 of 67 posts

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

#21

Related question, is there a web-based self-hosted git replacement that's _light-weight_ (i.e. resilient to scraping)? Should have things like file view, file browser, etc but is not taxing on the server.

Forgejo. A single tiny golang binary, I think about 200mb. It has 75% of the functionality of gitlab with 5% of the resource requirements. I migrated to it and have never missed gitlab.

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

#22

sourcehut.org would be my choice. Drew is pretty adamant about stuff and his morales. You will dislike somethings (UI and some policies) but will like majority of the things (tech like CI/CD etc). It's OSS and can be self-hosted as well. But I think drew fighting LLM scrappers on our behalf is good for us. It's also cheap and should progressively improve going forward. It's my long term plan. And the project and comp…

[flagged]

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

#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

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

#24
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?

That's pretty much what git over https does by default (is it even possible to do read-write to a git repo over https instead of ssh?). https://git-scm.com/docs/http-protocol

> is it even possible to do read-write to a git repo over https instead of ssh?

Yes; it's not only possible but very common: https://docs.github.com/en/get-started/git-basics/about-remo...

(IIRC it is in fact actually even sometimes preferable from a security standpoint; or at least that's the tentative conclusion I've reached under a few specific circumstances over the years, although the exact details elude my memory at the moment.)

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

#25
Set up a GitHub action to auto-close any pull requests from anyone not on an approved list.

Leave a message in the pull request that if they want to argue their case for a pull request they can send a message through a communication channel of your choice, and say that anyone sending a message with AI generated text, even to help with language and grammar will be banned.

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

#26
post #21

Related question, is there a web-based self-hosted git replacement that's _light-weight_ (i.e. resilient to scraping)? Should have things like file view, file browser, etc but is not taxing on the server.

Forgejo. A single tiny golang binary, I think about 200mb. It has 75% of the functionality of gitlab with 5% of the resource requirements. I migrated to it and have never missed gitlab.

Forgejo is lightweight relative to some other options, but it is not resilient to scraping. Scrapers can access, commit-by-commit, each individual file, each file's "git blame", and each commit's repository archive... and they do. Most public Forgejo instances need to rely on a reverse proxy like Anubis or Iocaine in order to prevent server resources from being exhausted by bad actors. Or require sign-in for all access.

https://codeberg.org/forgejo/discussions/issues/320

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

#30
It depends on what you are looking to get out of the next platform.

For me, I'm not interested in the social aspect of coding anymore, so I have a Synology NAS running a git server accessible via ssh and I push my code there.

I use klaus (https://github.com/jonashaag/klaus) as a read only git web ui. My NAS is connected to my tailscale network so it's easy to view things on the go. It's a simple setup and works great.

Post reply on HN