-
Notifications
You must be signed in to change notification settings - Fork 718
NIP-0077: nostr-share deeplink/uri scheme for sharing images and text #491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Big fan. Is IMG and MSG enough? What about video URLs? I bring up videos as they're super commonplace too. TikTok etc. |
|
Would make sense to see what other socials apps do, video makes sense
But most social apps limit to text and 1 media i.e. img or video not both
Maybe it makes sense to re name img to media to cover everything
No technical reason why this nip can't support multiple media though
…On Tue, 2 May 2023, 22:47 André Neves, ***@***.***> wrote:
Big fan. Is IMG and MSG enough? What about video URLs? I bring up videos
as they're super commonplace too. TikTok etc.
—
Reply to this email directly, view it on GitHub
<#491 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABSECN2TFUWPSIXGNHJWXC3XEF6INANCNFSM6AAAAAAXTRWONM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
|
Agree here. But the open ended "media" URL would need to be rendered differently depending if it's a video or URL or whatever. So then one needs a "mediaType". And we go back to MIME types etc. I guess one could try and grasp from the .png or .mp4 of the file but that's assuming all clients will have that handled by the extension which is far from ideal. Almost think an open ended Media and MediaType properties alongside Text property would suffice and be more extensible? Clients can dictate which types of media THEY can handle/render? |
|
I would say just |
|
Id second the relays prop. Wouldn't "msg" alone lead to forever parsing that message in many ways? I guess that's how Nostr already does things... |
|
hmm I think given the non centralised nature of nostr clients compared to centralised single apps such as twitter or tiktok it makes sense for this to be more "general" in the approach, rather than having one @fiatjaf what is the format of a relay hint? is it just a bech32 encoded pubkey? |
No, it's just the relay URL. |
|
ah cool so just an extra url encoded string then |
|
We need some clients implementing this or offering feedback. I think they don't even know about it. Seems to be an easy thing to implement. |
|
I have a sneaky plan to add a "share to nostr" button in my games which when pressed, if nothing opens it preloads an email to various nostr wallets support asking them to implement |
|
I want this bad, but I also want to be able for it to generate a DM. |
|
Closing due to inactivity. The idea is needed but this doesn't seem to address all the requirements. |
A NIP to allow app developers to share text and image with nostr clients via a uri scheme
Wasn't sure on what NIP number to assign so will let the editor do that