Do you hear the people sing?
Find a file
2022-04-20 16:09:28 +08:00
cli Add cloudflare-ddns command 2022-04-20 16:09:28 +08:00
common Add cloudflare-ddns command 2022-04-20 16:09:28 +08:00
protocol Add cloudflare-ddns command 2022-04-20 16:09:28 +08:00
transport Refine geosite 2022-04-16 17:00:07 +08:00
.gitignore Refactor shadowsocks 2022-04-11 12:46:23 +08:00
core.go Refactor shadowsocks 2022-04-11 12:46:23 +08:00
debug.go Refine geosite 2022-04-16 17:00:07 +08:00
format.go Add simple sslocal implementation 2022-04-07 02:54:48 +08:00
go.mod Add cloudflare-ddns command 2022-04-20 16:09:28 +08:00
go.sum Add cloudflare-ddns command 2022-04-20 16:09:28 +08:00
LICENSE Add license 2022-02-04 00:12:27 +08:00
README.md Add cloudflare-ddns command 2022-04-20 16:09:28 +08:00

sing

Do you hear the people sing?

geosite

go install -v -trimpath -ldflags "-s -w -buildid=" ./cli/geosite

create from v2ray

geosite add v2ray

create cn only dat

geosite add v2ray cn

geoip

wget 'https://github.com/Dreamacro/maxmind-geoip/releases/latest/download/Country.mmdb'

ss-local

go install -v -trimpath -ldflags "-s -w -buildid=" ./cli/ss-local

ddns

GOBIN=/usr/local/bin/ go install -v -trimpath -ldflags "-s -w -buildid=" ./cli/cloudflare-ddns

cat > /usr/local/etc/ddns.json <<EOF
{
  "cloudflare_api_key": "",
  "cloudflare_api_email": "",
  "domain": "example.com",
  "over_proxy": false
}
EOF

sudo cp ./cli/cloudflare-ddns/ddns.service /etc/systemd/system
sudo systemctl daemon-reload
sudo systemctl enable ddns
sudo systemctl start ddns