创建了一个 Telegram 群组, 把两年前的频道关联起来了: https://t.me/nostr_zh
不知道各位的 Telegram 是否常用, 有考虑过 Discord, Matrix 甚至微信.
尴尬的问题来了,nostr原本是一个社交网络,现在讨论nostr需要到其他社交网络。这个问题我已经反思了很久。哈哈哈。
yakihonne 到底是不是,我也奇怪。他还给我打闪过,是不是看我的帖子的时候,开的翻译软件?
这个列表不错,继续补充。
好的,我查查nostr.band,我觉得是应该用这种服务。
let sub = pool.subscribeMany(
nostrUser
? filterRelays(nostrUser?.relays || [], relaysOnPlatform)
: relaysOnPlatform,
[
{
kinds: [6, 7],
"#e": [event.id],
},
{
kinds: [1],
"#q": [event.id],
},
{
kinds: [1],
"#e": [event.id],
},
{
kinds: [9735],
"#p": [event.pubkey],
"#e": [event.id],
},
], https://github.com/YakiHonne/yakihonne-web-app/blob/main/client/src/Components/NOSTR/NotesComment.js yakihonne代码看 这个评论获取的是全数据。
处理数据: async onevent(event_) {
if (event_.kind === 9735) {
let sats = decodeBolt11(getBolt11(event_));
let zapper = getZapper(event_);
setZappers((prev) => {
return [...prev, zapper];
});
setZapsCount((prev) => prev + sats);
}
if (event_.kind === 7) {
setReactions((reactions_) => [...reactions_, event_]);
}
if (event_.kind === 6) {
setReposts((reposts) => [...reposts, event_]);
}
if (event_.kind === 1) {
let check_kind1 = await onEvent(event_);
if (check_kind1.checkForQuote)
setQuotes((quotes) => [...quotes, event_]);
if (check_kind1.checkForComment)
setComments((comments) => [...comments, event_]);
}
},
}
);
nostr:npub1syjmjy0dp62dhccq3g97fr87tngvpvzey08llyt6ul58m2zqpzps9wf6wl const filters: Filter[] = [
{
'#e': [event.id],
kinds: [kinds.Reaction],
limit: 500
},
{
'#e': [event.id],
kinds: [kinds.Repost],
limit: 100
}
]
点赞数 和评论数是 通过查询所有的点赞列表统计的?按照你的例子超过500其实并没有统计出来?
https://github.com/nostr-cn 看不到这是谁建立的。
NOSTR从入门到精通
一个不正经的中文NOSTR介绍
https://github.com/shaibearary/nostrCN
Sherry
nostr:npub1ejxswthae3nkljavznmv66p9ahp4wmj4adux525htmsrff4qym9sz2t3tv
有方便将这本书放到 nostrbook.com 上吗?

nostrbook 更新了 navbar功能,可以给每篇文章点赞和评论。 细节还没有完成。