anyone doing server-side static rendering of longform content for hosting peoples nostr blogs? if not it's something we could provide on notecrumbs.
Login to reply
Replies (39)
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.
Have you checked out nostr-static from @dhalsim?


dhalsim
Just released nostr-static v0.1 🚀 A static site generator for long-form Nostr content. Download events by IDs and generate beautiful HT...
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
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
yeah exactly what I was thinking.
I also want a hostless version so it does it automatically for everyone
Decent Newsroom — A decentralized platform for collaborative publishing
Decentralised Newsroom - the future of journalism
That’s what the other stuff in nostr stands for.
Like @npub1pr4d...mkzp ?
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
looks good!
I do my reads on Primal, though I wouldn't mind getting my reads on there soon.
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 !
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, @Nusa .
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?
Can I ask you to share the repo url if you have one?
Yo... Some PHP. Lets go! @Silberengel
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 love PHP.


Okay, we're really doing this. 😂
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 think this is quite easily achieved with hugo, given that there is a relay to query for the posts
(see remote ressources)

transform.Unmarshal
Parses serialized data and returns a map or an array. Supports CSV, JSON, TOML, YAML, and XML.
I like this!
For the record I mean doctrine, not composer lol
Every time I comment on your posts I am humbled by how little I know about computer science.