nips icon indicating copy to clipboard operation
nips copied to clipboard

Update 11.md with banner, and icon fields

Open alltheseas opened this issue 1 year ago • 9 comments

Added banner relay metadata field.

If nostr relay management is not to be relegated to PhD or protocol developers only, an effort should be made by relay owners to communicate with non-dev non-technical nostr end users. A banner is a visual representation of the relay. It should aim to visually communicate the brand of the relay.

alltheseas avatar Oct 30 '24 16:10 alltheseas

We should also add icon, which I've seen in practice.

staab avatar Oct 30 '24 16:10 staab

We should also add icon, which I've seen in practice.

wait, that's not there already!? yes we should.

jb55 avatar Oct 30 '24 17:10 jb55

Here is an issue I wrote up last year on icons: https://github.com/nostr-protocol/nostr/issues/128

Let me add to the PR.

alltheseas avatar Oct 30 '24 17:10 alltheseas

Added icon field and icon field description.

alltheseas avatar Oct 30 '24 17:10 alltheseas

I think we're thinking of different things with icon. I don't think there's any point in providing an .ico format, which in my understanding is sort of a legacy format exclusively for use in windows application icons and website favicons. Since relays aren't applications, and their role as websites is orthogonal to nip 11, I think .ico is irrelevant. The icon should be png or maybe svg in most cases, and at least 48x48, but probably closer to 256x256 (IOW, profile picture size).

staab avatar Oct 30 '24 18:10 staab

I dont have a strong view on the best format for icons. However, my understanding is that the relays that have favicons today use ICO format. This is in my recollection since Damus iOS added relay icons last year. @ericholguin do you know if some/all of these relays use ICO format?

image 247

If ICOs are the de facto standard, do you prefer to change it, or keep as is?

alltheseas avatar Oct 30 '24 18:10 alltheseas

nostrelites.org - jpg cyberspace.nostr1.com - png relay.proxymana.net - png bitcoiner.social - ico relay.0xchat.com - jpg yabu.me - png nostr.wine -jpg

I think just keeping it to "image" is descriptive enough. ICO will usually work fine, but it doesn't make sense to recommend them. PNG (or webp even) is best for small images like this.

staab avatar Oct 30 '24 18:10 staab

Sounds good, removed ICO format reference

alltheseas avatar Oct 30 '24 18:10 alltheseas

I thought we had icon already.

EDIT: yes, we do. It's there at the end, but that is a horrible place, better delete it from there and move it to the beginning.

fiatjaf avatar Oct 30 '24 18:10 fiatjaf

I thought we had icon already.

EDIT: yes, we do. It's there at the end, but that is a horrible place, better delete it from there and move it to the beginning.

@fiatjaf I moved the previous icon example link, deduplicated, and merged with the newly added icon section higher up in the doc.

alltheseas avatar Oct 31 '24 17:10 alltheseas

How many more nostrati approvals are required?

Anything else need to be done?

alltheseas avatar Nov 05 '24 02:11 alltheseas