BIN
.github/files/drag_n_drop.gif
vendored
Normal file
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
BIN
.github/files/image_clipboard.gif
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 519 KiB |
29
readme.md
29
readme.md
@@ -18,12 +18,16 @@ You can paste
|
|||||||
|
|
||||||
- Normal Text
|
- Normal Text
|
||||||
|
|
||||||
- Paste Images from clipboard
|
- Paste Images from clipboard:
|
||||||
|

|
||||||
|
|
||||||
- Files by drag and drop
|
- Files by drag and drop:
|
||||||
|

|
||||||
|
|
||||||
### CLI
|
### CLI
|
||||||
|
|
||||||
|
[](https://asciinema.org/a/khcEtveMAbjqJccySdmWuPe1l)
|
||||||
|
|
||||||
#### Installation
|
#### Installation
|
||||||
|
|
||||||
Get the client from [this repository](contrib/cli/client) or from my deployed paste:
|
Get the client from [this repository](contrib/cli/client) or from my deployed paste:
|
||||||
@@ -83,7 +87,16 @@ Currently, builds for the following target triples are shipped:
|
|||||||
- x86_64-unknown-linux-gnu (amd64)
|
- x86_64-unknown-linux-gnu (amd64)
|
||||||
- aarch64-unknown-linux-gnu (arm64)
|
- aarch64-unknown-linux-gnu (arm64)
|
||||||
|
|
||||||
The builds shipped are statically linked, so you don't even need a libc to run the binary !
|
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
|
### Docker Compose
|
||||||
|
|
||||||
@@ -94,20 +107,14 @@ services:
|
|||||||
image: wantguns/bin
|
image: wantguns/bin
|
||||||
container_name: pastebin
|
container_name: pastebin
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:6162:6162
|
- 127.0.0.1:6163:6163
|
||||||
environment:
|
environment:
|
||||||
- BIN_PORT=6162
|
- BIN_PORT=6163 # Defaults to 6162
|
||||||
- BIN_LIMITS={form="16 MiB"}
|
- BIN_LIMITS={form="16 MiB"}
|
||||||
volumes:
|
volumes:
|
||||||
- ./upload:/upload # upload folder will have your pastes
|
- ./upload:/upload # upload folder will have your pastes
|
||||||
```
|
```
|
||||||
|
|
||||||
### Docker
|
|
||||||
|
|
||||||
```bash
|
|
||||||
$ docker run -p 6162:6162 wantguns/bin
|
|
||||||
```
|
|
||||||
|
|
||||||
### Manual
|
### Manual
|
||||||
|
|
||||||
- Grab a copy of the binary from GH releases
|
- Grab a copy of the binary from GH releases
|
||||||
|
|||||||
Reference in New Issue
Block a user