mirror of
https://github.com/amigan/rustypaste-pretty.git
synced 2024-11-21 20:09:48 -05:00
docs(readme): update README.md about one shot file uploads
This commit is contained in:
parent
7a510bc2ad
commit
0138cff440
1 changed files with 7 additions and 1 deletions
|
@ -19,6 +19,7 @@ some text
|
||||||
- random file names (optional)
|
- random file names (optional)
|
||||||
- pet name (e.g. `capital-mosquito.txt`)
|
- pet name (e.g. `capital-mosquito.txt`)
|
||||||
- alphanumeric string (e.g. `yB84D2Dv.txt`)
|
- alphanumeric string (e.g. `yB84D2Dv.txt`)
|
||||||
|
- one shot links (file _disappears_ after accessed)
|
||||||
- guesses MIME types
|
- guesses MIME types
|
||||||
- supports overriding and blacklisting
|
- supports overriding and blacklisting
|
||||||
- Single binary
|
- Single binary
|
||||||
|
@ -52,6 +53,12 @@ $ rpaste x.txt
|
||||||
$ rpaste -
|
$ rpaste -
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### One Shot
|
||||||
|
|
||||||
|
```sh
|
||||||
|
curl -F "oneshot=@x.txt" "<server_address>"
|
||||||
|
```
|
||||||
|
|
||||||
#### URL Shortening
|
#### URL Shortening
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
@ -133,7 +140,6 @@ http {
|
||||||
|
|
||||||
### Roadmap
|
### Roadmap
|
||||||
|
|
||||||
- Support "disappearing" files
|
|
||||||
- Support setting an expiry date for uploads
|
- Support setting an expiry date for uploads
|
||||||
- Write a CLI tool in Rust
|
- Write a CLI tool in Rust
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue