this post was submitted on 06 Mar 2025
71 points (89.9% liked)

Selfhosted

58085 readers
1303 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
 

Looking for your personal lists of Github repositories, which might be deleted from Github at some point, for whatever reason. For example, the maintainer might delete his account from Github or archive all his repositories.

A famous example of an open source project, which had trouble to continue thriving, is youtube-dl.

Which projects' repositories do you think are worth backing up?

all 23 comments
sorted by: hot top controversial new old
[–] zqwzzle@lemmy.ca 20 points 1 year ago

Archive team has GitHub as one of their projects, but it doesn’t target a specific repo.

https://wiki.archiveteam.org/index.php/Warrior_projects

[–] ocean@lemmy.selfhostcat.com 16 points 1 year ago (1 children)

I think the biggest ones that would suck if lost would be Qbit, Jellyfin, and Trilium. Qbit because it download and share a lot with it. Jellyfin because of most of my family’s media consumption is via it. And trilium because most of my notes from the past year plus are there plus imported others. It’s essential.

[–] Akito@lemmy.zip 0 points 1 year ago (1 children)

Okay, but are they in danger of being removed? I think, they should be very well preserved...

[–] ocean@lemmy.selfhostcat.com 14 points 1 year ago* (last edited 1 year ago)

I mean I’m not sure! The way you worded accounts being deleted or repos made me think you meant in general

Edit Yeah you say worth preserving. So for me I will go back those up!

[–] demesisx 11 points 1 year ago

I used to keep a list of repos to pull onto my NAS in case they someday went closed source. I use “mr” for it. It worked great. I had it on a systemd timer.

https://myrepos.branchable.com/

[–] ocean@lemmy.selfhostcat.com 3 points 1 year ago* (last edited 1 year ago) (4 children)

Wonder if there’s a docker to backup and update repos

[–] gwheel@lemm.ee 18 points 1 year ago (5 children)

Forgejo has an option to mirror a repository and update on a regular interval. It won't get wikis or issues though. I've got mine set up to mirror a bunch of decomps.

[–] 486@lemmy.world 7 points 1 year ago

It won’t get wikis or issues though.

You can easily mirror Github wikis as well. You just need to add .wiki.git to the repo URL. That way you can clone the wiki just like any other Git repo.

[–] Akito@lemmy.zip 2 points 1 year ago

Running Gitea and want to mirror worthwhile repositories, hence this post. :)

[–] mesamunefire@piefed.social 2 points 1 year ago

Yep and you can dictate the sync time. It's great.

[–] ocean@lemmy.selfhostcat.com 1 points 1 year ago

Thanks! This is great to know.

[–] slazer2au@lemmy.world 1 points 1 year ago (1 children)

How do you do that without needing a pak for that repo?

Unless I am doing something Wong which is always likely.

[–] Arghblarg@lemmy.ca 3 points 1 year ago

Dunno about docker setup, but I mirror github repos I worry may disappear automatically using my self-hosted gogs instance. (Gitea/Forgejo likely also can do it). It's point-and-click, you just specify the github URL and check a box "this is a mirror".

[–] ocean@lemmy.selfhostcat.com 1 points 1 year ago* (last edited 1 year ago) (2 children)

@TeamAssimilation@infosec.pub Why did you report my comment???

Reason: Honest question: why docker if a simple git command is enough?

[–] TeamAssimilation 3 points 1 year ago* (last edited 1 year ago) (1 children)

I don’t recall reporting any comment today. Can I fix that if I reported it somehow?

Edit: shit, I see I used report instead of reply. Im sorry.

[–] ocean@lemmy.selfhostcat.com 2 points 1 year ago

I figured it seems like a response not a report! Thanks for clarifying :)

I agree with cli command over docker. Sometimes docker is easier for the less informed though, me.

[–] InnerScientist@lemmy.world 1 points 1 year ago

You triggered the independent thought alarm

[–] kane@femboys.biz 1 points 1 year ago (1 children)

Don’t really have a recommendation about which, but I do about how.

For repositories that I deem important, either for practical or nostalgia reasons, I use Gitea to keep an up to date clone. I believe most self hosted Git solutions offer a similar functionality, like Gitlab has one too that I’m aware of.

[–] Akito@lemmy.zip 1 points 1 year ago

Which ones do you deem important?