Replying to Avatar hzrd149

Added some examples to the doc https://github.com/hzrd149/nips/blob/image-collections/169.md

Ideally the events would just be a new kind of NIP-51 lists / sets with NIP-92 "imeta" tags. that should give plenty of flexibility to add thumbnails, alt, and summaries to images so the are easier to search for

I also changed kinds to 10169 and 30169 since the original was conflicting with some stuff

I have an implementation working currently

I just published a test event (hex_id = "79c96ab3dc70a8bb9e713072ed32e26498e67c565db4cce8e821032db58326f0")

You can try it here (requires nostr web extension):

https://specified-agnella-nublar-88c7462e.koyeb.app/collection

I know it matches nip92, but I prefer the method of nip94 for parsing events client-side

By that I mean:

["url", "website.com"] instead of ["url website.com"]

But you're the one with an actual client so I'm interested in your thoughts when you have the time

Reply to this note

Please Login to reply.

Discussion

Looks like its working nostr:naddr1qqyhgetnwssxw6txwvpzqfngzhsvjggdlgeycm96x4emzjlwf8dyyzdfg4hefp89zpkdgz99qvzqqqr4myqs6amnwvaz7tmwdaejumr0dsht0vfu

For NIP-94 the separate tags are best because its only describing a single file / image but for the collections we need a way to have multiple

If it helps I recently added a few helper methods to applesauce for parsing imeta tags https://github.com/hzrd149/applesauce/blob/master/packages/core/src/helpers/file-metadata.ts

Yeah, I figured that was the reason

Next steps for me are to add a personal collection tab like Emojito so users can view their collections and then I’ll probably launch it

But it’ll likely be pretty useless as first until clients implement it

I'll implement it in chachi asap

I plan to add support in noStrudel but I have some refactoring that needs to happen first

I’ll probably also add a short code tag (like emojis) so people have a shortcut option to add to their clients too if we want to add that to the NIP