this post was submitted on 10 Dec 2025
443 points (99.6% liked)

Selfhosted

53656 readers
763 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

  7. No low-effort posts. This is subjective and will largely be determined by the community member reports.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

By 'Git instances' they mean Gogs instances that allow open registration. I know most of the community moved from Gogs to Gitea, and then to Forgejo, but thought this was still worth noting.

you are viewing a single comment's thread
view the rest of the comments
[–] 1984@lemmy.today 71 points 4 days ago* (last edited 4 days ago) (5 children)

People have open registration on those things... Thats.. Brave...

I have my own gitea instance in my homelab but of course its not accessable from the internet.

[–] quick_snail@feddit.nl 13 points 4 days ago (3 children)

Well that kinda kills collaboration

[–] 1984@lemmy.today 18 points 4 days ago (1 children)

Yeah. If I needed collaboration, I would just whitelist their ips or require everyone involved to use Wireguard vpn, Tailscale or other solutions that allows access without being publically exposed.

[–] quick_snail@feddit.nl 6 points 4 days ago (1 children)

That kills collaboration from new people who just, like, discovered your project on some Lemmy thread

[–] Natanael@infosec.pub 8 points 4 days ago

They can still collaborate old school way. You can publish static mirrors of git, then take email patches lol

[–] Jason2357@lemmy.ca 2 points 3 days ago

You can git pull a repo to your machine, make your changes and then use git to submit a patch via email. Its not pretty, but it works. Hopefully federation is built soon and you will be able to submit a pull request from your own forge.

[–] greedytacothief@lemmy.dbzer0.com 5 points 4 days ago (1 children)

I do the same thing. Anything I put on there isn't something that I would share with the Internet anyway. If it was a serious project, sure. It's just nice to have a personal git you can access over a VPN sometimes.

[–] Lightfire228@pawb.social 8 points 4 days ago (4 children)

I wonder if it'd be feasible to make a fediverse github

[–] JackbyDev@programming.dev 6 points 3 days ago (1 children)

Git is already a distributed version control system.

[–] Lightfire228@pawb.social 1 points 3 days ago* (last edited 3 days ago) (1 children)

But it doesn't have any built-in concept of users, write permissions, or authentication (except for commit signing)

Hosting an unauthenticated git repo would be the equivalent to an open ssh port with no password required

Not to mention collaborative things like issue tracking, PRs, forums, etc

[–] JackbyDev@programming.dev 2 points 3 days ago (2 children)

Forgejo has all that, and then you can achieve "federation" by virtue of pushing to whatever remote. I wasn't suggesting people use git itself (which is possible). I just meant that it's distributed as opposed to centralized like Subverison is.

[–] WhyJiffie@sh.itjust.works 1 points 2 days ago (1 children)

no, forgejo doesnt have "all that". you are totally missing the point. git is federated, of course, but the added features of forgejo or any other known git forge is not (yet).

[–] JackbyDev@programming.dev 0 points 2 days ago* (last edited 2 days ago) (1 children)

concept of users, write permissions, or authentication

collaborative things like issue tracking, PRs, forums, etc

Forgejo has those, yes.

[–] WhyJiffie@sh.itjust.works 0 points 1 day ago (1 children)

and where does forgejo support federation for issues, PRs?

[–] JackbyDev@programming.dev 0 points 1 day ago (1 children)

Never said it did, and the comment replying to didn't say it did either.

[–] WhyJiffie@sh.itjust.works 0 points 1 day ago (1 children)

seems right. actually you were just not responding to the questions of anyone in this chain, but always responding with irrelevant things. and thanks for the downvotes! please bring some more.

[–] JackbyDev@programming.dev 1 points 1 day ago

"never said it did" was a response to where Forgejo supports federation for issues and PRs.

[–] hikaru755@lemmy.world 5 points 3 days ago

Well but distributed != federated. Which is why Forgejo is currently working on a federation feature.

[–] eutampieri@feddit.it 3 points 3 days ago* (last edited 3 days ago)

There was a discussion on Forgejo and ActivityPub IIRC

Edit: this is what you’re looking for: https://forgefed.org/

[–] dariusj18@lemmy.world 1 points 3 days ago

An interesting similar idea is https://github.com/gitsocial-org/gitsocial

"Decentralized open-source Git-native social network"

[–] ITGuyLevi@programming.dev 2 points 4 days ago (2 children)

I keep mine accessible from the internet, its just more useful to me like that. I do have registration disabled though and SSO is handled by Authentik so it could be worse (my personal goal has just been to not be the easiest target, perfect security is a myth in my mind).

[–] Jason2357@lemmy.ca 2 points 3 days ago

Theres a HUGE difference between hosting it essentially read-only to the world, vs allowing account creation, uploading, and processing unknown files by the server.

I have thought of blocking access to the commit history pages at the reverse proxy to cut off 99% of the traffic from bots. If anyone wants to look at the history, its just a git clone away.

[–] possiblylinux127@lemmy.zip 1 points 3 days ago* (last edited 3 days ago) (1 children)

You could also throw it behind mTLS

[–] ITGuyLevi@programming.dev 1 points 3 days ago

I could, but then I would have issues getting to it from work; from the bit I've read about mTLS, it's not really indended for my use case, I think I'll just stick with TLS.

[–] irmadlad@lemmy.world 2 points 4 days ago

My motto is 'Users cause complexities and complexities cause problems'.

[–] possiblylinux127@lemmy.zip 1 points 4 days ago

It is because it is the default