I had the idea to port XKCD to Nostr as a decentralised experiment. They have a JSON API. Data is only 11mb. Convert to kind 300XX, add tags, and then you can easily make a standalone website that pulls the comics from relays. Simple previous, next, random buttons. Maybe add react or share options if signed in - LN tips for Randall Munroe (not to me) would be interesting.

It’s a mini version of my replace IMDB idea. Still 2770 comics, but no inter-references (like movie and cast).

https://xkcd.com/json.html

Reply to this note

Please Login to reply.

Discussion

Ha, so I actually built this. And it works :)

I just need to fix my create XKCD notes script, and broadcast the events to relays. I get some weird event id invalid during creation atm… otherwise would be finished.

#[0]

~200 lines of (non-css/html) code. All client side webapp. Still uses servers for images.

No bot/service yet to create the new event for the new daily cartoon.

It’s 3.5MB for events and 147MB for images. It’s possible to base64 encode the images into the events.. but I’ll skip that for now. I’d still like a way to decentralise the images tho - maybe media torrents?