帖子如何传播:中继 explained
用简单的类比和交互工具理解 Nostr 中继的工作原理
中继是 Nostr 的邮局。它们是你的消息存在的地方,也是它们到达其他用户的方式。
邮局类比 🏤
想象 Nostr 是一个遍布全球的邮局网络。
- 你有一个邮箱(你的密钥)
- 中继是邮局
- 帖子是你发送的信件
这是与传统社交媒体的关键区别:你选择在哪里发送你的邮件。
传统社交媒体: Nostr:
┌──────────────────┐ ┌──────────────────┐
│ 一个大服务器 │ │ 许多邮局│
│ (Twitter/X) │ │ (中继) │
│ │ │ │
│ 每个人都在 │ │ 你选择哪些 │
│ 一个地方 │ │ 来使用 │
└──────────────────┘ └──────────────────┘
选择的力量
在 Nostr 中,你不会被锁定在一个服务提供商。你可以:
- 发送帖子到任何中继
- 连接到多个中继
- 随时切换中继
- 运行自己的中继
Relay World Map
5 relay(s) selected Total Relays
为什么帖子不同步 🔄
这是新用户面临的最常见困惑:
“我发布了东西,但我的朋友看不到!“
视觉解释
你的连接 朋友的连接
│ │
▼ ▼
┌──────────┐ ┌──────────┐
│ 中继 A │ ❌ │ 中继 B │
│ (wss://...)│ 没有链接 │(wss://...)│
└──────────┘ └──────────┘
│ │
你的帖子 朋友的帖子
如果你发布到中继 A,而你的朋友只使用中继 B,他们看不到你的帖子。
解决方案:连接到多个中继
你的连接
│
┌────┴────┐
│ 中继 A │
│ 中继 B │ ← 连接到两者!
│ 中继 C │
└────┬────┘
│
你的帖子 → 触达更多人
大多数 Nostr 客户端将你连接到几个默认中继。但理解这一点有助于当你:
- 看不到某人的内容
- 想加入特定社区
- 需要故障排除缺失的帖子
Post Flow Simulator
See how a post travels from your device to other users through the Nostr network.
You create a post on your device and sign it with your private key.
选择中继 🔌
默认推荐
如果你刚开始,坚持使用这些热门、可靠的中继:
| 中继 | 描述 | 可靠性 |
|---|---|---|
wss://relay.damus.io | Damus 主中继 | ⭐⭐⭐⭐⭐ |
wss://nostr.wine | 一般中继 | ⭐⭐⭐⭐ |
wss://relay.snort.social | Snort 社交 | ⭐⭐⭐⭐ |
基于兴趣的发现
社区经常为他们自己的讨论运行中继:
- 比特币:
wss://nostr.bitcoiner.social - 开发:
wss://relay.nostrdevs.com - 艺术:
wss://relay.nostrich.art
Relay Explorer
Browse and connect to Nostr relays. Relays store and distribute your posts. Connect to multiple relays for better reliability.
Damus
The most popular Nostr relay, maintained by Damus team
nos.lol
Fast general-purpose relay with good uptime
Purple Pages
Metadata relay for profiles and contacts
Snort
Snort client relay with spam protection
Nostr.bg
Bulgarian relay serving European users
Current
Paid relay with high performance and support
Primal
Primal client relay optimized for performance
Bitcoiner.social
Community-focused relay for Bitcoiners
Yabu
Japanese relay serving Asian Nostr users
Eden
High-performance paid relay
Knots
Experimental relay testing new features
Welshman
Community relay with good moderation
Plebs Network
Community relay network
Hivetech
General purpose relay
F7Z
fiatjaf's personal relay
Stacker News
Relay for Stacker News community
Nostr Wine
Paid relay with excellent performance
NostrDice
Gaming and dice-focused relay
Vera
Live streaming focused relay
19
Popular Relays
0
Online Now
16
Free Relays
0
Selected
免费 vs 付费中继
免费中继
- 对所有人开放
- 可能有速率限制
- 可能充满垃圾邮件
- 对初学者很好
付费中继
- 通常需要小额费用(通常每月 1000-5000 聪)
- 更好的性能
- 更少垃圾邮件
- 支持中继运营者
💡 提示: 从免费中继开始。你以后随时可以添加付费的。
高级:发件箱模型(NIP-65)[高级]
本节是可选的。你不需要理解 NIP-65 就能很好地使用 Nostr。
什么是 NIP-65?
NIP-65 引入了一种更智能的处理中继的方式,称为”发件箱模型”。
代替:你手动连接到 10+ 个中继 你做:发布一次你的首选中继列表,让客户端弄清楚
工作原理
1. 你发布一个中继列表:
{
"read": ["wss://relay-a.com"],
"write": ["wss://relay-b.com"]
}
2. 其他客户端读取这个并知道:
- 在哪里找到你的帖子(读取中继)
- 在哪里向你发送消息(写入中继)
设置个人中继
对于高级用户,运行你自己的中继给你:
- 完全控制你的数据
- 完美的可靠性(不依赖他人)
- 隐私(只有你的数据在中继上)
热门个人中继软件:
- strfry - 快速 C++ 实现
- nostr-rs-relay - Rust 实现
📚 查看我们的 中继指南 以获取详细的设置说明。
快速参考
常见中继命令
在大多数客户端中,你可以:
- 添加中继:设置 → 中继 → 添加
- 移除中继:长按/点击中继 → 移除
- 检查状态:中继列表显示连接状态
最佳实践
- 连接 4-8 个中继 以获得良好的覆盖
- 包含一个”写入”中继 你总是发布到那里
- 检查中继正常运行时间 在依赖它之前
- 保持你的中继列表更新 随着网络增长
故障排除
”我看不到任何帖子”
- 检查你是否连接到任何中继(设置 → 中继)
- 尝试添加上面的热门中继
- 等待片刻让内容加载
”我的帖子消失”
- 一些中继删除旧内容以节省空间
- 连接到更多中继以获得冗余
- 考虑为永久存储使用付费中继
”中继无法连接”
- 检查你的互联网连接
- 尝试在浏览器中测试中继 URL(应该显示错误/ws 页面)
- 中继可能宕机 - 尝试另一个
Troubleshooting Wizard
Let's diagnose and fix your Nostr issue step by step
What's your problem?
Still need help?
测试你的理解
认为你已经理解中继了?测试你的知识:
Relay Deep Dive Quiz
What is a Relay?
Question 1 of 6
还有问题?
加入 Nostr 社区:
- Nostr Reddit
- Nostr Telegram
- Stacker News(比特币/Nostr 论坛)