Would anyone like to help me self-host a Git repository mirror that can help people pull from a slow server?

We've got a git hosting issue with #Liblast - people have lots of trouble cloning the repository.

The server is behind a slow connection and unfortunately there's nothing we can do right now to fix that. I guess a mirror is the best we can do now.

I have an RPi 4B that could run 24/7 to do this. I have a VPS which has a VPN tunnel to my home network.

Help! :D

#git #hosting

Follow

@unfa how heavy is the repo? I have git.kx.studio/ setup for mirrors of a bunch of stuff, has already proven very useful when the NON stuff got deleted.

I can add yet another mirror in there.
Will not add account creation or anything like that though, I use it purely for mirroring the code.

@unfa now read the replies and see it is quite big hmmm...

The same server runs peertube, which will increase in size for sure in the coming years.
But still 1.2TiB free

```
$ df -h | grep /home
/dev/md3 1.7T 388G 1.2T 25% /home
```

that said, something is likely wrong if you think a repo will be 100Gb in size at some point.
there must be some better way to handle large binary files for version control...

@falktx I've worked with a 100+ GB git repo for a video game before, that had a quite minimalistic art style, and the source files for assets weren't even all in there. And we want to have the art modifiable from the repo itself. So that sounds crazy, but it may not be as crazy. It is a pesimistic prognosis that implies some serious bloat in the repo, but I prefer to overestimate than be sorry later.

Sign in to participate in the conversation
falkTX Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!