Nimhttpd Save

A tiny static file web server written in Nim

Project README

Nimble

Release License

NimHTTPd

NimHTTPd is a minimal web server that can be used to serve static files.

Usage

nimhttpd [ -p:port -t:title -a:address -6:ipv6 -H:"key: val" ] [ directory ]

Where:

  • directory is the directory to serve (default: current directory).
  • 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: localhost; use "0.0.0.0" to accept any IPv4 address).
  • ipv6 is the IPv6 address to bind to (default: localhost; use "::" to accept any IPv6 address).
  • title is the title to use when listing the contents of a directory.
  • -H is a custom header (Specified like in curl)
Open Source Agenda is not affiliated with "Nimhttpd" Project. README Source: h3rald/nimhttpd
Stars
80
Open Issues
1
Last Commit
1 month ago
Repository
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating