chore: add URL to README

pull/18/head v0.3.8
Karan Sharma 2021-03-11 12:10:59 +05:30
parent 6d6e69b8e4
commit 45dd2e2af2
2 changed files with 10 additions and 6 deletions

View File

@ -52,8 +52,8 @@ snapcrafts:
dockers:
- image_templates:
- "ghcr.io/mr-karan/doggo-cli:{{ .Tag }}"
- "ghcr.io/mr-karan/doggo-cli:latest"
- "ghcr.io/mr-karan/doggo:{{ .Tag }}"
- "ghcr.io/mr-karan/doggo:latest"
binaries:
- doggo
dockerfile: Dockerfile-cli
@ -61,8 +61,8 @@ dockers:
- "--build-arg"
- "ARCH=amd64"
- image_templates:
- "ghcr.io/mr-karan/doggo-cli:{{ .Tag }}-arm64v8"
- "ghcr.io/mr-karan/doggo-cli:latest-arm64v8"
- "ghcr.io/mr-karan/doggo:{{ .Tag }}-arm64v8"
- "ghcr.io/mr-karan/doggo:latest-arm64v8"
binaries:
- doggo
goarch: arm64

View File

@ -4,6 +4,8 @@
<h2 align="center">doggo</h2>
<p align="center">
🐶 <i>Command-line DNS client for humans</i>
<br/>
<a href="https://doggo.mrkaran.dev">doggo.mrkaran.dev</a>
</p>
<img src="www/static/doggo.png" alt="doggo CLI usage">
</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 multiple resolvers at once.
- Supports IPv4 **and** IPv6 _both_.
- Available as a web tool as well: [https://doggo.mrkaran.dev](https://doggo.mrkaran.dev).
## 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.
For eg, to pull the latest Linux binary:
For eg, to pull the latest `linux-amd64` binary:
```shell
$ 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
# doggo should be available now in your $PATH
$ doggo
@ -76,6 +79,7 @@ You need to have `go` installed in your system.
```bash
$ 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`.