this post was submitted on 27 Jul 2025
64 points (98.5% liked)

Selfhosted

49903 readers
309 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.

Resources:

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

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I am looking for recommendations for an open source self-hosted ~~version control system~~ source code hosting service. I found a few, but I can't decide on which one to pick:

If there's a better one than the ones I've listed here, I'd love to hear about it!

I care primarily about privacy and security, if that makes any difference.

you are viewing a single comment's thread
view the rest of the comments
[–] i_am_not_a_robot@discuss.tchncs.de 9 points 2 days ago (3 children)

You're missing GitLab. I'd be looking at GitLab or Forgejo.

But you might not need this. When you access a private Git repository, you're normally connecting over SSH and authenticating using SSH keys. By default, if you have Git installed on a server you can SSH to and you have a Git repository on that server in a location you can access, you can use that server as a Git remote. You only really want one these services if you want the CI pipelines or collaboration tools.

[–] vividspecter@aussie.zone 9 points 2 days ago

Having a web UI is useful even if you're not using the extra tools. Not mandatory of course, but nice.

[–] kattfisk@lemmy.dbzer0.com 1 points 1 day ago (1 children)

I feel like you made it sound a bit backwards :)

There's nothing to install on a "git server", git doesn't have a server component. You can point your git client to a remote place where it can store its files using SSH. But you don't install anything on the server for this.

Which is why self hosting a git remote is super easy. All you need is a server with ssh and a little bit of storage.

If you just want to sync code between different computers and have a backup, that's all you need.

Git does have a server component. When git connects to an ssh remote it executes an ssh command that needs to be present.

[–] Arigion@feddit.org 2 points 1 day ago

This is not true. There are lots of places where ssh/vpn is blocked by a firewall while https usually is allowed. So if you want to access/push code while travelling it might be really helpful to have https access to the repo. That was the only reason for me to set up gitlab years ago.