Explaining nostr:npub1w0rthyjyp2f5gful0gm2500pwyxfrx93a85289xdz0sd6hyef33sh2cu4x has been difficult since it has been mostly a proof of concept so far.

I'm rebuilding it with an emphasis on onboarding new users.

Today I built this search-suggestions box for which I feel ridiculously proud 😂 it displays some of Highlighters' basic capabilities right off the bat.

https://cdn.satellite.earth/61c55ba18fbae49e14a2f8560210d6500ac31b4f25c460d8dbde305463d34533.mov

Reply to this note

Please Login to reply.

Discussion

Is it coming to Mobile?

100% it is

👏

Does the highlighter browser extension work only with nsecBunker or can it also work some other way, like if you are just signed into the highlighter website with your nip-07 extension? I tried it last week and couldn’t seem to get it to work.

it can't work with a nip-07 extension because extenions can't talk to each other; the Highlighter extension would need to request a whole bunch of really messed up permissions that I would rather not request

especially if you consider that then that'd mean that every browser extension and app needs to do the same; either ask for a whole bunch of intrusive permissions ("modify every website you visit"!!!!) or as for you nsec (!!!)

I hope running an nsecbunker at home becomes so trivial that this will be the way-way-way preferred option

“extenions can't talk to each other”

Extensions talk to the page. They can both listen for events and emit events on DOM objects.

One could use, say, the document object as a relay of sorts to publish and subscribe to custom events.

but I don't have access to window.nostr unless I request access to the main document, correct?

Right. I assumed you’d have access to the page in the context of an extension. I suppose one could write an extension that did not access the page contents, but then how would highlighting even work?

a context menu gives you precisely the selected text without ever touching the document 😀

"No access needed"

Got it, makes sense. But the extension can still make WebSocket connections?

yup

Fascinating. I guess then my recommendation would be to have the highlighter extension post a draft highlight with a dedicated nsec. User can later review drafts and upgrade to first-class notes signing with NIP-07 extension. You see where I’m going with this?

Draft could be a DM from the highlighter to the user’s npub. Just brainstorming.

Ok cool thanks for explaining. I’ll try again with nsecBunker. I’m comfortable using it, and used it to sign into the Nostur app with no issues, but for some reason I couldn’t seem to get it to work with the highlighter extension. I’ll try reinstalling the extension and using a new nsecBunker token. Maybe I entered something wrong.

LMK if it doesn't work! 🙏

Will do thanks!

Nsecbunker works like a charm, it looks like black magic 😄⚡

Hey nostr:npub1l2vyh47mk2p0qlsku7hg0vn29faehy9hy34ygaclpn66ukqp3afqutajft- is integration with Kindle ever be feasible, or would their access demands be too high? I currently use Readwise to aggregate from Kindle (and other sources) and then send to Roam Research, where I combine/recombine ideas and work out my thoughts (due to Roam's cross-linking between notes, block references, etc). Would love to see this entire process recreated within the nostr ecosystem!

it most definitely is and something I have in mind in the close future