RetejoI have been working on a new type of web-server for serving static web-sites
-
Retejo
I have been working on a new type of web-server for serving static web-sites.
I started working on it recently — on August 23rd. But, have had the idea for it for a number of years.
...
What is different about this web-server for static web-sites‽
Well, of course, it supports HTML.
But, it also supports Markdown, and ActivityPub natively!
https://codeberg.org/reiver/retejo
#ActivityPub #ActivityStreams #codeberg #forgejo #gitea #markdown #retejo #StaticSite #StaticWeb #StaticWebSite
-
Retejo
I have been working on a new type of web-server for serving static web-sites.
I started working on it recently — on August 23rd. But, have had the idea for it for a number of years.
...
What is different about this web-server for static web-sites‽
Well, of course, it supports HTML.
But, it also supports Markdown, and ActivityPub natively!
https://codeberg.org/reiver/retejo
#ActivityPub #ActivityStreams #codeberg #forgejo #gitea #markdown #retejo #StaticSite #StaticWeb #StaticWebSite
@reiver How it uses ActivityPub?
-
@reiver How it uses ActivityPub?
If an HTTP request is made on a page on a Retejo server with:
Accept: application/activity+json
For some pages Retejo will automatically create a ActivityPub / ActivityStream version of the page.
(Retejo looks at the HTML to infer what the data in the application/activity+json document should be.)
...
Currently it is working on way, but — I want to improve it a bit though.
.
-
If an HTTP request is made on a page on a Retejo server with:
Accept: application/activity+json
For some pages Retejo will automatically create a ActivityPub / ActivityStream version of the page.
(Retejo looks at the HTML to infer what the data in the application/activity+json document should be.)
...
Currently it is working on way, but — I want to improve it a bit though.
.
@reiver You mean it returns something like a
Page
with HTML content of the page? -
@reiver You mean it returns something like a
Page
with HTML content of the page?Right now is returning `Article`, if the HTML is a certain way.
(The automatic application/activity+json generation is triggered by the HTML being a certain way.)
I am going to add `Person` and `Note` soon, too.
-
Right now is returning `Article`, if the HTML is a certain way.
(The automatic application/activity+json generation is triggered by the HTML being a certain way.)
I am going to add `Person` and `Note` soon, too.
Is this feature documented? I didn't find any information in the readme.
If it's still in development, could you create a tracking issue in the Codeberg repo? I would subscribe to it.