Fyi, I managed to set it up, but a couple of things that wer...

0d97beae567fcec9...

npub1pktmatjk0l8vn3jhfuwxaasjd65kn4ye9sce3egup7k993f8fg2q5tpxa6

hex

c72e788d81c287666f34c94347b39fe5d86bb241afe75805bd6439841c4107ed

nevent

nevent1qqsvwtnc3kqu9pmxdu6vjs68kw07tkrtkfq6le6cqk7kgwvyr3qs0mgprpmhxue69uhhyetvv9ujuem4d36kwatvw5hx6mm9qgsqm9a74et8lnkfcet578rw7cfxa2tf6jvjcvvcu5wqltzjc5n559q2cxkwn

Kind-1 (TextNote)

2026-03-09T20:47:25Z

↳ 回复 事件不存在

ef98dea15a16bbc4cd798220d979be1289f5400da736a6650fa0c26821c49192...

Fyi, I managed to set it up, but a couple of things that weren't so obvious that I tripped up on:

  1. I didn't know what to set the repo url to, and I actually set it to the https://hostname instead of the full path, then I used https://hostname/repo and AI figured out to change it to https://hostname/pubkey/repo by looking at the logs. Not sure where I was supposed to get the pubkey from after running ngit init

  2. I used the default relays, it wasn't super obvious that I was supposed to enter the server url as a relay too. Also after setting it to my server, I see it still also publishes to 3 other public relays. Not sure how useful that is considering afaik it is only on one git server.

原始 JSON

{
  "kind": 1,
  "id": "c72e788d81c287666f34c94347b39fe5d86bb241afe75805bd6439841c4107ed",
  "pubkey": "0d97beae567fcec9c6574f1c6ef6126ea969d4992c3198e51c0fac52c5274a14",
  "created_at": 1773089245,
  "tags": [
    [
      "alt",
      "A short note: Fyi, I managed to set it up, but a couple of thing..."
    ],
    [
      "e",
      "9676ce208874815e064d868db9a200de0b3b00a2141d5235dfc0e0ed2bc7f47e",
      "wss://nos.lol/",
      "root",
      "0d97beae567fcec9c6574f1c6ef6126ea969d4992c3198e51c0fac52c5274a14"
    ],
    [
      "e",
      "05576ea4847e4defe2ebba0df3d4607b97457a4da91493d88dcea5eebc584829",
      "wss://nos.lol/",
      "",
      "a008def15796fba9a0d6fab04e8fd57089285d9fd505da5a83fe8aad57a3564d"
    ],
    [
      "e",
      "14a6a5434a6081095eed1b23762b89c6b1e882db32807bce641bf34a0bfe3e39",
      "wss://nos.lol/",
      "",
      "0d97beae567fcec9c6574f1c6ef6126ea969d4992c3198e51c0fac52c5274a14"
    ],
    [
      "e",
      "ef98dea15a16bbc4cd798220d979be1289f5400da736a6650fa0c26821c49192",
      "wss://nos.lol/",
      "reply",
      "a008def15796fba9a0d6fab04e8fd57089285d9fd505da5a83fe8aad57a3564d"
    ],
    [
      "p",
      "a008def15796fba9a0d6fab04e8fd57089285d9fd505da5a83fe8aad57a3564d",
      "wss://relay.damus.io/"
    ],
    [
      "p",
      "a008def15796fba9a0d6fab04e8fd57089285d9fd505da5a83fe8aad57a3564d",
      "wss://relay.damus.io/"
    ],
    [
      "p",
      "0d97beae567fcec9c6574f1c6ef6126ea969d4992c3198e51c0fac52c5274a14",
      "wss://nos.lol/"
    ]
  ],
  "content": "Fyi, I managed to set it up, but a couple of things that weren't so obvious that I tripped up on:\n\n1. I didn't know what to set the repo url to, and I actually set it to the https://hostname instead of the full path, then I used https://hostname/repo and AI figured out to change it to https://hostname/pubkey/repo by looking at the logs. Not sure where I was supposed to get the pubkey from after running `ngit init`\n\n2. I used the default relays, it wasn't super obvious that I was supposed to enter the server url as a relay too. Also after setting it to my server, I see it still also publishes to 3 other public relays. Not sure how useful that is considering afaik it is only on one git server.",
  "sig": "6efe77619dba033cfe0635f56a2dace91879c2e3f0e7d9ad29ddd076121c7463e5b1a81d359ebd49b0bd4c91ce9af696fa6b187548645914bd55daa16eac1714"
}