Sign inSign up

metacontroller/jsonnetd

By metacontroller

•Updated over 7 years ago

A simple HTTP server that executes Jsonnet files in response to requests.

Image
1

500K+

metacontroller/jsonnetd repository overview

⁠jsonnetd

This is an HTTP server that loads a directory of Jsonnet files and serves each one as a webhook.

Each hook should evaluate to a Jsonnet function:

function(request) {
  // response body
}

The body of the POST request is itself interpreted as Jsonnet and given to the hook as a top-level request argument.

The entire result of evaluating the Jsonnet function is returned as the webhook response body, unless the function returns an error.

Tag summary

Content type

Image

Digest

Size

24.4 MB

Last updated

over 7 years ago

docker pull metacontroller/jsonnetd