/go-pihole

A simple golang project to update pi-hole-block-list project

Primary LanguageGoThe UnlicenseUnlicense

go-pihole

Go Report Card go pihole

A simple golang project to update pi-hole-block-list project

Requirements

  • go >= 1.16.3
  • Internet to update

Running

Clone:

git clone https://github.com/thiago-scherrer/go-pihole.git

Build:

cd go-pihole
mkdir build
go build -o build/go-pihole cmd/go-pihole.go

Running

cd build
export LIST=<list to consult>
export OUTPUT=<where to save output>
./go-pihole