Go to file
qorg11 6165c4bfc3
Added a available servers
(Please informe me if you setup one!)
2020-10-20 16:12:09 +02:00
doc FINAL COMMIT I SWEAR 2020-10-20 16:00:20 +02:00
http Fixed the download-link spitting 2020-09-13 00:12:37 +02:00
screenshots Added screenshots 2020-08-22 14:20:47 +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 Improved documentation 2020-10-20 15:48:23 +02:00
SERVERS.org Added a available servers 2020-10-20 16:12:09 +02:00
TODO.MD Added $LINK_STORE so the user can choose where to store the upload 2020-08-07 19:27:57 +02:00
lainsafecli duckdns lainsafe used the oldest lainsafe version as possible and delegao's doesn't and it's not cloudflared anymore. so "official" again! 2020-10-20 16:06:15 +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.

For more detailed information, look at the manpage

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

AUR - lainsafecli

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

Automatically removing files

Try lsd (lainsafe daemon)

usage: lsd <path> days

lsd wont work with versions before 8a557ca

but perl sux!!

No problem, Lainsafe rewritten in PHP (Not sure if it is compatible with lainsafecli, probably not)

Donate

Thanks!

Liberapay

Bitcoin: bc1qghl6f27dpgktynpvkrxte2s3gm9pcv8vlwuzum Monero: 47QTumjtqJabbo1s9pLDdXeJarLVLfs1AaEcbi1xrEiV852mqcbe5AHLNXTk7tH9MscxcxQDfJQnvH5LpxvfgwSJQZ3zbS6