Add README.md

这个提交包含在:
Albert S. 2021-03-21 21:23:09 +01:00
父节点 9f40c9640c
当前提交 dcec5f0b04
共有 1 个文件被更改,包括 27 次插入0 次删除

27
README.md 普通文件
查看文件

@ -0,0 +1,27 @@
# uploader
This quickly hacked upload solution is my quite simple (of course), convenient CLI uploader, that also encrypts files. Send the link and the browser will decrypt it. Alternatively, you can also choose not to encrypt.
A cronjob will get rid of old files. `
## Setup
To be written™.
## Usage
```
upload file 3days
```
File will be encrypted before upload, and then an expiration entry created. Then you'll get the link.
The file will expire after 3 days. Then the cronjob will remove it.
```
upload file 10weeks plain
```
Same as above, but will expire after 10weeks and no encryption will happen.
## Credits
Thanks to [lawl](https://github.com/lawl) for his work on [dumpaste](https://github.com/lawl/dumpaste), which I have stolen and modified here (with permission). His approach has a convenient upload form, a pastebin textbox and curl based CLI upload too. Expiration and uploads are handled by a go binary.