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 89ad06ce23
whoops
4 weeks ago
clainsafecli whoops 4 weeks ago
doc * Modified the makefile so you can add custom CFLAGS 1 month ago
http Make lainsafe change the name repleace the spaces in the url with %20 1 month ago
screenshots Added screenshots 8 months ago
COPYING Initial commit 1 year ago
Makefile Created makefile and fix shit on the manpage 10 months ago
README.MD fix grammar, lol and isntructions on using curl and hlainsafecli 5 months ago
SERVERS.org Added a available servers 6 months ago
TODO.MD Added $LINK_STORE so the user can choose where to store the upload 9 months 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.

For more detailed information, look at the manpage

lainsafecli

Installation

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/160572227741108.png

Automatically removing files

Try lsd (lainsafe daemon)

usage: lsd <path> days

lsd wont work with versions before 8a557ca

but perl sux!!

No problem, use this then

You don't have to use lainsafecli either, you can just use curl:

curl -F"file=@file" <server>

or just use hlainsafecli

Donate

Thanks!

Liberapay

Bitcoin: bc1qghl6f27dpgktynpvkrxte2s3gm9pcv8vlwuzum Monero: 47QTumjtqJabbo1s9pLDdXeJarLVLfs1AaEcbi1xrEiV852mqcbe5AHLNXTk7tH9MscxcxQDfJQnvH5LpxvfgwSJQZ3zbS6