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" .}} + + + + + + +
+
+
+
+

µhttpd is a self-contained instant micro web server.
+ Use it to share files from your local computer with others.

+ Download uhttpd +
+
+ + +
+
+
+
+ +
+
+
+ + + +
+
+
+ +
+
+

Installation

+

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

+
+ View source code +
+
+ +
+
+

Usage

+

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.

+
+
+ +
+
+

Created By

+

Written by Maximilian Möhring.

+ Read Here More +
+
+ {{partial "footer.tmpl"}} -- cgit v1.2.3