/GitSave

GitSave is a self-hosted and open-source application that backs up your Git repositories.

Primary LanguageTypeScriptApache License 2.0Apache-2.0

GitSave Logo

GitSave

Easily back up your Git repositories on a schedule.


GitSave 3 pages animation

2024-09-01.15-33-451.mp4

Git happens...

So be prepared and keep backups of your own and favourite Git repositories.

🛠️ Features

  • Easy to use and responsive web interface
  • Automated install using Docker
  • Scheduling of backups
  • Support for GitHub, GitLab and other Git platforms
  • Pause/resume schedules
  • View backup history
  • Support for backing up to a SMB share

🚀 Deploy GitSave for yourself

Warning

Make sure to change the env variable "JWT_SECRET" to something secure. This website may help you with that

Single run command

docker run -d --restart=always -p 3000:3000 -v gitsave:/app/data -v ./backups:/app/backups -e JWT_SECRET={YOUR_SECRET_HERE} --name GitSave timwitzdam/gitsave:latest

Docker compose

  1. Create .env file
# You can generate a JWT_SECRET here: https://jwtsecret.com/
JWT_SECRET="REPLACE_THIS"
  1. Create docker-compose.yml file
services:
  gitsave:
    image: timwitzdam/gitsave:latest
    container_name: GitSave
    restart: always
    ports:
      - "3000:3000"
    volumes:
      - gitsave:/app/data
      - ./backups:/app/backups
    environment:
      - JWT_SECRET=${JWT_SECRET:?error}

volumes:
  gitsave:

👀 Any questions, suggestions or problems?

You're welcome to contribute to GitSave or open an issue if you have any suggestions or find any problems.

I'm also available via mail: contact@witzdam.com