lt-web-server 1.0.3

Super lightweight static web server using vibe.d


To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

lt-web-server

Simple lightweight static web server using Vibe.D and language D.

Usage:

This web server can be configured using a simple settings file called web.json

{
    "routes": [
        {"path": "*", "type": "path", "arg": "public/"},
        {"path": "test.html", "type": "file", "arg": "public/my-file.txt"}
    ]
}

The type path allows to serve a path with wildcards using a base folder. The type file allows to serve a path using a static file.

To run the server without to install as service use:

dub run lt-web-server --no-service --settings=/absolute/path/web.json
Authors:
  • Jairo Andres Velasco (jairov4)
Dependencies:
vibe-d, jsonizer
Versions:
1.0.5 2016-Jul-06
1.0.4 2016-Jul-05
1.0.3 2016-Jul-05
1.0.2 2016-Jun-26
1.0.1 2016-Jun-26
Show all 7 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 68 downloads total

Score:
0.4
Short URL:
lt-web-server.dub.pm