Skip to content

Commit

Permalink
chore: improve helptext
Browse files Browse the repository at this point in the history
  • Loading branch information
ozwaldorf committed Oct 10, 2024
1 parent c6d9ba9 commit eb93370
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,29 +34,29 @@ const HELP_TEMPLATE: &str = "\
# View helptext
curl {host} -L
# File Upload
# Upload file
curl {host} -LT <file path>
# Command output
# Upload command output
<command> | curl {host} -LT -
DESCRIPTION
A simple, no bullshit, command line pastebin.
Pastes are created using HTTP PUT requests, which returns a URL
containing a portion of the content's blake3 hash, encoded with
base58.
Pastes are created using HTTP PUT requests, which returns a
determanistic URL containing a portion of the content's blake3
hash, encoded with base58. Uploads with identical content will
always have the same download URL.
Content is deleted from storage after some time. Once deleted,
the content will remain available for some time in regions that
have it cached still. Content ids are hashes, so re-uploaded
content will always the same URL.
Content is always deleted from storage after some time.
Once deleted, the content will remain available in regions that
have it cached still.
NOTES
* Maximum file size : {max_size}
* Storage TTL : {kv_ttl}
* Cache TTL : {cache_ttl}
* All time uploads : {upload_counter}
* Maximum file size : {max_size}
* Storage TTL : {kv_ttl}
* Regional cache TTL : {cache_ttl}
* All time uploads : {upload_counter}
EXAMPLES
$ echo 'testing' | curl {host} -LT -
Expand Down

0 comments on commit eb93370

Please sign in to comment.