jb55's avatar
jb55 _@jb55.com 5 months ago
anyone doing server-side static rendering of longform content for hosting peoples nostr blogs? if not it's something we could provide on notecrumbs.

Replies (39)

jb55's avatar
jb55 _@jb55.com 5 months ago
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
jb55's avatar
jb55 _@jb55.com 5 months ago
it does the complete opposite of what I was looking for. it does no static rendering or caching on the server.
jb55's avatar
jb55 _@jb55.com 5 months ago
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
the axiom's avatar
the axiom 5 months ago
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.
jb55's avatar
jb55 _@jb55.com 5 months ago
yeah exactly what I was thinking. I also want a hostless version so it does it automatically for everyone
jb55's avatar
jb55 _@jb55.com 5 months ago
closest thing is njump but it doesn't seem to have a landing page for your longform articles
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?
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.