Skip to content
프로젝트

소개

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

개발 도구

이 수치를 측정하는 방법

What you can do

  • Easy to use and responsive web interface
  • Automated install using Docker
  • Scheduling of backups
  • Select amount of backups you want to keep

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
+4

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original
GitSave Logo

GitSave

Easily back up your Git repositories on a schedule.


GitSave 3 pages animation

https://github.com/user-attachments/assets/301b28ca-6b72-490a-8efb-217e39fb73d3

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
  • Select amount of backups you want to keep
  • Support for GitHub, GitLab and other Git platforms
  • Support for own authentication provider
  • 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 variables "JWT_SECRET" and "ENCRYPTION_SECRET" to something secure. Clone this repository and run npm run secrets (works on Windows, macOS and Linux) to generate a ready-to-use pair of secrets. The ENCRYPTION_SECRET must be 32 characters long.

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} -e ENCRYPTION_SECRET={YOUR_SECRET_HERE_32_CHARACTERS} -e DISABLE_AUTH=false --name GitSave timwitzdam/gitsave:latest

Docker compose

  1. Create .env file
# Generate a JWT_SECRET and a 32 character ENCRYPTION_SECRET: npm run secrets
JWT_SECRET="REPLACE_THIS"
DISABLE_AUTH=false
ENCRYPTION_SECRET="REPLACE_THIS_WITH_32_CHARACTERS_SECRET"
  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}
      - DISABLE_AUTH=${DISABLE_AUTH:?error}
      - ENCRYPTION_SECRET=${ENCRYPTION_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: [email protected]

관련 프로젝트 살펴보기

불러오는 중…