Rename and cleanup

This commit is contained in:
Alexey
2026-03-25 15:26:39 +03:00
parent 70fb22c021
commit 826173656d
9 changed files with 18 additions and 21 deletions
+2 -2
View File
@@ -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"]
+1 -4
View File
@@ -3,8 +3,6 @@ opera-proxy
[![opera-proxy](https://snapcraft.io//opera-proxy/badge.svg)](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.
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)
+2 -2
View File
@@ -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
+2 -2
View File
@@ -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=
+2 -2
View File
@@ -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 (
+1 -1
View File
@@ -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"
)
+6 -6
View File
@@ -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"
+1 -1
View File
@@ -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 (
+1 -1
View File
@@ -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