anyone doing server-side static rendering of longform content for hosting peoples nostr blogs? if not it's something we could provide on notecrumbs.

Reply to this note

Please Login to reply.

Discussion

i guess njump does this, but would be cool if the author could customize the design and create a listing of just their longform posts

this is oracolo...

what's that

it does the complete opposite of what I was looking for. it does no static rendering or caching on the server.

awesome, definitely more what I was looking for. but one thing I would do is make it static for everyone on nostr. maybe I'll hack that together one day

Let’s do it!

would be good to have something like that for individual particles for example

I have this on my list of ideas. I like hugo for static sites and want to write something that scaffolds the site and fetches content with nak. rebuild on a cron. tons of free theme, easy to customize.

but first i have to finish the other thing.

i can separate content by kinds too. so /blog could be longform and /log could be short notes. the key is just rebuilding whatever the content is on a schedule - or event driven. i go back and forth on actually hosting other peoples stuff. it would make it completely turn key but has downsides.

event driven would be fun just because i could spin up a key for the service. it follows you to receive events and schedule rebuilds. opens up zaps for funding

finally, i’ve considered building all of this in github with actions. i think i could shove all the logic into a github action and folks could get free hosting on github pages. but im less excited to go read their docs

yeah exactly what I was thinking.

I also want a hostless version so it does it automatically for everyone

I am also in need of such a thing. Not satisfied with how my code listings look on other platforms. I might do it myself one day.

yeah exactly. users should be able to customize the style

https://decentnewsroom.com

It’s not customizable at the moment, but it’s going to be.

The front page is currently a demo magazine with various authors, but each author has a dedicated page and longform articles are server-side rendered.

That’s what the other stuff in nostr stands for.

We should probably host it, or a mirror of it, to get her a stronger server. This one is a bit lame.

Page loading could be a lot snappier, with SSR.

We certainly should !

looks good!

It's more architecturally complex than a mere feed (although it also has those, by author). It's an actual curated publication containing a defined list of articles from whichever authors the editor(s) want to include.

It's an online magazine that is specifically assembled and published, in editions.

So, someone could create one for only their own articles, or for articles covering some topic, or for a company, etc. And format the content, very specifically, according to their own brand. I could do one for German-language articles, for instance.

At least, this is how I understood the underlying concept, nostr:npub1636uujeewag8zv8593lcvdrwlymgqre6uax4anuq3y5qehqey05sl8qpl4 .

Hey, just realized that this would be an easier way to host our GitCitadel.com home page, than the HTML pages we currently have. 🤔

I could change the sections, by changing the 30023s in the index, right?

Okay, we're really doing this. 😂

I do my reads on Primal, though I wouldn't mind getting my reads on there soon.

Can I ask you to share the repo url if you have one?

With composer, would I be able to stuff in a MySql database instead of postgress? Same goes with disabling redis caching?

Yep. None of it is set in stone. I have a lite version in mind also, for a single magazine. While Newsroom is meant to become a newsstand eventually. The db is really thin. And if you’d be using it for a single magazine-like website, you don’t need redis at all.

I low-key totally like the idea of hosting a Nostr newsstand for TheForest 🌲 premium subscribers.

Then they all get their own content-management website. 🤔

I like this!

For the record I mean doctrine, not composer lol

there doesn't seem to be a way to see a statically generated version of my longform posts here. so no.

closest thing is njump but it doesn't seem to have a landing page for your longform articles

Every time I comment on your posts I am humbled by how little I know about computer science.

I think this is quite easily achieved with hugo, given that there is a relay to query for the posts

https://gohugo.io/functions/transform/unmarshal/#global-resource (see remote ressources)