diff --git a/Dockerfile b/Dockerfile index 0dd7869..a15ce82 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ FROM --platform=$BUILDPLATFORM golang:1 AS build -WORKDIR /go/src/github.com/Snawoot/opera-proxy +WORKDIR /go/src/github.com/Alexey71/opera-proxy COPY . . ARG TARGETOS TARGETARCH RUN GOOS=$TARGETOS GOARCH=$TARGETARCH CGO_ENABLED=0 go build -a -tags netgo -ldflags '-s -w -extldflags "-static"' FROM scratch -COPY --from=build /go/src/github.com/Snawoot/opera-proxy/opera-proxy / +COPY --from=build /go/src/github.com/Alexey71/opera-proxy/opera-proxy / USER 9999:9999 EXPOSE 18080/tcp ENTRYPOINT ["/opera-proxy", "-bind-address", "0.0.0.0:18080"] diff --git a/README.md b/README.md index 25c510e..ac6733a 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,6 @@ opera-proxy [![opera-proxy](https://snapcraft.io//opera-proxy/badge.svg)](https://snapcraft.io/opera-proxy) - - Standalone Opera VPN client. Just run it and it'll start a plain HTTP proxy server forwarding traffic through "Opera VPN" proxies of your choice. @@ -21,7 +19,7 @@ By default the application listens on 127.0.0.1:18080. #### Binaries -Pre-built binaries are available [here](https://github.com/Snawoot/opera-proxy/releases/latest). +Pre-built binaries are available [here](https://github.com/Alexey71/opera-proxy/releases/latest). #### Build from source @@ -122,5 +120,4 @@ eu3.sec-tunnel.com,77.111.244.22,443 ## See also -* [Project wiki](https://github.com/Snawoot/opera-proxy/wiki) * [Community in Telegram](https://t.me/alternative_proxy) diff --git a/go.mod b/go.mod index 4161460..a72e636 100644 --- a/go.mod +++ b/go.mod @@ -1,11 +1,11 @@ -module github.com/Snawoot/opera-proxy +module github.com/Alexey71/opera-proxy go 1.24.1 toolchain go1.24.2 require ( - github.com/Snawoot/go-http-digest-auth-client v1.1.3 + github.com/Alexey71/go-http-digest-auth-client v1.1.3 github.com/hashicorp/go-multierror v1.1.1 github.com/ncruces/go-dns v1.3.2 github.com/things-go/go-socks5 v0.1.0 diff --git a/go.sum b/go.sum index ed9259a..0c0af38 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -github.com/Snawoot/go-http-digest-auth-client v1.1.3 h1:Xd/SNBuIUJqotzmxRpbXovBJxmlVZOT19IZZdMdrJ0Q= -github.com/Snawoot/go-http-digest-auth-client v1.1.3/go.mod h1:WiwNiPXTRGyjTGpBtSQJlM2wDPRRPpFGhMkMWpV4uqg= +github.com/Alexey71/go-http-digest-auth-client v1.1.3 h1:+S1vynZ/v4655Ee4z3+thNsIWxYk/8DG62QGmnK2y1M= +github.com/Alexey71/go-http-digest-auth-client v1.1.3/go.mod h1:L+M7T00XYeSSOxHn1hgWbgXYhipNSQUzXh2MHGyIYqY= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= diff --git a/handler/handler.go b/handler/handler.go index 22224b2..09c4793 100644 --- a/handler/handler.go +++ b/handler/handler.go @@ -12,8 +12,8 @@ import ( "sync" "time" - "github.com/Snawoot/opera-proxy/dialer" - clog "github.com/Snawoot/opera-proxy/log" + "github.com/Alexey71/opera-proxy/dialer" + clog "github.com/Alexey71/opera-proxy/log" ) const ( diff --git a/handler/socks.go b/handler/socks.go index 67ada5c..57037ac 100644 --- a/handler/socks.go +++ b/handler/socks.go @@ -5,7 +5,7 @@ import ( "log" "net" - "github.com/Snawoot/opera-proxy/dialer" + "github.com/Alexey71/opera-proxy/dialer" "github.com/things-go/go-socks5" ) diff --git a/main.go b/main.go index 7df534c..43b6676 100644 --- a/main.go +++ b/main.go @@ -23,12 +23,12 @@ import ( xproxy "golang.org/x/net/proxy" - "github.com/Snawoot/opera-proxy/clock" - "github.com/Snawoot/opera-proxy/dialer" - "github.com/Snawoot/opera-proxy/handler" - clog "github.com/Snawoot/opera-proxy/log" - "github.com/Snawoot/opera-proxy/resolver" - se "github.com/Snawoot/opera-proxy/seclient" + "github.com/Alexey71/opera-proxy/clock" + "github.com/Alexey71/opera-proxy/dialer" + "github.com/Alexey71/opera-proxy/handler" + clog "github.com/Alexey71/opera-proxy/log" + "github.com/Alexey71/opera-proxy/resolver" + se "github.com/Alexey71/opera-proxy/seclient" _ "golang.org/x/crypto/x509roots/fallback" "golang.org/x/crypto/x509roots/fallback/bundle" diff --git a/seclient/seclient.go b/seclient/seclient.go index 486a194..fb1c7d5 100644 --- a/seclient/seclient.go +++ b/seclient/seclient.go @@ -12,7 +12,7 @@ import ( "strings" "sync" - dac "github.com/Snawoot/go-http-digest-auth-client" + dac "github.com/Alexey71/go-http-digest-auth-client" ) const ( diff --git a/snapcraft.yaml b/snapcraft.yaml index d995984..9356192 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -14,7 +14,7 @@ parts: build-packages: - make - git-core - source: https://github.com/Snawoot/opera-proxy + source: https://github.com/Alexey71/opera-proxy source-type: git override-pull: | craftctl default