Skip to content

Commit

Permalink
Refactor shadowsocks
Browse files Browse the repository at this point in the history
  • Loading branch information
nekohasekai committed Apr 11, 2022
1 parent 3f23b25 commit 00cd0d4
Show file tree
Hide file tree
Showing 75 changed files with 3,168 additions and 1,317 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 2,5 @@
/sing_*
/*.json
/Country.mmdb
/geosite.dat
/geosite.dat
/vendor/
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 1,12 @@
# sing

Do you hear the people sing?
Do you hear the people sing?

```shell
# geo resources
go install -v -trimpath -ldflags "-s -w -buildid=" ./cli/get-geoip
go install -v -trimpath -ldflags "-s -w -buildid=" ./cli/gen-geosite

# ss-local
go install -v -trimpath -ldflags "-s -w -buildid=" ./cli/ss-local
```
4 changes: 2 additions & 2 deletions cli/geosite_gen/main.go → cli/gen-geosite/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 2,12 @@ package main

import (
"encoding/binary"
"github.com/klauspost/compress/zstd"
"github.com/sagernet/sing/common/rw"
"io"
"net/http"
"os"

"github.com/klauspost/compress/zstd"
"github.com/sagernet/sing/common/rw"
"github.com/sirupsen/logrus"
"github.com/ulikunitz/xz"
"github.com/v2fly/v2ray-core/v5/app/router/routercommon"
Expand Down
3 changes: 2 additions & 1 deletion cli/get_geoip/main.go → cli/get-geoip/main.go
Original file line number Diff line number Diff line change
@@ -1,10 1,11 @@
package main

import (
"github.com/sirupsen/logrus"
"io"
"net/http"
"os"

"github.com/sirupsen/logrus"
)

func main() {
Expand Down
Loading

0 comments on commit 00cd0d4

Please sign in to comment.