Skip to content

devalv/giclo

Repository files navigation

giclo

GitHub Liked repos cloner

Go Report Card CodeQL codecov

Installation

  1. 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"
  1. Run make command to install all dev-utils.
make setup

Run

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

Project layout

Directory names and meanings https://github.com/golang-standards/project-layout/blob/master/README_ru.md