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
Replying to Avatar CXPLAY

创建了一个 Telegram 群组, 把两年前的频道关联起来了: https://t.me/nostr_zh

不知道各位的 Telegram 是否常用, 有考虑过 Discord, Matrix 甚至微信.

尴尬的问题来了,nostr原本是一个社交网络,现在讨论nostr需要到其他社交网络。这个问题我已经反思了很久。哈哈哈。

yakihonne 到底是不是,我也奇怪。他还给我打闪过,是不是看我的帖子的时候,开的翻译软件?

电猫 做的项目是啥,我没有搜到, 作者是谁?

这个列表不错,继续补充。

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其实并没有统计出来?

我刚刚看到了。哈哈哈,我正在搜,发现你创建了。

NOSTR从入门到精通

一个不正经的中文NOSTR介绍

https://github.com/shaibearary/nostrCN

Sherry

nostr:npub1ejxswthae3nkljavznmv66p9ahp4wmj4adux525htmsrff4qym9sz2t3tv

有方便将这本书放到 nostrbook.com 上吗?

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

主要是为了方便。 我刚来的时候不知道和谁聊。新用户来了,知道到这里找人。聊聊