Decentralised XKCD now live. Only first 10 Nostr events published.. but have other events ready to broadcast.
Images loaded from XKCD website directly, and I need to use a persistent WS connection - but kept it simple. Example Nostr event below.
Decentralised XKCD now live. Only first 10 Nostr events published.. but have other events ready to broadcast.
Images loaded from XKCD website directly, and I need to use a persistent WS connection - but kept it simple. Example Nostr event below.
I can create a bot that creates a new event per day and broadcasts it. Then it should be current and show the latest daily comic too.
An experiment in building a small Nostr webapp, migrating a simple static API to Nostr, content lifetime on relays, performance (it’s a little slow atm - my fault), etc.
I’ll likely try add image loading fallback to webtorrents. See how robust we can make the app for outages, missing content and no servers.
Basically XKCD has a JSON API. Instead of calling that API, I’ve converted the JSON to Nostr Events. That means we can load the events from Nostr relays instead.
Why does this matter? Well, if we want a decentralised Wikipedia or IMDB, we will need to scale out something similar.
This may explain more. #[3]
I like the idea of a decentralized IMDB.
Repo with code. https://github.com/blakejakopovic/nostr_xkcd