Go to file
qorg11 b3a6b70f31
Created makefile and fix shit on the manpage
2020-06-24 22:36:03 +02:00
doc Created makefile and fix shit on the manpage 2020-06-24 22:36:03 +02:00
http My mistake 2020-05-12 03:21:45 +02:00
COPYING Initial commit 2020-04-19 16:39:34 +02:00
Makefile Created makefile and fix shit on the manpage 2020-06-24 22:36:03 +02:00
README.MD Edited readme.md (--file is useless in newer versions) 2020-06-07 01:59:20 +02:00
TODO.MD Added TODO 2020-04-21 21:58:40 +02:00
lainsafecli Added lainsafecli manual 2020-06-24 06:36:36 +02:00

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 (useless in newer versions)

Example

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


                
           _..-- ----- --.._
        ,-''                `-.
       ,                       \
      /                         \
     /        ` .                \
    '         /  ||               ;
    ;      ^/|   |/        |      |
    |      /v    /\`-'v√\'-|\     ,
    |   /v` ,---      ---- .^.|    ;
    :  |   /´@@`,     ,@@`\  |    ;
    '  |  '. @@ /     \@@ /  |\  |;
    | ^|    -----      ---   | \/||
    ` |`                     | /\ /
    \    \                   |/ |,
    ' ;   \                 /|  |
      `    \      --       / |  |
      `     `.          .-'  |  /
       v,-    `;._   _.;     | |
          `'`\ |-_      -^'^'| |
                  ------     |/
          
https://lainsafe.delegao.moe/files/EWwEnBHk.png