Skip to content
/ sing Public
forked from SagerNet/sing

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
nekohasekai committed May 2, 2022
1 parent b4894e7 commit fb8de18
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 54 deletions.
54 changes: 1 addition & 53 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,55 +1,3 @@
# sing

Do you hear the people sing?

### geosite

```shell
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

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

### ss-local

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

### ss-server

```shell
go install -v -trimpath -ldflags "-s -w -buildid=" ./cli/ss-server
```

### ddns

```shell
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
```
Do you hear the people sing?
39 changes: 39 additions & 0 deletions cli/ss-server/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# ss-server

## Requirements

```
* Go 1.18
```

## Install

```shell
git clone https://github.com/SagerNet/sing
cd sing

cli/ss-server/install.sh

sudo systemctl enable ss
sudo systemctl start ss
```

## Log

```shell
journalctl -u ss --output cat -f
```

## Update

```shell
sudo systemctl stop ss
cli/ss-server/update.sh
sudo systemctl start ss
```

## Uninstall

```shell
cli/ss-server/uninstal.sh
```
2 changes: 1 addition & 1 deletion cli/ss-server/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"server_port": 8080,
"method": "2022-blake3-aes-128-gcm",
"key": "psk",
"log_level": "warn"
"log_level": "info"
}

0 comments on commit fb8de18

Please sign in to comment.