{ "database": { "location":"example.sqlite", "username":null, "password":null }, "server": { "nex": { "host":"127.0.0.1", "port":1900, "route": { "/test":"/path/to/page.gmi" }, "event": { "init": { "debug": { "enabled":true, "template":"[{time}] [init] NEX protocol server at {host}:{port}" } }, "open": { "debug": { "enabled":true, "template":"[{time}] [open] connection from {host}#{crid}" } }, "message": { "debug": { "enabled":true, "template":"[{time}] [message] connection from {host}#{crid} request: {path}" } }, "close": { "debug": { "enabled":true, "template":"[{time}] [close] connection from {host}#{crid}" } }, "error": { "debug": { "enabled":true, "template":"[{time}] [error] connection from {host}#{crid} reason: {info}" } } } } }, "crawler": { "channel": [ { "source":"https://www.omglinux.com/feed", "alias":"omglinux.gmi", "order":1, "enabled":true, "item": { "link": { "enabled":true, "required":false }, "pubDate": { "enabled":true, "required":false }, "title": { "enabled":true, "required":false }, "description": { "enabled":true, "required":false }, "content":{ "enabled":false, "required":false } } }, { "source":"https://omgubuntu.co.uk/feed", "alias":"omgubuntu.gmi", "order":2, "enabled":false, "item": { "link": { "enabled":true, "required":false }, "pubDate": { "enabled":true, "required":false }, "title": { "enabled":true, "required":false }, "description": { "enabled":true, "required":false }, "content":{ "enabled":false, "required":false } } } ], "debug": { "info":true, "warning":true, "error":true } } }