simple-http-server

command module
v0.0.0-...-38f101d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2019 License: MIT Imports: 6 Imported by: 0

README

simple-http-server Build Status

A simple HTTP server that advertises itself to the network with DNS Service Discovery (DNS-SD), also known as Zeroconf (Bonjour, previously Rendezvous). It serves the root directory (/) to the network without any security protections. Do not use it if this is not what you want. Since the server is written in Go, it can easily be adjusted to your own needs by editing the source code.

Download

Precompiled binaries for Windows, Linux, Raspberry Pi, macOS, OpenWrt, precompiled versions are available from https://github.com/probonopd/simple-http-server/releases/tag/continuous

Usage

On all systems except Windows the server needs to be invoked with sudo since it uses port 80.

chmod +x ./server-*
sudo ./server-*

Browsers like Safari on the Mac can show it like this:

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL