Embed Notice
HTML Code
Corresponding Notice
- Embed this noticeWhat I've been wondering, since a lot of nostr clients are big piles of webshit anyway, why not just graft a nostr client onto soapbox/pleroma fe?
I think all the pieces are almost there and work required would mostly be on the frontend:
backend:
- write-only relay for instance users (if enabled)
- backend endpoint for querying the nostr.json of the user (for nip-05 verification)
- standardize and configure (via profile key/value fields or something) a users nostr pubkey
frontend:
- configurable list of relays for the nostr client, supplied by server, like FE settings
- configurable nostr bridge as above
- nostr client implementation, and all that entails (dense bullet point)
The integration with pleroma/rebased backend to make the integration nicer is fairly minimal, the biggest part is definitely the nostr client implementation, but I suspect minimal libraries for this already exist.
The biggest conceptual hiccup I see is that your posts would be double posted to nostr because of the fedi copy being bridged, after the nostr version is published. Without someway to automagically hide/deduplicate (possibly a protocol extension?), this would be yucky. Is this actually a bigger deal, and not just a hiccup, the reason bridging an identity is the most correct way to do it? I don't think it's absolutely impossible to unify or integrate the identities of users across nostr and AP, but the bridge disturbs me because of the need for the delegation NIP, and I haven't quite thought up a good way to do it somewhat natively via a unified nostr+AP client.