Staubgeborener / klipper-backup

Klipper backup script for manual or automated GitHub backups. Lightweight, pragmatic and comfortable.
https://klipperbackup.xyz
220 stars 46 forks source link

[Feature request]: Add support for selfhosted git #54

Closed TheZoker closed 4 months ago

TheZoker commented 4 months ago

Is your feature request related to a problem? Please describe.

I have a selfhosted Gitea instance. Instead of backing up to github, I would like to backup to my gitea instance.

Describe the solution you'd like

After doing some testing with the script, the only thing that need to be changed is the github.com domain here: https://github.com/Staubgeborener/klipper-backup/blob/main/script.sh#L57 and here: https://github.com/Staubgeborener/klipper-backup/blob/main/script.sh#L62

If you could also change this into a variable which defaults to github.com this should be easily integratable.

Describe alternatives you've considered

...

Additional information

No response