Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

starudream/github-asset-mirror

Repository files navigation

Github-Asset-Mirror

Golang Docker Release License

Usage

Usage of ./bin/app:
  -addr string
    	http server address (default "0.0.0.0:80")
  -name string
    	github repo (default "{{.repo}}-{{.os}}-{{.arch}}-{{.platform}}-{{.ver}}.zip")
  -owner string
    	github owner
  -proxy string
    	available proxy: ghproxy fastgit
  -repo string
    	github repo
  -storage string
    	file storage path (default "/storage")

Docker

Version Size Pull

docker pull starudream/github-asset-mirror
docker run -d --name github-asset-mirror --restart always -p 80:80 -v $(pwd)/storage:/storage starudream/github-asset-mirror

Example

./app -owner starudream -repo secret-tunnel -proxy ghproxy

License

Apache License 2.0