RSS Aggregator for Gemini Protocol
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

141 lines
3.8 KiB

{
"database":
{
"location":"example.sqlite",
"username":null,
"password":null
},
"server":
{
7 months ago
"nex":
{
"host":"127.0.0.1",
"port":1900,
"route":
{
"/test":"/path/to/page.gmi"
},
"event":
{
"init":
{
"debug":
{
"enabled":true,
7 months ago
"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
}
}
}