Skip to content

Commit

Permalink
chore: add URL to README
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-karan committed Mar 11, 2021
1 parent 6d6e69b commit 45dd2e2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,17 @@ 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
build_flag_templates:
- "--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
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -27,18 +29,19 @@ 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

### Binary

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
Expand Down Expand Up @@ -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`.
Expand Down

0 comments on commit 45dd2e2

Please sign in to comment.