readme: add gifs

Signed-off-by: Gunwant Jain <mail@wantguns.dev>
This commit is contained in:
Gunwant Jain
2022-01-19 18:52:10 +05:30
parent edc247b558
commit 8e23ec4c97
3 changed files with 18 additions and 11 deletions

BIN
.github/files/drag_n_drop.gif vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

BIN
.github/files/image_clipboard.gif vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 519 KiB

View File

@@ -18,12 +18,16 @@ You can paste
- Normal Text
- Paste Images from clipboard
- Paste Images from clipboard:
![clipboard-paste](.github/files/image_clipboard.gif)
- Files by drag and drop
- Files by drag and drop:
![drag_n_drop](.github/files/drag_n_drop.gif)
### CLI
[![cli-usage](https://asciinema.org/a/khcEtveMAbjqJccySdmWuPe1l.svg)](https://asciinema.org/a/khcEtveMAbjqJccySdmWuPe1l)
#### Installation
Get the client from [this repository](contrib/cli/client) or from my deployed paste:
@@ -84,6 +88,15 @@ Currently, builds for the following target triples are shipped:
- aarch64-unknown-linux-gnu (arm64)
The builds shipped are statically linked, so you don't even need a libc to run the binary !
The docker manifest labelled
[`wantguns/bin:latest`](https://hub.docker.com/layers/wantguns/bin/latest/images/sha256-34c19b59d098bd1420fc48f6b1f01dc250d3d8787a3786f5425efb4e74cc17f2?context=repo)
includes the images for both amd64 and arm64 images.
### Docker
```bash
$ docker run -p 6162:6162 wantguns/bin
```
### Docker Compose
@@ -94,20 +107,14 @@ services:
image: wantguns/bin
container_name: pastebin
ports:
- 127.0.0.1:6162:6162
- 127.0.0.1:6163:6163
environment:
- BIN_PORT=6162
- BIN_PORT=6163 # Defaults to 6162
- BIN_LIMITS={form="16 MiB"}
volumes:
- ./upload:/upload # upload folder will have your pastes
```
### Docker
```bash
$ docker run -p 6162:6162 wantguns/bin
```
### Manual
- Grab a copy of the binary from GH releases