# nostr-protocol/nips architecture

> Architecture diagram of the GitHub repository nostr-protocol/nips, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-16). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/nostr-protocol/nips
- Repository: https://github.com/nostr-protocol/nips

## Overview

NIPs is a standards-documentation repository: readers consult its catalog and individual NIP documents to learn protocol possibilities for Nostr-compatible clients and relays. The README identifies major areas including event flow, messaging, identity, payments, media, and relay operation. No source excerpts were provided, so relationships below are limited to links and purpose stated in the README; the documents describe possibilities, not a mandatory implementation pipeline.

Main entry points: [`README.md`](https://github.com/nostr-protocol/nips/blob/master/README.md) (NIP catalog), [`01.md`](https://github.com/nostr-protocol/nips/blob/master/01.md) (Basic protocol flow), [`19.md`](https://github.com/nostr-protocol/nips/blob/master/19.md) (Bech32 entities), [`10.md`](https://github.com/nostr-protocol/nips/blob/master/10.md) (Text notes and threads)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_core["Core Protocol"]
  node_nip01["Basic protocol flow<br/>[01.md]"]
  node_nip19["Bech32 entities<br/>[19.md]"]
end

subgraph group_content["Content and Social"]
  node_nip10["Text notes and threads<br/>[10.md]"]
  node_nip17["Private messages<br/>[17.md]"]
  node_nip27["Text references<br/>[27.md]"]
  node_nip29["Relay groups<br/>[29.md]"]
  node_nip23["Long-form content<br/>[23.md]"]
  node_nip68["Picture-first feeds<br/>[68.md]"]
  node_nip71["Video events<br/>[71.md]"]
end

subgraph group_identity["Identity and Privacy"]
  node_nip05["DNS key mapping<br/>[05.md]"]
  node_nip07["Browser signing<br/>[07.md]"]
  node_nip44["Encrypted payloads<br/>[44.md]"]
  node_nip46["Remote signing<br/>[46.md]"]
  node_nip59["Gift wrap<br/>[59.md]"]
end

subgraph group_services["Relay and Services"]
  node_nip57["Lightning zaps<br/>[57.md]"]
  node_nip60["Cashu wallet<br/>[60.md]"]
  node_nip66["Relay discovery<br/>[66.md]"]
  node_nip77["Negentropy sync<br/>[77.md]"]
  node_nip86["Relay management<br/>[86.md]"]
  node_nip98["HTTP authentication<br/>[98.md]"]
  node_nipb7["Blossom storage<br/>[B7.md]"]
end

node_reader(("Standards reader"))
node_catalog["NIP catalog<br/>[README.md]"]
node_software["Nostr clients and relays"]

node_reader -->|"browses"| node_catalog
node_catalog -->|"lists"| node_nip01
node_catalog -->|"lists"| node_nip19
node_catalog -->|"lists"| node_nip10
node_catalog -->|"lists"| node_nip17
node_catalog -->|"lists"| node_nip27
node_catalog -->|"lists"| node_nip29
node_catalog -->|"lists"| node_nip23
node_catalog -->|"lists"| node_nip68
node_catalog -->|"lists"| node_nip71
node_catalog -->|"lists"| node_nip05
node_catalog -->|"lists"| node_nip07
node_catalog -->|"lists"| node_nip44
node_catalog -->|"lists"| node_nip46
node_catalog -->|"lists"| node_nip59
node_catalog -->|"lists"| node_nip57
node_catalog -->|"lists"| node_nip60
node_catalog -->|"lists"| node_nip66
node_catalog -->|"lists"| node_nip77
node_catalog -->|"lists"| node_nip86
node_catalog -->|"lists"| node_nip98
node_catalog -->|"lists"| node_nipb7
node_nip01 -->|"documents possibilities for"| node_software

click node_catalog "https://github.com/nostr-protocol/nips/blob/master/README.md"
click node_nip01 "https://github.com/nostr-protocol/nips/blob/master/01.md"
click node_nip19 "https://github.com/nostr-protocol/nips/blob/master/19.md"
click node_nip10 "https://github.com/nostr-protocol/nips/blob/master/10.md"
click node_nip17 "https://github.com/nostr-protocol/nips/blob/master/17.md"
click node_nip27 "https://github.com/nostr-protocol/nips/blob/master/27.md"
click node_nip29 "https://github.com/nostr-protocol/nips/blob/master/29.md"
click node_nip23 "https://github.com/nostr-protocol/nips/blob/master/23.md"
click node_nip68 "https://github.com/nostr-protocol/nips/blob/master/68.md"
click node_nip71 "https://github.com/nostr-protocol/nips/blob/master/71.md"
click node_nip05 "https://github.com/nostr-protocol/nips/blob/master/05.md"
click node_nip07 "https://github.com/nostr-protocol/nips/blob/master/07.md"
click node_nip44 "https://github.com/nostr-protocol/nips/blob/master/44.md"
click node_nip46 "https://github.com/nostr-protocol/nips/blob/master/46.md"
click node_nip59 "https://github.com/nostr-protocol/nips/blob/master/59.md"
click node_nip57 "https://github.com/nostr-protocol/nips/blob/master/57.md"
click node_nip60 "https://github.com/nostr-protocol/nips/blob/master/60.md"
click node_nip66 "https://github.com/nostr-protocol/nips/blob/master/66.md"
click node_nip77 "https://github.com/nostr-protocol/nips/blob/master/77.md"
click node_nip86 "https://github.com/nostr-protocol/nips/blob/master/86.md"
click node_nip98 "https://github.com/nostr-protocol/nips/blob/master/98.md"
click node_nipb7 "https://github.com/nostr-protocol/nips/blob/master/B7.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_nip01,node_nip19,node_software toneBlue
class node_nip10,node_nip17,node_nip27,node_nip29,node_nip23,node_nip68,node_nip71 toneAmber
class node_nip05,node_nip07,node_nip44,node_nip46,node_nip59 toneMint
class node_nip57,node_nip60,node_nip66,node_nip77,node_nip86,node_nip98,node_nipb7 toneRose
class node_reader toneIndigo
class node_catalog toneTeal
```

## Components

### Core Protocol

- [Basic protocol flow](https://github.com/nostr-protocol/nips/blob/master/01.md): `01.md`
- [Bech32 entities](https://github.com/nostr-protocol/nips/blob/master/19.md): `19.md`

### Content and Social

- [Text notes and threads](https://github.com/nostr-protocol/nips/blob/master/10.md): `10.md`
- [Private messages](https://github.com/nostr-protocol/nips/blob/master/17.md): `17.md`
- [Text references](https://github.com/nostr-protocol/nips/blob/master/27.md): `27.md`
- [Relay groups](https://github.com/nostr-protocol/nips/blob/master/29.md): `29.md`
- [Long-form content](https://github.com/nostr-protocol/nips/blob/master/23.md): `23.md`
- [Picture-first feeds](https://github.com/nostr-protocol/nips/blob/master/68.md): `68.md`
- [Video events](https://github.com/nostr-protocol/nips/blob/master/71.md): `71.md`

### Identity and Privacy

- [DNS key mapping](https://github.com/nostr-protocol/nips/blob/master/05.md): `05.md`
- [Browser signing](https://github.com/nostr-protocol/nips/blob/master/07.md): `07.md`
- [Encrypted payloads](https://github.com/nostr-protocol/nips/blob/master/44.md): `44.md`
- [Remote signing](https://github.com/nostr-protocol/nips/blob/master/46.md): `46.md`
- [Gift wrap](https://github.com/nostr-protocol/nips/blob/master/59.md): `59.md`

### Relay and Services

- [Lightning zaps](https://github.com/nostr-protocol/nips/blob/master/57.md): `57.md`
- [Cashu wallet](https://github.com/nostr-protocol/nips/blob/master/60.md): `60.md`
- [Relay discovery](https://github.com/nostr-protocol/nips/blob/master/66.md): `66.md`
- [Negentropy sync](https://github.com/nostr-protocol/nips/blob/master/77.md): `77.md`
- [Relay management](https://github.com/nostr-protocol/nips/blob/master/86.md): `86.md`
- [HTTP authentication](https://github.com/nostr-protocol/nips/blob/master/98.md): `98.md`
- [Blossom storage](https://github.com/nostr-protocol/nips/blob/master/B7.md): `B7.md`

### Other components

- **Standards reader**
- [NIP catalog](https://github.com/nostr-protocol/nips/blob/master/README.md): `README.md`
- **Nostr clients and relays**

## Connections

- Standards reader → NIP catalog: browses (evidence: `README.md`)
- NIP catalog → Basic protocol flow: lists (evidence: `README.md`)
- NIP catalog → Bech32 entities: lists (evidence: `README.md`)
- NIP catalog → Text notes and threads: lists (evidence: `README.md`)
- NIP catalog → Private messages: lists (evidence: `README.md`)
- NIP catalog → Text references: lists (evidence: `README.md`)
- NIP catalog → Relay groups: lists (evidence: `README.md`)
- NIP catalog → Long-form content: lists (evidence: `README.md`)
- NIP catalog → Picture-first feeds: lists (evidence: `README.md`)
- NIP catalog → Video events: lists (evidence: `README.md`)
- NIP catalog → DNS key mapping: lists (evidence: `README.md`)
- NIP catalog → Browser signing: lists (evidence: `README.md`)
- NIP catalog → Encrypted payloads: lists (evidence: `README.md`)
- NIP catalog → Remote signing: lists (evidence: `README.md`)
- NIP catalog → Gift wrap: lists (evidence: `README.md`)
- NIP catalog → Lightning zaps: lists (evidence: `README.md`)
- NIP catalog → Cashu wallet: lists (evidence: `README.md`)
- NIP catalog → Relay discovery: lists (evidence: `README.md`)
- NIP catalog → Negentropy sync: lists (evidence: `README.md`)
- NIP catalog → Relay management: lists (evidence: `README.md`)
- NIP catalog → HTTP authentication: lists (evidence: `README.md`)
- NIP catalog → Blossom storage: lists (evidence: `README.md`)
- Basic protocol flow → Nostr clients and relays: documents possibilities for (evidence: `README.md`)
