fiatjaf / njump

mirror of https://git.njump.me/njump
MIT License
108 stars 24 forks source link

Add profile json #53

Closed mattn closed 8 months ago

mattn commented 8 months ago

This can be used by webapp to get profile.

dtonon commented 8 months ago

Njump should not be an http API, otherwise it discourages appropriate use via websockets. @fiatjaf ?

mattn commented 8 months ago

However, the browser has no way of knowing from which relay provided that event, so the same event may not be available in websocket.

fiatjaf commented 8 months ago

Yes, webapps should not rely on njump. This breaks Nostr.

mattn commented 8 months ago

Okay, closing.