this post was submitted on 17 Aug 2026
342 points (98.6% liked)

Programmer Humor

32862 readers
582 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Thinker@feddit.online 5 points 2 days ago (1 children)

If you're actually after decentralized, forgejo (the forge that codeberg hosts) is probably what you want. Either that or, if you don't actually need all the features of GitHub (Pull Requests, Continuous Integration, Issues, etc. via a web interface), you can just keep your git repo(s) in multiple remotes, you don't need a dedicated forge.

[–] hexabs@lemmy.world 1 points 2 days ago* (last edited 2 days ago) (2 children)

Could you elaborate on the multiple remotes setup please? Does it mean I keep multiple laptops running each acting as a git remote?

Currently I have my primary PC and one refurbished ThinkPad with an external HDD to run pihole, jellyfin etc.

I'm thinking this would not be a very safe setup - being an HDD and old thinkpad and all.

[–] Thinker@feddit.online 2 points 1 day ago (1 children)

You could instead have your "primary" remote (a la "origin" in GitHub) in a VPS hosted by a hosting service you trust. The idea is basically just that you don't actually need a forge to host your git repo, you only the git repo in a file system and an http connection.

[–] hexabs@lemmy.world 1 points 1 day ago

That makes sense actually. So it's an IaaS setup instead of GH's crappy Saas.

[–] Unleaded8163@fedia.io 2 points 1 day ago (1 children)

For personal projects, I work on my main laptop and have a remote set to my server which runs in my garage. I push changes from my laptop there. That server gets backed up to a S3 like cloud storage bucket. The backups are all encrypted on my server before going to the cloud.

All you would have to add is the off-site backup from your laptop. If you want to share your code on Github, Codeberg, GitLab, etc. you can just add additional remotes in git and the push will go to all of them.

[–] hexabs@lemmy.world 1 points 1 day ago (1 children)

This is pretty cool, so you have a cron job to secure tarball and push it to a cloud? How often works for you?

[–] Unleaded8163@fedia.io 2 points 1 day ago

I actually use rclone. It's kind of rsync++, so only copies differences. It also handles the encryption for me. I think I have it running about every 5 minutes on that server. Most of the time it only runs for a few seconds to verify that nothing has changed.