Sign inSign up

godexsoft/krabby

By godexsoft

Updated over 4 years ago

Krabby is a Lua scriptable HTTP/WS server powered by C++

Image
0

286

godexsoft/krabby repository overview

Example

Create a data directory anywhere and cd to it:

$ mkdir /tmp/data
$ cd /tmp/data

Add a file called test.lua with the following content:

Get( "/", {},
    function(who, req, matches, params)
        respond_html(who, 200, "Works :-O")
    end )

Run Krabby:

$ docker run -d --rm -v "$(pwd)":/data:rw -p 8080:8080 --name krabby godexsoft/krabby:0.0.4

Navigate to localhost:8080/ to see Krabby in action.

Next Steps

Go read the readme at https://github.com/godexsoft/krabby to find out more about what Krabby can do.

Tag summary

Content type

Image

Digest

Size

128.3 MB

Last updated

over 4 years ago

docker pull godexsoft/krabby:0.0.5