Note the canonical Gitea repo and its Nostr mirror
The repo is announced on Nostr now (NIP-34, through `ngit`), so the notes say which side is which: `origin` is Gitea and every branch tracks it, Gitea is advertised in the announcement as both the homepage and a clone URL, and pushing a branch to Nostr is the separate `git push nostr` that also copies the git data to the GRASP hosts. Also records the two repo relays (repo events go nowhere else), and the `ngit init` trap that renames the Gitea remote to `gitea-kosmos` and points `origin` at Nostr. The header no longer calls the repo private — it isn't.
This commit is contained in:
1 file changed
+18
-1
@@ -2,7 +2,8 @@
|
||||
|
||||
A Nostr remote signer (NIP‑46) for GNOME. Rust + `gtk4`/`libadwaita`, Meson,
|
||||
Blueprint, GResource, GSettings. Development happens on **nuc** in
|
||||
`~/src/regent`; repo `https://gitea.kosmos.org/raucao/regent` (private).
|
||||
`~/src/regent`; repo `https://gitea.kosmos.org/raucao/regent` (canonical —
|
||||
mirrored on Nostr, see below).
|
||||
The full plan lives at `~/.opencode/plan/regent.md`.
|
||||
|
||||
## Hard rules
|
||||
@@ -14,6 +15,22 @@ The full plan lives at `~/.opencode/plan/regent.md`.
|
||||
- **The NIP‑46 responder is ours.** Do not add a NIP‑46 signer/bunker dependency,
|
||||
and do not shell out to `nak`. `nak` is a *test instrument* only.
|
||||
- **No Flatpak.** Distribution is AUR + Gitea releases + Nostr events.
|
||||
- **Gitea is canonical, Nostr is a mirror.** `origin` is
|
||||
`https://gitea.kosmos.org/raucao/regent.git` and every branch tracks it; the
|
||||
NIP-34 announcement advertises it as both the homepage and a clone URL. The repo
|
||||
is announced on Nostr through `ngit`: `git push nostr main` publishes a branch
|
||||
there, under remote `nostr` / `nostr.repo`. The announcement's coordinate is
|
||||
|
||||
naddr1qqr8yet8v4h8gq3qraustrrh5gjwt03zdj8syn9vmt2dwsv9t467m8c3gua636uxu89sxpqqqpmejc3094c
|
||||
|
||||
Repo events go **only** to the two repo relays (`wss://nostr.kosmos.org`,
|
||||
`wss://relay.ditto.pub` — `nostr.repo-relay-only=true` is global). Pushing there
|
||||
copies the git data to the GRASP hosts (`relay.ngit.dev`, `gitnostr.com`) as
|
||||
well, so a branch pushed to Nostr is publicly clonable without Gitea; deleting
|
||||
the announcement only unlists it. Metadata is edited with `ngit repo edit`
|
||||
(`--add-additional-relay`, …). Note a fresh `ngit init` **renames** the Gitea
|
||||
remote to `gitea-kosmos` and points `origin` at Nostr: rename them back so
|
||||
`origin` stays Gitea.
|
||||
- **Never write an identity `nsec` to disk in the clear.** Identity keys are
|
||||
NIP-49 (`ncryptsec`) in `keys.json`, mode 0600, under one passphrase. The
|
||||
**device key is the one deliberate exception** — plaintext in the same file
|
||||
|
||||
Reference in new issue
Block a user