blck

ephemeral pastebin/url shortener
git clone https://git.parazyd.org/blck
Log | Files | Refs | README | LICENSE

README.md (628B)


      1 blck
      2 ====
      3 
      4 an ephemeral pastebin. you can only retrieve the paste once, and then it
      5 is deleted from the server.
      6 
      7 
      8 installation
      9 ------------
     10 
     11 get `flask` and `python-magic`, then execute `blck.py`.
     12 
     13 if not running in debug mode, you also need `bjoern`. find it at
     14 https://github.com/jonashaag/bjoern.
     15 
     16 run `blck.py -h` to see usage info.
     17 
     18 
     19 nginx
     20 -----
     21 
     22 ```
     23 location / {
     24 	proxy_set_header Host $host;
     25 	proxy_set_header X-Real-IP $remote_addr;
     26 	proxy_set_header X-Forwarded-Proto https;
     27 	proxy_pass http://127.0.0.1:13321;
     28 }
     29 ```
     30 
     31 
     32 usage
     33 -----
     34 
     35 either use the website, or curl:
     36 
     37 ```
     38 curl -F 'c=@-' http://whatever.domain < file
     39 ```