On 19/10/2025 22:15, Ludovic Courtès wrote:
Hello,
Ray Miller <[email protected]> writes:
This sounded like a fun project and, with the damp autumn days drawing
in, I found some
time to have a go at it. It's still a work in progress so there might
be some rough edges,
but I'm happy to share what I have so far:
https://codeberg.org/ray1729/planet-guix
I published a demo site here: https://just-testing.1729.org.uk/ (not a
permanent home
for it: this is running on a server under the desk in my home office!)
This is very cool!
Thank you!
Should the project host it at planet.guix.gnu.org? That would be quite
easy to do technically but I wonder what people think.
I was hoping it could find a more appropriate home like that.
I would also be happy for you to fork the repository and host it
under the Guix organization, but there are a couple of things
I'd like to fix first: better sanitization of the HTML pulled out
of the feeds, and some caching.
Re. caching: at the moment, if a feed is unavailable during
the build it will be skipped and won't appear in the output, so I
plan to build in some caching so it could fall back to the previous
version in that case. The downside to this is that the build would
no longer be completely stateless. An alternative might
be to abort the build if a site is unavailable, but then an
outage of a single site would block the build.
I thought it might even be useful to keep a database of all past
posts, so the planet could still show entries that had expired
from the current version of a feed. What are people's thoughts
on this?
Ray.