From f49b160a5283d13f5f8ce9af95b987d2556883f1 Mon Sep 17 00:00:00 2001 From: Horus3 Date: Tue, 22 Nov 2016 15:51:13 +0100 Subject: Add new subpage for µhttpd. --- layouts/uhttpd/single.html | 147 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 147 insertions(+) create mode 100644 layouts/uhttpd/single.html (limited to 'layouts/uhttpd') diff --git a/layouts/uhttpd/single.html b/layouts/uhttpd/single.html new file mode 100644 index 0000000..cfcab76 --- /dev/null +++ b/layouts/uhttpd/single.html @@ -0,0 +1,147 @@ + {{ $.Scratch.Set "NoCustomCSS" true }} + {{ partial "header.tmpl" . }} + + + + + {{ partial "favicon.tmpl" .}} + + + +
+ + +
+ Run µhttpd and it serves the directory content via web server, so you can access it with your web browser.
+Access e.g. your music from your local net on every device. Just open a web browser and point it to a running µhttpd.
+µhttpd is able to recieve uploads from your browser. The target directory is fully customizable.
+The installation of µhttpd is very straightforward. Download the precompiled binary and run it.
+To compile from source you need a working Go environment (with cgo) and flex installed. Clone the repo and run make
You can modify µhttpd with some simple command line flags. Run 'µhttpd -h' for more help.
+-dir: The directory to serve. Defaults to the working directory.
+ -ip: The ip µhttpd binds to. If not given, it binds to all interfaces µhttpd finds.
+ -port: The port µhttpd will listen on.
+ -quiet: When given µhttpd will not log the access. Only error messages will be issued.
+ -disallow-upload: When given µhttpd does not allow to upload files.
+ -upload-dir: Specify the directory to save uploaded files. Defaults to the working directory.
To upload open /upload with your browser.
+