upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-01-12 22:51:43 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-01-12 22:51:43 +0000
commit51751d59f30a0c0f396afd1873ece9f4f77b44de (patch)
treecfec6555427f1be38997e00f313549c41dfaa609 /README.md
parentab3337d0a3bf25c282f4d48e5d6150cf291f41e5 (diff)
Change default port from 8080 to 7334 (NGIT on phone keypad)
- Update default bind address in src/config.rs to 127.0.0.1:7334 - Update all four critical config sources per AGENTS.md: - src/config.rs (code default and tests) - .env.example (development template) - docs/reference/configuration.md (user documentation) - nix/module.nix (NixOS deployment) - Update all documentation examples and references: - README.md (with note about phone keypad mnemonic) - docs/how-to/*.md (deploy, prometheus-setup, test-compliance) - docs/explanation/*.md (architecture, comparison) - docs/learnings/grasp-audit.md Port 7334 spells NGIT on a phone keypad, making it memorable and project-specific. All tests pass (336 lib tests + 51 integration tests).
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index b4a430f..e0e39fd 100644
--- a/README.md
+++ b/README.md
@@ -381,7 +381,7 @@ This means CLI flags always take precedence over environment variables, which ta
381ngit-grasp --help 381ngit-grasp --help
382 382
383# Run with CLI flags (override everything else) 383# Run with CLI flags (override everything else)
384ngit-grasp --domain relay.example.com --relay-owner-nsec nsec1... --bind-address 0.0.0.0:8080 384ngit-grasp --domain relay.example.com --relay-owner-nsec nsec1... --bind-address 0.0.0.0:7334
385 385
386# Mix CLI flags with environment variables 386# Mix CLI flags with environment variables
387NGIT_RELAY_OWNER_NSEC=nsec1... ngit-grasp --domain relay.example.com 387NGIT_RELAY_OWNER_NSEC=nsec1... ngit-grasp --domain relay.example.com
@@ -399,7 +399,7 @@ NGIT_RELAY_OWNER_NSEC=nsec1... ngit-grasp --domain relay.example.com
399| Relay description | `--relay-description` | `NGIT_RELAY_DESCRIPTION` | `Git Nostr Relay - a grasp implementation` | 399| Relay description | `--relay-description` | `NGIT_RELAY_DESCRIPTION` | `Git Nostr Relay - a grasp implementation` |
400| Git data path | `--git-data-path` | `NGIT_GIT_DATA_PATH` | `./data/git` (temp dir for memory backend) | 400| Git data path | `--git-data-path` | `NGIT_GIT_DATA_PATH` | `./data/git` (temp dir for memory backend) |
401| Relay data path | `--relay-data-path` | `NGIT_RELAY_DATA_PATH` | `./data/relay` (temp dir for memory backend) | 401| Relay data path | `--relay-data-path` | `NGIT_RELAY_DATA_PATH` | `./data/relay` (temp dir for memory backend) |
402| Bind address | `--bind-address` | `NGIT_BIND_ADDRESS` | `127.0.0.1:8080` | 402| Bind address | `--bind-address` | `NGIT_BIND_ADDRESS` | `127.0.0.1:7334` (NGIT on phone keypad) |
403| Database backend | `--database-backend` | `NGIT_DATABASE_BACKEND` | `lmdb` | 403| Database backend | `--database-backend` | `NGIT_DATABASE_BACKEND` | `lmdb` |
404 404
405#### GRASP-02 Sync Settings 405#### GRASP-02 Sync Settings
@@ -445,7 +445,7 @@ NGIT_RELAY_OWNER_NSEC=nsec1... ngit-grasp --domain relay.example.com
445# Using environment variables (recommended for production) 445# Using environment variables (recommended for production)
446export NGIT_DOMAIN=gitnostr.com 446export NGIT_DOMAIN=gitnostr.com
447export NGIT_RELAY_OWNER_NSEC=nsec1... # Or let it auto-generate from .relay-owner.nsec 447export NGIT_RELAY_OWNER_NSEC=nsec1... # Or let it auto-generate from .relay-owner.nsec
448export NGIT_BIND_ADDRESS=0.0.0.0:8080 448export NGIT_BIND_ADDRESS=0.0.0.0:7334
449export NGIT_DATABASE_BACKEND=lmdb 449export NGIT_DATABASE_BACKEND=lmdb
450 450
451# Optional: Enable proactive sync from a bootstrap relay 451# Optional: Enable proactive sync from a bootstrap relay