Can’t wait to try it on my Kobo e-reader. It has internet access!
Could you try out this note, on it, when you have the chance? Is it possible to read it well? https://highlighter.com/a/naddr1qvzqqqr4tqpzpzh8f3sc53cn7vsjjptmylwagdz2z9u79s6xjm5cfkw0usxfzwyfqyt8wumn8ghj7cn9wehjumn0wd68yvfwvdhk6tcqzpkrzceev4urwvtyxpm8y7n2v46qv699k8
Won’t load 🙃 also such long URLs aren’t friendly on an eReader. I used an URL shortener or I would have spent ages typing that 🤣 https://nostrcheck.me/media/134743ca8ad0203b3657c20a6869e64f160ce48ae6388dc1f5ca67f346019ee7/c2a5c414bc518a5080a96376b167a7d8a59a9abfad6227072d646e3b6972bd6a.webp
Yeah, that's what I figured. Okay @Michael J @liminal you see the challenge.
We'll need URL aliasing. Nostr nevent IDs are not user-friendly in the least.
/nip-05/book-title ?
For now there's also https://w3.do (if it works)
if you hash the hash and then trim it to 8 bytes and render that as base32 it's pretty concise and almost impossible it will collide... youtube uses a similar scheme, it's 13 characters
Which e-reader are you using that has a browser? How well does it support the web?
Maybe WebSockets aren’t supported. 🙃
this seems most likely
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
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
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/
Viewing articles on njump works fine. https://i.nostr.build/Vw08j.jpg https://i.nostr.build/9zlAz.jpg https://i.nostr.build/kZLXj.jpg
Link plz?
https://nostr.com/naddr1qqxnzd3cxqmrzv3exgmr2wfeqyf8wumn8ghj7ur4wfcxcetsv9njuetnqyxhwumn8ghj7mn0wvhxcmmvqy08wumn8ghj7mn0wd68yttjv4kxz7fwdehkkmm5v9ex7tnrdakszynhwden5te0danxvcmgv95kutnsw43qz9rhwden5te0wfjkccte9ejxzmt4wvhxjmcpzpmhxue69uhkummnw3ezuamfdejsygrwg6zz9hahfftnsup23q3mnv5pdz46hpj4l2ktdpfu6rhpthhwjvpsgqqqw4rskylmpy
Used https://w3.do/ to shorten it.
I have a hunch the reader doesn’t support WebSockets or secp256k library 🤔