Settings

Theme

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

61 points by ciwolex 16 days ago · 66 comments · 1 min read


I have a few projects on Github. I am receiving a lot of spam PRs and requests from vibe coders and bots. Most of them to prop up their profiles. The stars are obviously exaggerated too.

What other platforms are you using for your projects?

ryandrake 16 days ago

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.

  • iLoveOncall 16 days ago

    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.

    • krapp 16 days ago

      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.

  • thayne 16 days ago

    That only works if you are only using Github as a place to store your code. I'm not the OP, and maybe their situation is different, but I want to continue getting sincere human PRs and issue reports on my projects, but want to reduce or eliminate the amount of AI produced spam.

  • aquariusDue 16 days ago

    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...

jasonriddle 16 days ago

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.

altairprime 16 days ago

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.)

  • analog_daddy 16 days ago

    Really surprised that this is not the first thing everyone does on their repositories.

    I am not a celebrity on github and not even agents bother with my repositories, however, even before the bot pull requests/issues, I always made sure to enable only the things I felt I would want to use and provide a way for someone to reach out in case I was expecting collaboration/feedback.

    I realized that anyone can create a PR to upstream, when I accidentally did so using the github web UI on mobile. Felt embarrassed and immediately closed it. But, then it made sense that why people were frustrated with this sort of thing happening to big repositories.

    • altairprime 16 days ago

      I only thought to do this a few months ago. Change is rarely obvious and never evenly distributed.

ciwolexOP 16 days ago

I think one important factor would be still being able to interact with a community of people who care for software and would like to put genuine thoughts. Whether it be for submitting bug reports, issues, PRs or security reports. Of course other platforms are not diverse as GitHub, it would be nice to see which other platforms are attracting such people. This in turn has a higher chance of interacting with such people.

rolph 16 days ago

New repository settings for configuring pull request access [feb13-2026]

https://github.blog/changelog/2026-02-13-new-repository-sett...

unsungNovelty 16 days ago

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 company is setup in a way to be here for the long game. So, I am progressively moving my projects (private and in small numbers, but still...) from gitlab to sourcehut over this year or next.

Link - https://sourcehut.org/

  • atmosx 15 days ago

    > Drew is pretty adamant about stuff and his morales.

    Which is, by all accounts, a double-edged sword. Cuts both ways.

    • unsungNovelty 13 days ago

      I mentioned it right? Some you'll like, others you won't. :)

      I don't have to like all of his policies. Cos I have a ton of things I don't like about GitHub compared to Sourcehut.

      • atmosx 12 days ago

        Agreed. I’m also rather slowly migrating stuff to sr.ht and following tangled, still in beta.

  • velebak 16 days ago

    I second this. Ive been using sourcehut for a few years for personal stuff. Worth every penny at twice the price.

comrade1234 16 days ago

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".

senorcrab 16 days ago

Codeberg.org is really great.

Also I recommend self-hosting Gitea for private projects and backing-up public projects

  • shimman 16 days ago

    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).

ratg13 16 days ago

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.

cobertos 16 days ago

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.

  • xrd 16 days ago

    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.

    • mfenniak 16 days ago

      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

  • motoroco 16 days ago

    gitea runs well on a low end server in my experience. self hosting on hetzner and it's somehow the holy trinity of cheap, fast and reliable. I previously (years ago) self hosted gitlab but I remember it being very slow which was the reason I moved on

  • sneak 16 days ago

    I like Gitea.

xeonmc 16 days ago

You can disable PRs and Issues on GitHub. Though still good to migrate away for reliability considerations.

hstaab 16 days ago

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.

gwbas1c 16 days ago

I kind of wish there was some kind of way to be licensed as a professional (or amateur) in a way that could be used to block AI-originating PRs.

Not that it would be perfect, but if I could set the bar to "only licensed software engineers" can open PRs, it at least sets the bar that only accounts controlled by people who know what they're doing can open a PR to my repo, as opposed to letting anyone in the world who knows how to prompt open a PR.

(That being said, I personally haven't encountered AI SPAM on my github repos. Maybe my projects just aren't popular enough?)

austin-cheney 16 days ago

Forgejo looks really popular right now. I have also heard good things about codeberg.

https://forgejo.org/

  • schmookeeg 16 days ago

    I'm enjoying forgejo as a self-hosted repo. No complaints, and the actions I was using on GH transferred over cleanly. I understand it's not quite fully compatible though, but worth an exploratory smoke test.

    I hate the name though and resist saying it aloud. But that's been true of a few of my tools over the years :)

pan69 16 days ago

Does anyone has experience with AWS CodeCommit? It might not be what OP is looking for but since we're talking about moving away from GitHub. Personally I already pay for GitHub so I don't mind paying for something else. Just wondering if anyone has experience to share.

https://aws.amazon.com/codecommit/

lostmsu 16 days ago

Not sure how the options suggested in this thread except closing the PRs to collaborators only are going to solve spam problem. Obscurity?

jurschreuder 16 days ago

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.

ruuda 16 days ago

Codeberg

  • FabCH 16 days ago

    Codeberg hosts some decently high profile projects.

    It’s probably the one to go for.

    Consider donating for their hardware costs. They are completely transparent about their costs and where the money goes.

    • ciwolexOP 16 days ago

      That's awesome, I didn't know they went to that level of transparency. I think this is a strong consideration.

  • sixtyj 16 days ago

    PROJECTS: 608267

    It seems to be alive.

drakmail 16 days ago

Self hosted forgejo is pretty good for me

rurban 16 days ago

Pretty easy to setup a PR block for anybody you dont like. Like every other people. Or new people

sam_lowry_ 16 days ago

Git. Move your platform to git.

See here for a howto: https://mikhailian.mova.org/posts/305-looking-for-a-european...

paulsmal 16 days ago

forgejo was already mentioned,but I also found this interesting fork recently https://upd.dev

tocariimaa 16 days ago

Codefloe

ElectronBadger 16 days ago

Codeberg.org

sixtyj 16 days ago

Gitlab

ctdinjeu8 16 days ago

Today in: Non-issues

maxdo 16 days ago

Move it to private GitHub repo. Really weird question if you open to public , pr is what’s expected .

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection