mirror of https://github.com/YGGverse/Pulsar.git
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.
137 lines
3.7 KiB
137 lines
3.7 KiB
{ |
|
"database": |
|
{ |
|
"location":"example.sqlite", |
|
"username":null, |
|
"password":null |
|
}, |
|
"server": |
|
{ |
|
"nex": |
|
{ |
|
"host":"127.0.0.1", |
|
"port":1900, |
|
"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 |
|
} |
|
} |
|
} |