To use different protocols like DOH, DOT etc. refer to the instructions - here. + here.
diff --git a/README.md b/README.md index 02a5067..d2ae781 100644 --- a/README.md +++ b/README.md @@ -39,13 +39,13 @@ to experiment with writing a DNS Client from scratch in `Go` myself. Hence the n ### Binary -You can grab the latest binaries for Linux, MacOS and Windows from the [Releases](https://github.com/mr-karan/doggo/releases) section. +You can grab the latest binaries for Linux, MacOS and Windows from the [Releases](https://git.zio.sh/astra/doggo/releases) section. For eg, to pull the latest `linux-amd64` binary: ```shell $ cd "$(mktemp -d)" -$ curl -sL "https://github.com/mr-karan/doggo/releases/download/v0.3.7/doggo_0.3.7_linux_amd64.tar.gz" | tar xz +$ curl -sL "https://git.zio.sh/astra/doggo/releases/download/v0.3.7/doggo_0.3.7_linux_amd64.tar.gz" | tar xz $ mv doggo /usr/local/bin # doggo should be available now in your $PATH $ doggo @@ -94,7 +94,7 @@ scoop install doggo You need to have `go` installed in your system. ```bash -$ go install github.com/mr-karan/doggo/cmd/doggo@latest +$ go install git.zio.sh/astra/doggo/cmd/doggo@latest ``` The binary will be available at `$GOPATH/bin/doggo`. diff --git a/cmd/api/api.go b/cmd/api/api.go index 43b42d9..c467f9c 100644 --- a/cmd/api/api.go +++ b/cmd/api/api.go @@ -6,8 +6,8 @@ import ( "net/http" "time" - "github.com/mr-karan/doggo/internal/app" - "github.com/mr-karan/doggo/pkg/utils" + "git.zio.sh/astra/doggo/internal/app" + "git.zio.sh/astra/doggo/pkg/utils" "github.com/sirupsen/logrus" "github.com/go-chi/chi" diff --git a/cmd/api/assets/dark.css b/cmd/api/assets/dark.css new file mode 100644 index 0000000..feec9ef --- /dev/null +++ b/cmd/api/assets/dark.css @@ -0,0 +1,48 @@ +:root { + --primary: #4338ca; + --background: #0d1117; +} + +body { + background-color: var(--background); + color: #c9d1d9; +} + +.box { + border: 1px solid #30363d; + box-shadow: unset; +} + +.help a { + text-decoration: none; +} + +a:hover { + color: var(--primary); + text-decoration: underline; +} + +input, select, button { + background-color: #010409; + border: 1px solid #30363d; + color: #ffffff; +} + +button { + color: #c9d1d9; + background-color: #21262d; + box-shadow: 0 0 transparent, 0 0 transparent; +} + +button:hover, +button:focus { + background-color: #30363d; + border-color: #8b949e; + transition-duration: .1s; +} + +table th { + background: #161b22; + border-bottom: unset; + color: #c9d1d9; +} \ No newline at end of file diff --git a/cmd/api/handlers.go b/cmd/api/handlers.go index 5adff0b..388ff92 100644 --- a/cmd/api/handlers.go +++ b/cmd/api/handlers.go @@ -8,9 +8,9 @@ import ( "net/http" "time" - "github.com/mr-karan/doggo/internal/app" - "github.com/mr-karan/doggo/pkg/models" - "github.com/mr-karan/doggo/pkg/resolvers" + "git.zio.sh/astra/doggo/internal/app" + "git.zio.sh/astra/doggo/pkg/models" + "git.zio.sh/astra/doggo/pkg/resolvers" ) type httpResp struct { diff --git a/cmd/api/index.html b/cmd/api/index.html index 650ca17..c5de849 100644 --- a/cmd/api/index.html +++ b/cmd/api/index.html @@ -5,6 +5,7 @@ +
To use different protocols like DOH, DOT etc. refer to the instructions - here. + here.