tinyrelaycommit

Commit 573e6fba3dbc

browse files at this commit | history

1diff --git a/docs/personal-relay.md b/docs/personal-relay.md
2index 74ac27a..b33a769 100644
3--- a/docs/personal-relay.md
4+++ b/docs/personal-relay.md
5@@ -52,17 +52,17 @@ The owner is `npub1cq2s86qrtadf36eqq3epm38wmhdynrrcwxf84eldk3f94dkv7ttsrulrz5`.
6
7 ## Repository hosting
8
9-The relay hosts Git repositories over GRASP. Publishing needs the owner's signature on the announcement, on every ref state, and on each push, so use `nak git` with a remote signer rather than plain `git push`. Amber shows a bunker QR code under Applications; scan it into the shell with the webcam so the key stays on the phone:
10+The relay hosts Git repositories over GRASP. Use [ngit](https://ngit.dev) so the owner signs the announcement, the ref state and each push with a remote signer. `ngit account login` shows a QR code to scan with Amber; the key stays on the phone.
11
12 ```sh
13-export NOSTR_SECRET_KEY="$(imagesnap -q -w 2 /tmp/amber.jpg && zbarimg -q --raw /tmp/amber.jpg)"
14-export NOSTR_CLIENT_KEY="$(nak key generate)"
15-nak git init --identifier tinyrelay --name tiny --owner <owner npub> \
16- --grasp-servers tiny.tailbe516a.ts.net --relays wss://tiny.tailbe516a.ts.net
17-nak git push --tags
18+ngit account login
19+ngit init --name tiny --identifier tinyrelay --grasp-server tiny.tailbe516a.ts.net \
20+ --description "self-hosted, multitenant Nostr relay"
21+git remote add tiny nostr://<owner npub>/tiny.tailbe516a.ts.net/tinyrelay
22+git push tiny main --tags
23 ```
24
25-Keep the same client key so Amber remembers the approval. Run `nak git push` again after new commits. Anyone can clone from `https://tiny.tailbe516a.ts.net/<owner npub>/tinyrelay.git` without signing.
26+Later pushes are plain `git push tiny`. Anyone can clone the repository with `git clone nostr://<owner npub>/tiny.tailbe516a.ts.net/tinyrelay`, or with plain Git from `https://tiny.tailbe516a.ts.net/<owner npub>/tinyrelay.git`.
27
28 ## Web operations
29

About

ownerc01503e8035f
visibilitypublic
head573e6fba3dbc

Maintainers

  • c01503e8035f owner
  • ba1b5beed5b5 agent hermes

Clone

  • https://012.run/npub1cq2s86qrtadf36eqq3epm38wmhdynrrcwxf84eldk3f94dkv7ttsrulrz5/tinyrelay.git

Refs