-
Notifications
You must be signed in to change notification settings - Fork 690
NIP-38: User Statuses #737
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
This NIP enables a way for users to share live statuses such as what music they are listening to, as well as what they are currently doing: work, play, out of office, etc.
We might need to keep updating this NIP with any rendering expectations for these links (are they always links?) if they aren't included as nostr:bech in the content itself. Otherwise, this looks good. |
} | ||
``` | ||
|
||
Two common status types are defined: `general` and `music`. `general` represent general statuses: "Working", "Hiking", etc. |
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.
It would be nice to share compound statuses in one event, such as 'working out' and 'listening to music'
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 originally had it this way but then i realized it wouldn't work because the expiry times are different.
|
||
{ | ||
"kind": 30315, | ||
"content": "Intergalatic - Beastie Boys", |
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.
Does this allow for empty text, text containing line breaks, or long text?
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.
Its allowed but would be cut off in Damus
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.
Empty statuses are equivalent to clearing the status in Damus, could make that explicit
I only handle r links atm but figured to add the others for completeness. |
Implemented support for this in nostr-tool |
This NIP enables a way for users to share live statuses such as what music they are listening to, as well as what they are currently doing: work, play, out of office, etc.
315.md