diff --git a/README.md b/README.md index 489314c..7e9be01 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![](https://github.com/ngoduykhanh/wireguard-ui/workflows/wireguard-ui%20build%20release/badge.svg) +![](https://github.com/alikhanich/wireguard-ui/workflows/wireguard-ui%20build%20release/badge.svg) # wireguard-ui @@ -28,7 +28,7 @@ Download the binary file from the release page and run it directly on the host m ### Using docker compose You can take a look at this example -of [docker-compose.yml](https://github.com/ngoduykhanh/wireguard-ui/blob/master/docker-compose.yaml). Please adjust +of [docker-compose.yml](https://github.com/alikhanich/wireguard-ui/blob/master/docker-compose.yaml). Please adjust volume mount points to work with your setup. Then run it like below: ``` @@ -60,7 +60,7 @@ Note: | `WGUI_PERSISTENT_KEEPALIVE` | The default persistent keepalive for WireGuard in global settings | `15` | | `WGUI_FORWARD_MARK` | The default WireGuard forward mark | `0xca6c` | | `WGUI_CONFIG_FILE_PATH` | The default WireGuard config file path used in global settings | `/etc/wireguard/wg0.conf` | -| `WG_CONF_TEMPLATE` | The custom `wg.conf` config file template. Please refer to our [default template](https://github.com/ngoduykhanh/wireguard-ui/blob/master/templates/wg.conf) | N/A | +| `WG_CONF_TEMPLATE` | The custom `wg.conf` config file template. Please refer to our [default template](https://github.com/alikhanich/wireguard-ui/blob/master/templates/wg.conf) | N/A | | `EMAIL_FROM_ADDRESS` | The sender email address | N/A | | `EMAIL_FROM_NAME` | The sender name | `WireGuard UI` | | `SENDGRID_API_KEY` | The SendGrid api key | N/A | @@ -229,7 +229,7 @@ rice append --exec wireguard-ui ## License -MIT. See [LICENSE](https://github.com/ngoduykhanh/wireguard-ui/blob/master/LICENSE). +MIT. See [LICENSE](https://github.com/alikhanich/wireguard-ui/blob/master/LICENSE). ## Support diff --git a/go.mod b/go.mod index dfe3c40..8e86866 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/ngoduykhanh/wireguard-ui +module github.com/alikhanich/wireguard-ui go 1.14 diff --git a/handler/routes.go b/handler/routes.go index 04f3208..597174d 100644 --- a/handler/routes.go +++ b/handler/routes.go @@ -20,10 +20,10 @@ import ( "golang.zx2c4.com/wireguard/wgctrl" "golang.zx2c4.com/wireguard/wgctrl/wgtypes" - "github.com/ngoduykhanh/wireguard-ui/emailer" - "github.com/ngoduykhanh/wireguard-ui/model" - "github.com/ngoduykhanh/wireguard-ui/store" - "github.com/ngoduykhanh/wireguard-ui/util" + "github.com/alikhanich/wireguard-ui/emailer" + "github.com/alikhanich/wireguard-ui/model" + "github.com/alikhanich/wireguard-ui/store" + "github.com/alikhanich/wireguard-ui/util" ) // Health check handler diff --git a/handler/routes_wake_on_lan.go b/handler/routes_wake_on_lan.go index 40cd387..4428b91 100644 --- a/handler/routes_wake_on_lan.go +++ b/handler/routes_wake_on_lan.go @@ -4,8 +4,8 @@ import ( "fmt" "github.com/labstack/echo/v4" "github.com/labstack/gommon/log" - "github.com/ngoduykhanh/wireguard-ui/model" - "github.com/ngoduykhanh/wireguard-ui/store" + "github.com/alikhanich/wireguard-ui/model" + "github.com/alikhanich/wireguard-ui/store" "github.com/sabhiram/go-wol/wol" "net" "net/http" diff --git a/handler/session.go b/handler/session.go index f932e82..751c01b 100644 --- a/handler/session.go +++ b/handler/session.go @@ -6,7 +6,7 @@ import ( "github.com/labstack/echo-contrib/session" "github.com/labstack/echo/v4" - "github.com/ngoduykhanh/wireguard-ui/util" + "github.com/alikhanich/wireguard-ui/util" ) func ValidSession(next echo.HandlerFunc) echo.HandlerFunc { diff --git a/main.go b/main.go index 7c8888e..e88bcbd 100644 --- a/main.go +++ b/main.go @@ -5,17 +5,17 @@ import ( "fmt" "github.com/labstack/echo/v4" "github.com/labstack/gommon/log" - "github.com/ngoduykhanh/wireguard-ui/store" + "github.com/alikhanich/wireguard-ui/store" "net/http" "os" "time" rice "github.com/GeertJohan/go.rice" - "github.com/ngoduykhanh/wireguard-ui/emailer" - "github.com/ngoduykhanh/wireguard-ui/handler" - "github.com/ngoduykhanh/wireguard-ui/router" - "github.com/ngoduykhanh/wireguard-ui/store/jsondb" - "github.com/ngoduykhanh/wireguard-ui/util" + "github.com/alikhanich/wireguard-ui/emailer" + "github.com/alikhanich/wireguard-ui/handler" + "github.com/alikhanich/wireguard-ui/router" + "github.com/alikhanich/wireguard-ui/store/jsondb" + "github.com/alikhanich/wireguard-ui/util" ) var ( @@ -96,7 +96,7 @@ func init() { fmt.Println("Git Commit\t:", gitCommit) fmt.Println("Git Ref\t\t:", gitRef) fmt.Println("Build Time\t:", buildTime) - fmt.Println("Git Repo\t:", "https://github.com/ngoduykhanh/wireguard-ui") + fmt.Println("Git Repo\t:", "https://github.com/alikhanich/wireguard-ui") fmt.Println("Authentication\t:", !util.DisableLogin) fmt.Println("Bind address\t:", util.BindAddress) //fmt.Println("Sendgrid key\t:", util.SendgridApiKey) diff --git a/router/router.go b/router/router.go index 1446b69..953894f 100644 --- a/router/router.go +++ b/router/router.go @@ -13,7 +13,7 @@ import ( "github.com/labstack/echo/v4" "github.com/labstack/echo/v4/middleware" "github.com/labstack/gommon/log" - "github.com/ngoduykhanh/wireguard-ui/util" + "github.com/alikhanich/wireguard-ui/util" ) // TemplateRegistry is a custom html/template renderer for Echo framework diff --git a/store/jsondb/jsondb.go b/store/jsondb/jsondb.go index f39a452..3ee16d5 100644 --- a/store/jsondb/jsondb.go +++ b/store/jsondb/jsondb.go @@ -12,8 +12,8 @@ import ( "github.com/skip2/go-qrcode" "golang.zx2c4.com/wireguard/wgctrl/wgtypes" - "github.com/ngoduykhanh/wireguard-ui/model" - "github.com/ngoduykhanh/wireguard-ui/util" + "github.com/alikhanich/wireguard-ui/model" + "github.com/alikhanich/wireguard-ui/util" ) type JsonDB struct { diff --git a/store/jsondb/jsondb_wake_on_lan.go b/store/jsondb/jsondb_wake_on_lan.go index e492aa8..e10a463 100644 --- a/store/jsondb/jsondb_wake_on_lan.go +++ b/store/jsondb/jsondb_wake_on_lan.go @@ -3,7 +3,7 @@ package jsondb import ( "encoding/json" "fmt" - "github.com/ngoduykhanh/wireguard-ui/model" + "github.com/alikhanich/wireguard-ui/model" ) func (o *JsonDB) GetWakeOnLanHosts() ([]model.WakeOnLanHost, error) { diff --git a/store/store.go b/store/store.go index 86d6224..ec494cc 100644 --- a/store/store.go +++ b/store/store.go @@ -1,7 +1,7 @@ package store import ( - "github.com/ngoduykhanh/wireguard-ui/model" + "github.com/alikhanich/wireguard-ui/model" ) type IStore interface { diff --git a/templates/about.html b/templates/about.html index 4fc6b77..f513607 100644 --- a/templates/about.html +++ b/templates/about.html @@ -57,7 +57,7 @@ About Copyright © - Wireguard UI. + Wireguard UI. All rights reserved. diff --git a/templates/base.html b/templates/base.html index 1987ab0..2cec330 100644 --- a/templates/base.html +++ b/templates/base.html @@ -297,7 +297,7 @@
Version {{ .appVersion }}
- Copyright © Wireguard UI. All rights + Copyright © Wireguard UI. All rights reserved. --> diff --git a/templates/login.html b/templates/login.html index 515eb1a..8fcc225 100644 --- a/templates/login.html +++ b/templates/login.html @@ -25,7 +25,7 @@
diff --git a/templates/wake_on_lan_hosts.html b/templates/wake_on_lan_hosts.html index 80ba3f6..e3157ea 100644 --- a/templates/wake_on_lan_hosts.html +++ b/templates/wake_on_lan_hosts.html @@ -79,7 +79,7 @@
{{ range $idx, $host := .hosts }} - {{- /*gotype: github.com/ngoduykhanh/wireguard-ui/model.WakeOnLanHost*/ -}} + {{- /*gotype: github.com/alikhanich/wireguard-ui/model.WakeOnLanHost*/ -}}
diff --git a/templates/wg.conf b/templates/wg.conf index 745a92f..c7c27ea 100644 --- a/templates/wg.conf +++ b/templates/wg.conf @@ -1,4 +1,4 @@ -# This file was generated using wireguard-ui (https://github.com/ngoduykhanh/wireguard-ui) +# This file was generated using wireguard-ui (https://github.com/alikhanich/wireguard-ui) # Please don't modify it manually, otherwise your change might get replaced. # Address updated at: {{ .serverConfig.Interface.UpdatedAt }} diff --git a/util/util.go b/util/util.go index 40eb357..7d61f60 100644 --- a/util/util.go +++ b/util/util.go @@ -15,7 +15,7 @@ import ( rice "github.com/GeertJohan/go.rice" externalip "github.com/glendc/go-external-ip" "github.com/labstack/gommon/log" - "github.com/ngoduykhanh/wireguard-ui/model" + "github.com/alikhanich/wireguard-ui/model" "github.com/sdomino/scribble" )