parent
6d6e69b8e4
commit
45dd2e2af2
|
@ -52,8 +52,8 @@ snapcrafts:
|
||||||
|
|
||||||
dockers:
|
dockers:
|
||||||
- image_templates:
|
- image_templates:
|
||||||
- "ghcr.io/mr-karan/doggo-cli:{{ .Tag }}"
|
- "ghcr.io/mr-karan/doggo:{{ .Tag }}"
|
||||||
- "ghcr.io/mr-karan/doggo-cli:latest"
|
- "ghcr.io/mr-karan/doggo:latest"
|
||||||
binaries:
|
binaries:
|
||||||
- doggo
|
- doggo
|
||||||
dockerfile: Dockerfile-cli
|
dockerfile: Dockerfile-cli
|
||||||
|
@ -61,8 +61,8 @@ dockers:
|
||||||
- "--build-arg"
|
- "--build-arg"
|
||||||
- "ARCH=amd64"
|
- "ARCH=amd64"
|
||||||
- image_templates:
|
- image_templates:
|
||||||
- "ghcr.io/mr-karan/doggo-cli:{{ .Tag }}-arm64v8"
|
- "ghcr.io/mr-karan/doggo:{{ .Tag }}-arm64v8"
|
||||||
- "ghcr.io/mr-karan/doggo-cli:latest-arm64v8"
|
- "ghcr.io/mr-karan/doggo:latest-arm64v8"
|
||||||
binaries:
|
binaries:
|
||||||
- doggo
|
- doggo
|
||||||
goarch: arm64
|
goarch: arm64
|
||||||
|
|
|
@ -4,6 +4,8 @@
|
||||||
<h2 align="center">doggo</h2>
|
<h2 align="center">doggo</h2>
|
||||||
<p align="center">
|
<p align="center">
|
||||||
🐶 <i>Command-line DNS client for humans</i>
|
🐶 <i>Command-line DNS client for humans</i>
|
||||||
|
<br/>
|
||||||
|
<a href="https://doggo.mrkaran.dev">doggo.mrkaran.dev</a>
|
||||||
</p>
|
</p>
|
||||||
<img src="www/static/doggo.png" alt="doggo CLI usage">
|
<img src="www/static/doggo.png" alt="doggo CLI usage">
|
||||||
</p>
|
</p>
|
||||||
|
@ -27,6 +29,7 @@ to experiment with writing a DNS Client from scratch in `Go` myself. Hence the n
|
||||||
- Supports **ndots** and **search** configurations from `resolv.conf` or command-line arguments.
|
- Supports **ndots** and **search** configurations from `resolv.conf` or command-line arguments.
|
||||||
- Supports multiple resolvers at once.
|
- Supports multiple resolvers at once.
|
||||||
- Supports IPv4 **and** IPv6 _both_.
|
- Supports IPv4 **and** IPv6 _both_.
|
||||||
|
- Available as a web tool as well: [https://doggo.mrkaran.dev](https://doggo.mrkaran.dev).
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
@ -34,11 +37,11 @@ to experiment with writing a DNS Client from scratch in `Go` myself. Hence the n
|
||||||
|
|
||||||
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://github.com/mr-karan/doggo/releases) section.
|
||||||
|
|
||||||
For eg, to pull the latest Linux binary:
|
For eg, to pull the latest `linux-amd64` binary:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ cd "$(mktemp -d)"
|
$ cd "$(mktemp -d)"
|
||||||
$ curl -sL "https://github.com/mr-karan/doggo/releases/download/v0.2.0/doggo_0.2.0_linux_amd64.tar.gz" | tar xz
|
$ curl -sL "https://github.com/mr-karan/doggo/releases/download/v0.3.7/doggo_0.3.7_linux_amd64.tar.gz" | tar xz
|
||||||
$ mv doggo /usr/local/bin
|
$ mv doggo /usr/local/bin
|
||||||
# doggo should be available now in your $PATH
|
# doggo should be available now in your $PATH
|
||||||
$ doggo
|
$ doggo
|
||||||
|
@ -76,6 +79,7 @@ You need to have `go` installed in your system.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ go get github.com/mr-karan/doggo/cmd/doggo
|
$ go get github.com/mr-karan/doggo/cmd/doggo
|
||||||
|
$ mv $GOPATH/bin/cli $GOPATH/bin/doggo
|
||||||
```
|
```
|
||||||
|
|
||||||
The binary will be available at `$GOPATH/bin/doggo`.
|
The binary will be available at `$GOPATH/bin/doggo`.
|
||||||
|
|
Loading…
Reference in New Issue