Hacker News new | ask | show | jobs
by sklarsa 1128 days ago
I have this setup running on a Synology NAS at home. I'm currently syncing all of my starred github repos to local storage using a short bash script that runs once a week. Once a repo is in gitea, it pulls any new updates from github every 6 hours or so. It's mostly for archival purposes, just in case something majorly bad happens to github.
1 comments

Would you share your setup?

I'm interested in building the same but if yours already works well then I see no point in duplicating important work.

Sure!

Here's a gist to the script: https://gist.github.com/sklarsa/845152721ee9292eb01f70756b89...

As for gitea, I'm just hosting it using Docker and orchestrating using a simple docker-compose file that maps the gitea data directory to a Volume on the synology: https://gist.github.com/sklarsa/0dd6d6094dac6bf6e7bf61df9ca5...

It's all hosted on my private network at home.