all repos — fsrv @ b00f8f23450ac8f362a2eaa234199b820fbd17a3

filehost server for x.icyphox.sh

readme (view raw)

 1FSRV
 2
 3Filehost server for https://x.icyphox.sh.
 4
 5
 6(NON) FEATURES
 7
 8· Single-user
 9· Only handles file upload. Serving is left to the reverse proxy.
10· Bring your own index.html (-index flag)
11· Requires a key to upload. Change the default!
12
13
14USAGE
15
16    Usage of ./fsrv:
17      -index string
18            path to index html file (default "index.html")
19      -key string
20            secret key; generate this yourself (default "secret")
21      -namelen int
22            length of random filename (default 5)
23      -port string
24            port to listen on (default "9393")
25      -storepath string
26            path to store uploaded files (default "uploads")
27      -url string
28            url for fsrv to serve files (default "localhost")
29
30Sample index.html is provided. Edit as required.