Pet project of the day: Oracolo. It is a minimalist Nostr blog that consists of a *single* ~140K html file. Personalize it with your npub and upload it where do you like, it just works. It also runs without a web server, so if you don't have a web site you can simply send it via email/dm to showcase your tales. image Examples: https://raw.githack.com/dtonon/oracolo/master/examples/opensats.html https://raw.githack.com/dtonon/oracolo/master/examples/hodlbod.html https://raw.githack.com/dtonon/oracolo/master/examples/fiatjaf.html Source and how-to: Take it as a didactic experiment, it's no production ready, indeed it has some limitations (no SEO friendly structure), but can work as a temporary solution (e.g. coming soon and parking pages), and it is still an example of how easy it is to create a Nostr-powered blog and deploy it on a low-tech infrastructure.

Replies (28)

@Gigi if I'm not mistaken you are interested in something like this, working toward a simple blog solution powered by Nostr
n's avatar
n 1 year ago
良い
I love stuff like this Single html files ftw
daniele's avatar daniele
Pet project of the day: Oracolo. It is a minimalist Nostr blog that consists of a *single* ~140K html file. Personalize it with your npub and upload it where do you like, it just works. It also runs without a web server, so if you don't have a web site you can simply send it via email/dm to showcase your tales. image Examples: https://raw.githack.com/dtonon/oracolo/master/examples/opensats.html https://raw.githack.com/dtonon/oracolo/master/examples/hodlbod.html https://raw.githack.com/dtonon/oracolo/master/examples/fiatjaf.html Source and how-to: Take it as a didactic experiment, it's no production ready, indeed it has some limitations (no SEO friendly structure), but can work as a temporary solution (e.g. coming soon and parking pages), and it is still an example of how easy it is to create a Nostr-powered blog and deploy it on a low-tech infrastructure.
View quoted note →
I know I'm being annoying saying this, but I think this needs to pointed out for those who might want to use it. INAL, this is not legal advice, but a blog made this way is in all likelihood not GDPR-compliant. As soon as one opens the website, one's IP address (which is personal data) is sent to (and collected by) relay servers the user doesn't even know about. So one should be mindful of that. Still cool project, thanks for sharing it!
> Its open source, no? I don't know how to answer this question. It doesn't have a license at the moment. > You can add all the baggage you would like to the package Daniele published I can. I pointed it out for others who might want to use this, especially people located in the EU/UK or other territories with similar laws.
I don't think it *can* be fixed. It requires that the IP of the user is sent automatically to relays, most or all of which are not GDPR-compliant. I wasn't requesting a change. Rather, I was warning those who may chose to rely on this of something to consider.
Indeed, GDPR is a giant mess that make no sense for the most part and has proven to be ineffective. I was kidding about the fix, I just added a note to surface the relay concept, that is central in Nostr; incidentally this works also as transparent informative about where data is fetched, and so with whom IPs are shared, for just technical reasons, has requested by GDPR. In fact it's not different that hotlink an image. Finally the user can, and should, personalize the relays, using something he has verified and trust (e.g. one's own).
I was just planning to add a filter setting, by tags, to personalize the blog content. So you can just display #myblog articles, or pick some more elaborate topics. But why a new king? 3023 seems a good fit for a blog. Instead, I thought about using the new custom feeds by @hodlbod, but then I would have a huge job in handling all kinds haha, and the config probably would be too complex.
Filter by tag is best first start! I'm not about a "kind for posts", I'm about "kind for describing a website". Right now you specify an author npub, but if you start using custom feeds etc it might get more and more complex, so maybe "blog" could be it's own event and then options and settings could be written there and it could be discoverable, gain WoT etc.
> Indeed, GDPR is a giant mess that make no sense for the most part and has proven to be ineffective. I don't really consider the GDPR that messy, compared to other laws. It's ineffective when people or companies don't comply with it. But all laws have people breaking them and getting away with it. Regardless, I wasn't attempting to endorse or oppose the GDPR, just pointing this out as something to consider before using this. > In fact it's not different that hotlink an image. Which can also be an issue GDPR-wise and even CDNs can be dubious.