mirror of
https://github.com/YGGverse/Pulsar.git
synced 2026-03-31 17:55:37 +00:00
implement build-in gemini server
This commit is contained in:
parent
d297b16523
commit
7275ecdacd
7 changed files with 300 additions and 9 deletions
|
|
@ -3,7 +3,7 @@
|
|||
[
|
||||
{
|
||||
"source":"https://www.omglinux.com/feed",
|
||||
"target":"data/omglinux.com/feed.gmi",
|
||||
"target":"server/127.0.0.1/public/omglinux/feed.gmi",
|
||||
"item":
|
||||
{
|
||||
"template":"=> {link} {title}{nl}{nl}{description}",
|
||||
|
|
@ -12,7 +12,7 @@
|
|||
},
|
||||
{
|
||||
"source":"https://omgubuntu.co.uk/feed",
|
||||
"target":"data/omgubuntu.co.uk/feed.gmi",
|
||||
"target":"server/127.0.0.1/public/omgubuntu/feed.gmi",
|
||||
"item":
|
||||
{
|
||||
"template":"=> {link} {title}{nl}{nl}{description}",
|
||||
12
example/host.json
Normal file
12
example/host.json
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"host":"127.0.0.1",
|
||||
"port":1965,
|
||||
"cert":"cert.pem",
|
||||
"key":"key.rsa",
|
||||
"data":
|
||||
{
|
||||
"directory":"public",
|
||||
"index":"index.gmi",
|
||||
"listing":true
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue