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 |
27
readme.md
27
readme.md
@@ -18,12 +18,16 @@ You can paste
|
||||
|
||||
- Normal Text
|
||||
|
||||
- Paste Images from clipboard
|
||||
- Paste Images from clipboard:
|
||||

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

|
||||
|
||||
### CLI
|
||||
|
||||
[](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
|
||||
|
||||
Reference in New Issue
Block a user