all repos — h3rald @ 81b4da6c39e2f6f08d45a0b6cc4a215c17dcc306

The sources of https://h3rald.com

contents/nimhttpd.md

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
-----
id: nimhttpd
github: nimhttpd
home: /nimhttpd/
title: "NimHTTPd"
subtitle: "A tiny static file web server."
summary: "A tiny, self-contained program able to serve files within a directory via HTTP."
content-type: project
active: true
version: 1.1.1
download: "https://github.com/h3rald/nimhttpd/releases/download/"
-----
_NimHHTPd_ is a minimal web server that can be used to serve static files.

### Usage

**nimhttpd** **[** **-p:**_port_ **]** **[** _directory_ **]**

Where:

* _directory_ is the directory to serve (default: current directory).
* _port_ is the port to listen to (default: 1337).

### Downloads

* [macOS (x64)]({{$download}}v{{$version}}/{{$github}}_v{{$version}}_macosx_x64.zip)
* [Linux (x64)]({{$download}}v{{$version}}/{{$github}}_v{{$version}}_linux_x64.zip)
* [Windows (x64)]({{$download}}v{{$version}}/{{$github}}_v{{$version}}_windows_x64.zip)