You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
4 years ago | |
---|---|---|
src | 4 years ago | |
static | 5 years ago | |
.gitignore | 4 years ago | |
Cargo.lock | 4 years ago | |
Cargo.toml | 4 years ago | |
license.md | 5 years ago | |
readme.md | 5 years ago |
readme.md
Rust Bucket
My ideal vision of a pastebin/image/file host, easy to use from the command line with any tools, and from a browser with and without javascript
Borrows ideas and inspiration from many different pastebins over the years:
- ZeroBin (client-side encryption)
- chefi (paste with netcat)
- Rocket.rs example pastebin (framework)
- dank-paste (multipart/form-data support)
- ix.io (downloadable client)
Delete after 1/2 views, 5/10 minutes, 1 hour/day/week/month/year, forever, delete after not viewed within X
Don't store file type, only used for link, can use any suffix for link
Store when to delete (how many views + how long), store how many times viewed, store when uploaded (or file creation date?)
Maybe if we only support 'burn after reading' like zerobin we can use a special created_date to signify this and then never count views, or, another file, since that would interfere with 'delete after X time'
Crazy random thoughts:
- hash IDs, use un-hashed ID to encrypt paste