Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gscraper 是什么?

gscraper 是用来自动在github下载gvc所需要的软件安装包。 然后将这些软件包上传到gitlab进行缓存。 默认下载软件当前的最新版本。

主要是为了解决中国大陆网络长城对GitHub的阻断,导致正常的下载非常慢或者根本无法进行。

gscraper当前自动下载的软件列表

gscraper 命令

>>> gscraper help

NAME:
   gscraper.exe - gscraper <Command> <SubCommand>...

USAGE:
   gscraper.exe [global options] command [command options] [arguments...]

DESCRIPTION:
   gscraper, download files from github for gvc.

COMMANDS:
   show, sh           Show url list to download.
   add, a             Add new download urls[ gscraper add xxx yyy zzz ss].
   remove, rm, r      Remove download url.[ gscraper rm xxx ]
   reset, rs          Reset config file.
   download, down, d  Download files.
   help, h            Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h  show help
  • 可以通过add命令添加下载项目
  • 可以通过download命令下载所有项目或者下载指定项目
  • 配置文件存放在当前用户的家目录(os.UserHomeDir()获取)下,文件名为gscraper_conf.json。

添加下载项目url举例:

https://github.com/vlang/v/releases/latest/download/v_linux.zip
https://github.com/neovim/neovim/releases/download/stable/nvim-linux64.tar.gz
https://github.com/typst/typst/releases/latest/download/typst-aarch64-unknown-linux-musl.tar.xz
https://github.com/microsoft/vcpkg-tool/archive/refs/heads/main.zip
https://github.com/pyenv-win/pyenv-win/archive/refs/heads/master.zip

如何安装?

go install github.com/moqsien/gscraper@latest

Releases

Packages

Used by

Contributors

Languages