-
Notifications
You must be signed in to change notification settings - Fork 577
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
Typed schemes. #1539
base: master
Are you sure you want to change the base?
Typed schemes. #1539
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this makes sense. It has the nice side benefit of allowing entity embeds in content to include the event kind. It will require parsers to be updated, but in a pretty minimal way. And it gives us infinite content-type granularity.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great idea
I am kind of against this. IF we do it, we should use It's very uncommon for numbers to be in the protocol part of a URI, and very uncommon to have dynamic protocol schemes at all. But at least with The reason I think we shouldn't do it is because it's bloat. It's unfortunate that deep links are so limited, and that it ultimately harms UX, but this is not the first time I've encountered this problem. I am more annoyed that Apple and Google don't improve their system, and then force us to make decisions like this or punt the problem to the user. It's not a problem with Nostr URIs themselves. These URIs introduce a new validation burden. What do you do if the kind in the |
Updated to add the +
Just ignore it just like you would in the regular But agree: Apple and Google suck at this. Although I don't see a much better picture on the desktops. |
I am trying to figure out a way to allow micro clients to register only the event types they support on Android/iOS.
Then if we use these URIs when opening external events, a more appropriate client list can be recommended by the OS.
Today, all the dozens of clients pop up and the OS can only have one of them as the default for the
nostr:
URI.The more we go into the direction of mini and micro clients, the more we will need something like this.