Nano Run

https://github.com/reddec/nano-run

A simplified version of trusted-cgi designed for async processing extreme amount of requests.

Main goals

Quick start

(optional) initialize configuration

nano-run server init

it will create required directories and files in a current working directory.

define a unit file

Create minimal unit file (date.yaml) that will return current date (by unix command date) and put it in directory run/conf.d/

run/conf.d/date.yaml

command: date
start nano-run

run

nano-run server run

now you can open ui over http://localhost:8989 or do API call: curl -X POST http://localhost:8989/api/date/