all repos — h3rald @ b29aca24600ba0423a8380001f377021b644e7e9

The sources of https://h3rald.com

Released nimhttpd and mn.
h3rald h3rald@h3rald.com
Thu, 22 Apr 2021 20:49:03 +0000
commit

b29aca24600ba0423a8380001f377021b644e7e9

parent

81b4da6c39e2f6f08d45a0b6cc4a215c17dcc306

2 files changed, 7 insertions(+), 4 deletions(-)

jump to
M contents/mn.mdcontents/mn.md

@@ -8,7 +8,7 @@ summary: "A tiny, very minimalistic programming language inspired by min."

content-type: project active: true download: "https://github.com/h3rald/mn/releases/download/" -version: 0.1.0 +version: 0.2.0 docs: /mn/Mn_DeveloperGuide.htm -----
M contents/nimhttpd.mdcontents/nimhttpd.md

@@ -7,19 +7,22 @@ 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 +version: 1.2.0 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_ **]** +**nimhttpd** **[** **-p:**_port_ **-t:**_title_ **-a:_address_ **]** **[** _directory_ **]** Where: * _directory_ is the directory to serve (default: current directory). -* _port_ is the port to listen to (default: 1337). +* _port_ is the port to listen to (default: 1337). If the specified port is + unavailable, the number will be incremented until an available port is found. +* _address_ is the address to bind to (default: 0.0.0.0). +* _title_ is the title to use when listing the contents of a directory. ### Downloads