descriptionnone
ownerqorg@vxempire.xyz
last changeTue, 12 May 2020 15:20:01 +0000 (12 17:20 +0200)
content tags
add:
README.MD

Lainsafe

simple file upload.

Installation:

  1. Configure your webserver to run CGI
  2. If running nginx, set client_max_body_size to the max size of the file
  3. There you go.

lainsafecli

lainsafecli is a simple interface for lainsafe.

lainsafecli configuration

edit the file with your favorite text editor and change these variables:

$DEFAULT_SERVER This is the server where lainsafecli will try to upload the files.

$DISPLAY_ASCII By default 1, change to 0 if you don't want the Lain ascii art to appear when you upload a file.

Command line arguments

--server If given, it will be used instead of $DEFAULT_SERVER

--help Displays a simple help message and exits.

--file the file you want to upload

Example

$ lainsafecli --server https://lainsafe.delegao.moe --file sicp.png



           _..-- ----- --.._
        ,-''                `-.
       ,                       \
      /                         \
     /        ` .                \
    '         /  ||               ;
    ;      ^/|   |/        |      |
    |      /v    /\`-'v√\'-|\     ,
    |   /v` ,---      ---- .^.|    ;
    :  |   /´@@`,     ,@@`\  |    ;
    '  |  '. @@ /     \@@ /  |\  |;
    | ^|    -----      ---   | \/||
    ` |`                     | /\ /
    \    \                   |/ |,
    ' ;   \                 /|  |
      `    \      --       / |  |
      `     `.          .-'  |  /
       v,-    `;._   _.;     | |
          `'`\ |-_      -^'^'| |
                  ------     |/

https://lainsafe.delegao.moe/files/EWwEnBHk.png
shortlog
2020-05-12 qorg11Whoopsmaster
2020-05-12 qorg11Fixed typos and improved docs
2020-05-12 qorg11My mistake
2020-05-02 qorg11Whoopsv0.3
2020-05-01 qorg11Added documentation for upload.cgi
2020-04-29 qorg11Added documentation
2020-04-27 qorg11I'm the stupidest human alive.
2020-04-26 qorg11Cleaned code. A bit.
2020-04-25 qorg11Added variable
2020-04-25 qorg11fuck "my"
2020-04-25 qorg11I'm retarded
2020-04-24 qorg11Added status to index
2020-04-22 qorg11--file not needed anymore, cleaned up code in lainsafec...
2020-04-21 qorg11Added TODO
2020-04-21 qorg11Change default server
2020-04-20 qorg11Really are there websites that use user agent protection?
...
tags
3 years ago v0.3 0.3 release
heads
3 years ago master