So I've been wanting to publish arbitrary events from my cli...

inkan

npub16xnpfx85k8wzdhctang6860g3u64lds5kac73ddjwlg0lxdg9g3su56z6l

hex

2c7dab390463dab88b196b01c5a6f35397748c71227b37b52d579018cccaf13d

nevent

nevent1qqszcldt8yzx8k4c3vvkkqw95me489m533cjy7ehk5k40yqcen90z0gprpmhxue69uhhyetvv9ujuem4d36kwatvw5hx6mm9qgsdrfs5nr6trhpxmu97e5dra85g7d2lkc2twu0gkke8058lnx5z5gc38ye8x

Kind-1 (TextNote)

2026-08-22T01:51:45Z

So I've been wanting to publish arbitrary events from my client.

This came up recently when I tried to post a 30817 draft NIP and at first couldn't find a place that handles that kind. Also I often want to post events with similar content to events I posted earlier, for example to update addressable events, or to post something from an old key re-signed by my current key. And sometimes there are events generated by other clients that I almost like but want to modify in some way, e.g. by removing their client tag.

So I gave my Post window in Inkan a raw JSON mode. One thing I especially like is that I can paste an event that was generated somewhere else and may have been previously signed, edit it, hit a "Normalize" button which strips out the old id, pubkey, sig, and created_at, see exactly what I'll sign, and be told if the JSON is off. Clicking "Post" then publishes it to the usual outbox / inbox relays.

Very useful.

原始 JSON

{
  "kind": 1,
  "id": "2c7dab390463dab88b196b01c5a6f35397748c71227b37b52d579018cccaf13d",
  "pubkey": "d1a61498f4b1dc26df0becd1a3e9e88f355fb614b771e8b5b277d0ff99a82a23",
  "created_at": 1787363505,
  "tags": [],
  "content": "So I've been wanting to publish arbitrary events from my client. \n\nThis came up recently when I tried to post a 30817 draft NIP and at first couldn't find a place that handles that kind. Also I often want to post events with similar content to events I posted earlier, for example to update addressable events, or to post something from an old key re-signed by my current key. And sometimes there are events generated by other clients that I *almost* like but want to modify in some way, e.g. by removing their client tag.\n\nSo I gave my Post window in Inkan a raw JSON mode. One thing I especially like is that I can paste an event that was generated somewhere else and may have been previously signed, edit it, hit a \"Normalize\" button which strips out the old id, pubkey, sig, and created_at, see exactly what I'll sign, and be told if the JSON is off. Clicking \"Post\" then publishes it to the usual outbox / inbox relays.\n\nVery useful.",
  "sig": "ff0a6b6d36cd748f4d25e595079beffaf57faec0b77744cb7f3a443f4bd5616b85c4b1ffd1cec35f95b284ff64e34c20a84ac37a95a92986a9e26aa32ce7192e"
}