richi0 / static_server

A simple static file server with basic auth and automatic shutdown after the given time.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Static file server

A simple static file server with basic auth and automatic shutdown after the given time.

Usage

  -folder string
        Folder to serve from (default ".")
  -password string
        BasicAuth password (default "password")
  -port string
        Port number (default "4000")
  -runtime int
        Time the serve will be available in minutes (0 == always)
  -username string
        BasicAuth username (default "username")

About

A simple static file server with basic auth and automatic shutdown after the given time.


Languages

Language:Go 70.5%Language:Makefile 29.5%