mirror of
https://github.com/Alexey71/opera-proxy.git
synced 2026-05-14 14:40:59 +00:00
Rename and cleanup
This commit is contained in:
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
FROM --platform=$BUILDPLATFORM golang:1 AS build
|
FROM --platform=$BUILDPLATFORM golang:1 AS build
|
||||||
|
|
||||||
WORKDIR /go/src/github.com/Snawoot/opera-proxy
|
WORKDIR /go/src/github.com/Alexey71/opera-proxy
|
||||||
COPY . .
|
COPY . .
|
||||||
ARG TARGETOS TARGETARCH
|
ARG TARGETOS TARGETARCH
|
||||||
RUN GOOS=$TARGETOS GOARCH=$TARGETARCH CGO_ENABLED=0 go build -a -tags netgo -ldflags '-s -w -extldflags "-static"'
|
RUN GOOS=$TARGETOS GOARCH=$TARGETARCH CGO_ENABLED=0 go build -a -tags netgo -ldflags '-s -w -extldflags "-static"'
|
||||||
|
|
||||||
FROM scratch
|
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
|
USER 9999:9999
|
||||||
EXPOSE 18080/tcp
|
EXPOSE 18080/tcp
|
||||||
ENTRYPOINT ["/opera-proxy", "-bind-address", "0.0.0.0:18080"]
|
ENTRYPOINT ["/opera-proxy", "-bind-address", "0.0.0.0:18080"]
|
||||||
|
|||||||
@@ -3,8 +3,6 @@ opera-proxy
|
|||||||
|
|
||||||
[](https://snapcraft.io/opera-proxy)
|
[](https://snapcraft.io/opera-proxy)
|
||||||
|
|
||||||
<img align="left" width="100" height="100" src="https://github.com/user-attachments/assets/aac4d29a-32b3-4e00-957c-3c7168228edc">
|
|
||||||
|
|
||||||
Standalone Opera VPN client.
|
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.
|
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
|
#### 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
|
#### Build from source
|
||||||
|
|
||||||
@@ -122,5 +120,4 @@ eu3.sec-tunnel.com,77.111.244.22,443
|
|||||||
|
|
||||||
## See also
|
## See also
|
||||||
|
|
||||||
* [Project wiki](https://github.com/Snawoot/opera-proxy/wiki)
|
|
||||||
* [Community in Telegram](https://t.me/alternative_proxy)
|
* [Community in Telegram](https://t.me/alternative_proxy)
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
module github.com/Snawoot/opera-proxy
|
module github.com/Alexey71/opera-proxy
|
||||||
|
|
||||||
go 1.24.1
|
go 1.24.1
|
||||||
|
|
||||||
toolchain go1.24.2
|
toolchain go1.24.2
|
||||||
|
|
||||||
require (
|
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/hashicorp/go-multierror v1.1.1
|
||||||
github.com/ncruces/go-dns v1.3.2
|
github.com/ncruces/go-dns v1.3.2
|
||||||
github.com/things-go/go-socks5 v0.1.0
|
github.com/things-go/go-socks5 v0.1.0
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
github.com/Snawoot/go-http-digest-auth-client v1.1.3 h1:Xd/SNBuIUJqotzmxRpbXovBJxmlVZOT19IZZdMdrJ0Q=
|
github.com/Alexey71/go-http-digest-auth-client v1.1.3 h1:+S1vynZ/v4655Ee4z3+thNsIWxYk/8DG62QGmnK2y1M=
|
||||||
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/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 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
|
||||||
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
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=
|
github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
|
||||||
|
|||||||
+2
-2
@@ -12,8 +12,8 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/Snawoot/opera-proxy/dialer"
|
"github.com/Alexey71/opera-proxy/dialer"
|
||||||
clog "github.com/Snawoot/opera-proxy/log"
|
clog "github.com/Alexey71/opera-proxy/log"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
+1
-1
@@ -5,7 +5,7 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"net"
|
"net"
|
||||||
|
|
||||||
"github.com/Snawoot/opera-proxy/dialer"
|
"github.com/Alexey71/opera-proxy/dialer"
|
||||||
"github.com/things-go/go-socks5"
|
"github.com/things-go/go-socks5"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -23,12 +23,12 @@ import (
|
|||||||
|
|
||||||
xproxy "golang.org/x/net/proxy"
|
xproxy "golang.org/x/net/proxy"
|
||||||
|
|
||||||
"github.com/Snawoot/opera-proxy/clock"
|
"github.com/Alexey71/opera-proxy/clock"
|
||||||
"github.com/Snawoot/opera-proxy/dialer"
|
"github.com/Alexey71/opera-proxy/dialer"
|
||||||
"github.com/Snawoot/opera-proxy/handler"
|
"github.com/Alexey71/opera-proxy/handler"
|
||||||
clog "github.com/Snawoot/opera-proxy/log"
|
clog "github.com/Alexey71/opera-proxy/log"
|
||||||
"github.com/Snawoot/opera-proxy/resolver"
|
"github.com/Alexey71/opera-proxy/resolver"
|
||||||
se "github.com/Snawoot/opera-proxy/seclient"
|
se "github.com/Alexey71/opera-proxy/seclient"
|
||||||
|
|
||||||
_ "golang.org/x/crypto/x509roots/fallback"
|
_ "golang.org/x/crypto/x509roots/fallback"
|
||||||
"golang.org/x/crypto/x509roots/fallback/bundle"
|
"golang.org/x/crypto/x509roots/fallback/bundle"
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
dac "github.com/Snawoot/go-http-digest-auth-client"
|
dac "github.com/Alexey71/go-http-digest-auth-client"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
+1
-1
@@ -14,7 +14,7 @@ parts:
|
|||||||
build-packages:
|
build-packages:
|
||||||
- make
|
- make
|
||||||
- git-core
|
- git-core
|
||||||
source: https://github.com/Snawoot/opera-proxy
|
source: https://github.com/Alexey71/opera-proxy
|
||||||
source-type: git
|
source-type: git
|
||||||
override-pull: |
|
override-pull: |
|
||||||
craftctl default
|
craftctl default
|
||||||
|
|||||||
Reference in New Issue
Block a user