Static Posts? #23

Open
opened 2018-05-14 14:56:10 +00:00 by benhamill · 4 comments
benhamill commented 2018-05-14 14:56:10 +00:00 (Migrated from github.com)

It would be nice if the server software didn't have to make a DB call when someone went to a post's page, but instead rendered as much as possible to static HTML. Having the advantages of static-site generators like Jekyll and friends with the nice-ness of web publishing and federation would be… potentially awesome.

It would be nice if the server software didn't have to make a DB call when someone went to a post's page, but instead rendered as much as possible to static HTML. Having the advantages of static-site generators like Jekyll and friends with the nice-ness of web publishing and federation would be… potentially awesome.
elegaanz commented 2018-05-14 16:36:59 +00:00 (Migrated from github.com)

Yes, in the future I think the content of the posts will be stored in real files, allowing versionning and patching them (for further edits). But I'm not sure HTML would be the best format yet, we need to investigate…

Yes, in the future I think the content of the posts will be stored in real files, allowing versionning and patching them (for further edits). But I'm not sure HTML would be the best format yet, we need to investigate…
Zykino commented 2018-11-17 00:21:04 +00:00 (Migrated from github.com)

If I could write my posts in Markdown and they are kept in .md somewhere that would be perfect :)

If I could write my posts in Markdown and they are kept in .md somewhere that would be perfect :)
southerntofu commented 2020-04-26 12:37:28 +00:00 (Migrated from github.com)

Hi, I would be interested to run plume as a social frontend to zola which i use for my blog. Abstracting over the storage backend would be ideal, but if that's an approach that is not of interest to you, maybe a simple hook system could do it?

If we could have a hook environment variable pointing to an executable on the system, that would take a few well-defined (and stable across versions) arguments - such as "user add" or "post remove" - with Plume's data structure sent to STDIN as JSON or some other standard serialization format, i think that could do the trick. I believe it would require to version the internal data structures to ensure 3rd party tools quit gracefully in case of version mismatch, instead of failing horribly in unpredictable ways.

There's probably many different ways to attack this problem so i'm interested to hear other thoughts on this topic. Thanks for making plume that's a really interesting piece of software!

PS: I strongly support the idea to pass Markdown, not HTML to 3rd party tooling, especially if the Markdown flavor is explicitly documented

Hi, I would be interested to run plume as a social frontend to [zola](https://getzola.org) which i use for my blog. Abstracting over the storage backend would be ideal, but if that's an approach that is not of interest to you, maybe a simple hook system could do it? If we could have a hook environment variable pointing to an executable on the system, that would take a few well-defined (and stable across versions) arguments - such as "user add" or "post remove" - with Plume's data structure sent to STDIN as JSON or some other standard serialization format, i think that could do the trick. I believe it would require to version the internal data structures to ensure 3rd party tools quit gracefully in case of version mismatch, instead of failing horribly in unpredictable ways. There's probably many different ways to attack this problem so i'm interested to hear other thoughts on this topic. Thanks for making plume that's a really interesting piece of software! PS: I strongly support the idea to pass Markdown, not HTML to 3rd party tooling, especially if the Markdown flavor is explicitly documented
elegaanz commented 2020-04-27 09:51:18 +00:00 (Migrated from github.com)

For the moment, a solution to integrate a static blog in the Fediverse could be squs : https://github.com/elegaanz/squs/

It is a Plume fork I made a few months ago, that reads the RSS feed of a blog and makes a bridge between the Fediverse and the static blog, providing a script to display comments, like Disqus does.

It may be broken tho, I didn't tested it in a long time (and it is based on a quite old version of Plume).

For the moment, a solution to integrate a static blog in the Fediverse could be squs : https://github.com/elegaanz/squs/ It is a Plume fork I made a few months ago, that reads the RSS feed of a blog and makes a bridge between the Fediverse and the static blog, providing a script to display comments, like Disqus does. It may be broken tho, I didn't tested it in a long time (and it is based on a quite old version of Plume).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Plume/Plume#23
No description provided.