Skip to content

Instantly share code, notes, and snippets.

@SnowCait
Last active May 26, 2023 14:58
Show Gist options
  • Save SnowCait/3861bdbf1f00c3e3b1d894e5f9476491 to your computer and use it in GitHub Desktop.
Save SnowCait/3861bdbf1f00c3e3b1d894e5f9476491 to your computer and use it in GitHub Desktop.
Custom Emoji List proposal

Categorized Custom Emojis List

Purpose

To share custom emojis list between clients and/or devices.

Summary

Use NIP-51 (NIP-33).
In addition to emoji tags, use a tags to import other custom emojis list.
It is useful not to copy list. (copying is verbose)

Specification

  • kind 30002 (increment) or 30030 (from NIP-30)
  • tags
    • d: Category name (e.g. ["d", "ostrich"], ["d", "cat"])
    • emoji: Same as NIP-30 (e.g. ["emoji", "<shortcode>", "<image-url>"])
    • a: Reference to other custom emojis list (e.g. ["a", "30030:<pubkey>:ostrich", "<relay-url>"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment