You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
qorg11 f5967c88c0
Fix indendation in http/upload.cgi
2 days ago
doc Created makefile and fix shit on the manpage 1 week ago
http Fix indendation in http/upload.cgi 2 days ago
COPYING Initial commit 2 months ago
Makefile Created makefile and fix shit on the manpage 1 week ago
README.MD Fixed typo in README.MD 4 days ago
TODO.MD Added TODO 2 months ago
lainsafecli Deleted useless lines of code 4 days ago

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

Installation

Debian

Lainsafe has official packages for Debian, they shold work for any dpkg-based distro, such as Ubuntu and so on

You can download a possible outdated deb package here

If you want updates for your package, you have to add repo.qorg11.net to your sources.list:

echo "deb http://repo.qorg11.net/debian stable main" >> /etc/apt/sources.list
wget http://repo.qorg11.net/repo.key -q -O - | sudo apt-key add
sudo apt updates
sudo apt install lainsafecli

Arch

TODO

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