Avatar
nostr_cn_dev
fd06f542bc6c06a39881810de917e6c5d277dfb51689a568ad7b7a548d6d54cd
Developed the following products: - NostrBridge, 网桥转发 - TaskQ5, 分布式多任务 - NostrHTTP, nostr to http - Postr, 匿名交友,匿名邮局 - nostrclient (Python client) . -nostrbook, (https://nostrbook.com) 用nostr在线写书 https://www.duozhutuan.com nostrhttp demo

wss://bridge.duozhutuan.com, 你可以去github.com/duozhutuan/nostrbridge 下载一个客户端。把你的内网 服务器注册进来,再通过 wss://bridge.duozhutuan.com/pubkey/[pubkey] 访问你的内网relay服务器了。

Prerequisites

Bridge Server: Domain name bridge.xxx.com

Relay Server:

Public Domain: relay.xxx.com

Private Network Domain

Client

Usage Rules

Accessing Relay Server through Bridge

Users can access the Relay server through the Bridge server using the format: bridge.xxx.com/relay.xxx.com

Accessing Relay Server via Bridge using PubKey

Users can access the Relay server through the Bridge server using the format: bridge.xxx.com/pubkey/[PubKey]

This requires the Relay server to be registered with the Bridge server

Accessing Private Network Relay Server through Bridge using PubKey

Users can access the Private Network Relay server through the Bridge server and PubKey using the format: bridge.xxx.com/pubkey/[PubKey]

This requires the Private Network Relay server to be registered with the Bridge server

Directly Accessing Public Relay Server

Users can directly access the Public Relay server but cannot directly access the Private Network Relay server

前提条件

Bridge服务器:域名 bridge.xxx.com

Relay服务器:

公网域名:relay.xxx.com

内网域名

客户端

使用规则

通过Bridge访问Relay服务器

用户可以通过Bridge服务器访问Relay服务器,使用格式:bridge.xxx.com/relay.xxx.com

使用PubKey通过Bridge访问Relay服务器

用户可以通过Bridge服务器访问Relay服务器,使用格式:bridge.xxx.com/pubkey/[PubKey]

这需要Relay服务器先注册到Bridge服务器

通过PubKey访问内网Relay服务器

用户可以通过Bridge服务器+PubKey访问内网Relay服务器,使用格式:bridge.xxx.com/pubkey/[PubKey]

这需要内网Relay服务器先注册到Bridge服务器

直接访问Relay公网服务器

用户可以直接访问Relay公网服务器,但无法直接访问内网Relay服务器

NostrBridge update: Whether your relay server is on the public internet or a private local network, you can access it through the bridge. You can use nostrbridge's cli.jsto register your server, allowing users to access it via bridge.xxx.com/pubkey/pubkeyid. For example, users can access it through wss://bridge.example.com/pubkey/25ab88fc19432f1c35ced742122ec57a41398ec7c50997fd08c29ca79cbe3b71.

https://github.com/duozhutuan/NostrBridge

nostrclient python nostr client ,add user profile function

mastodon 社区有一点非常好,每个server都有一个 都带有一个客户端。 并且发布的消息显示 这个server的地址。顺着消息可以看到很多人。 感觉这才是网络的意思。把网体现出来了。