mirror of
https://github.com/SagerNet/sing.git
synced 2025-04-03 20:07:38 +03:00
Do you hear the people sing?
cli | ||
common | ||
protocol | ||
transport | ||
.gitignore | ||
core.go | ||
debug.go | ||
format.go | ||
go.mod | ||
go.sum | ||
LICENSE | ||
README.md |
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