GitHub Liked repos cloner
- Make sure that proper version of Go installed and ENVs are set.
wget https://go.dev/dl/go1.21.1.linux-amd64.tar.gz
rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.21.1.linux-amd64.tar.gz
# add to .zshrc
export PATH="$PATH:/usr/local/go/bin:$HOME/go/bin"
- Run make command to install all dev-utils.
make setup
Edit config.yml to specify the settings. Possible options:
Debug bool `yaml:"debug" env:"DEBUG"` # additional logging messages
User string `yaml:"user" env:"USER" env-default:"user"` # github username (which likes should be processed)
Dir string `yaml:"dir" env:"DIR" env-default:"."` # local directory where repos should be cloned
Token string `yaml:"token" env:"TOKEN"` # github PAT
Directory names and meanings https://github.com/golang-standards/project-layout/blob/master/README_ru.md