Oddbean new post about | logout
 this seems most likely 
 i guess then you have to make a webserver that does all that legwork and spits out HTML then 
 The library I posted was for websockets. 
 need to make a RESTful API for filter queries and a scheme for converting notes into HTML 
 How is @fiatjaf  doing it with njump? 
 does it have a link to the web app that powers it? 
 lol i mean github 
 yes, one minute  
 https://github.com/fiatjaf/njump 
 beautiful example of the most common type of Go application, a custom webserver

a nip-05 can be written in Go with like 10 lines of code

anyhow, https://github.com/fiatjaf/njump/blob/master/go.mod here you see it uses khatru, go-nostr and nostr-sdk code, that's the "legwork" part for taking notes and making them into HTML (using templates)

if you ever got inclined to learn #golang a simple one like that, connect up to a set of relays, then accept URLs with nevent and event IDs and really it's then just a matter of writing a truncated hash scheme like i was talking about, and each event can have a 13 character base32 identifier, and for these index/section/contents pages they can then fan out to pick up the referenced articles 
 So our reader could download/upload everything as notes, but display them in the browser as HTML, so that they can be viewed on simpler or weaker devices? 
 yeah, you would need to write a html renderer, basically

a webapp on a more powerful device can do that in place but a lower spec device would need it done for it, as someone mentioned, most likely because of websockets 
 That explains why every other web app is just a blank screen. 
 for the task you have in mind, i think that the MVP is making the web app that opens at your top level curated index page, and then uses those shortened URLs and each page is rendered and cached on the web server

it would be easy to even put such a thing on umbrel or start9 also 
 i think it would be pretty reasonable to expect that such a project would be able to find funding... a replacement for kindle, built on nostr... with a local mini pc deployment possibility for semi-offline use that also can put highlights and annotations back upstream to share with other bookstr and biblestr relays 
 Yeah, sounds like a bigger project, but something very fundamental that is great for eBooks and eMagazines.

Might be worth an @OpenSats grant or something.  
 i hope it happens... it's such a clear use case for nostr... books, documentation, would go nice alongside the git repo systems, they could become standard help text systems for web and other apps 
 Agree. This is Nostr Core Development, IMO, like Blossom and Cashu. 
 I think peak nostr-educational resource will happen when we combine modular articles with external/specialized functionality. ereader functionality is a must, but this goes soooo much further.

https://www.youtube.com/watch?v=5-4wd3dVtEk

https://distill.pub/2020/growing-ca/ 
 Ereader/book/blog functionality*