Crates.io | pastor |
lib.rs | pastor |
version | 0.13.2 |
source | src |
created_at | 2021-07-26 10:58:18.495298 |
updated_at | 2022-03-27 12:01:54.212946 |
description | The pastebin that hopefully doesn't suck |
homepage | https://gitlab.com/cocainefarm/pastor |
repository | https://gitlab.com/cocainefarm/pastor |
max_upload_size | |
id | 427411 |
size | 518,852 |
_ __ __ _ ___| |_ ___ _ __
| '_ \ / _` / __| __/ _ \| '__|
| |_) | (_| \__ \ || (_) | |
| .__/ \__,_|___/\__\___/|_|
|_|
The pastebin that hopefully doesn't suck
pastor was born out of frustration with other pastebins and their shortcomings
pastor tries to do better
To run pastor with docker or podman:
podman run -p 80:8000 -v
To run pastor using the binary:
curl -Lo pastor https://gitlab.com/api/v4/projects/17469937/packages/generic/pastor/0.13.0/pastor_amd64_static
chmod +x pastor
ROCKET_STORAGE_DIR=
Upload
The second string is a token needed to authenticate for modifying or deleteing your uploads.
Retrieve
Delete
Files expire after an mount of time calculated based on the following formula:
min_age + (-max_age + min_age) * (size / max_size - 1)^3
Where min_age is 5 days, max_age is 365 days, and the maximum size is 512MiB.
days 350 |. | .. | .. 300 |- .. | .. 250 |- . | .. | .. 200 |- .. | .. | .. 150 |- ... | ... | ... 100 |- ... | .... 50 |- ...... | ...... | ............................ 0 +------------|-------------|------------|-------------|------------|-+ 0 100 200 300 400 500 MiB
A graphical user interface is available at: https://{{ url }}/gui
The source code can be found at: https://gitlab.com/cocainefarm/pastor