37 lines
781 B
Markdown
37 lines
781 B
Markdown
marisa
|
|
======
|
|
HTTP based File upload system.
|
|
|
|
Features
|
|
--------
|
|
+ Link expiration
|
|
+ Mimetype support
|
|
+ Random filenames
|
|
+ Multiple file uploads
|
|
+ Javascript not needed
|
|
+ Privilege drop
|
|
+ chroot(2) support
|
|
+ FastCGI support
|
|
|
|
Usage
|
|
-----
|
|
Refer to the marisa(1) manual page for details and examples.
|
|
|
|
marisa [-v] [-f marisa.conf]
|
|
|
|
Configuration is done through its configuration file, marisa.conf(5).
|
|
The format is that of the INI file format.
|
|
|
|
Uploading files is done via PUT and POST requests. Multiple files can
|
|
be sent via POST requests.
|
|
|
|
curl -T file.png http://domain.tld
|
|
curl -F file=file.png -F expiry=3600 http://domain.tld
|
|
|
|
Installation
|
|
------------
|
|
Run the following commands, you will need the [Go](https://go.dev) compiler
|
|
|
|
$ (b)make
|
|
# (b)make install
|