Skip to content

Instantly share code, notes, and snippets.

@koteitan
Last active May 8, 2026 00:18
Show Gist options
  • Select an option

  • Save koteitan/d517279eb2dd2e23719dedccc43fb806 to your computer and use it in GitHub Desktop.

Select an option

Save koteitan/d517279eb2dd2e23719dedccc43fb806 to your computer and use it in GitHub Desktop.
nosli と lumilumi の違い

nosli vs lumilumi の差分

kind はどちらも 30023.

1. tags

tag lumilumi nosli
image プレビュー画像 URL 出力しない
published_at unix 秒 出力しない
r 本文中で参照される URL 出力しない
client ['client', 'lumilumi', '<naddr>', '<relay>'] (フル形式) 出力しない
t (出さないことがある) ['t', 'nosli'] (固定)
e 常に 3 要素 ["e", id, relay]。relay は空文字 "" のこともある 2 要素 ["e", id]

2. content 内の nostr:nevent1... のエンコード

観点 lumilumi nosli
TLV 内容 id + relays + author (pubkey) + kind (フル EventPointer) id のみ
文字列の長さ 長い (nevent1qvzqqqqqqypzq...) 短い (nevent1q...)
生成箇所 (lumilumi 側) MatomeForm.sveltenip19.neventEncode({ id })

3. content の構造

lumilumi

  • nostr:nevent1... を空行区切り

nosli

  • nostr:nevent1...\n 区切り
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment