JS>> blck>> 返回
项目作者: parazyd

项目描述 :
Ephemeral pastebin/url-shortener
高级语言: HTML
项目地址: git://github.com/parazyd/blck.git
创建时间: 2017-03-19T21:43:40Z
项目社区:https://github.com/parazyd/blck

开源协议:GNU Affero General Public License v3.0

下载


blck

an ephemeral pastebin. you can only retrieve the paste once, and then it
is deleted from the server.

installation

get flask and python-magic, then execute blck.py.

if not running in debug mode, you also need bjoern. find it at
https://github.com/jonashaag/bjoern.

run blck.py -h to see usage info.

nginx

  1. location / {
  2. proxy_set_header Host $host;
  3. proxy_set_header X-Real-IP $remote_addr;
  4. proxy_set_header X-Forwarded-Proto https;
  5. proxy_pass http://127.0.0.1:13321;
  6. }

usage

either use the website, or curl:

  1. curl -F 'c=@-' http://whatever.domain < file