el

nostr_cn_dev

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

61 Following

231 Followers

Notes
Replies
Articles
Curations
Videos

nostr_cn_dev

9h ago

proxmox安装记录 https://www.nostrbook.com/books/fb423d08b09b253194c1d7df7f828b3ecce78a72caa8d00f1b172631c0e5e951 有人写书了。不过封面服务器是不是坏掉了。 图片都看不见了。

See translation

3

0
0
0
0

nostr_cn_dev

1d ago

groups.0xchat.com'9567da7507bec9ee7cb36de3c513dcf2b1571a02dab748698b8fd8a4972b57cb

el


拉了7位。 有兴趣的下载0xchat 参加群聊共建 nostr中文社区。

See translation

1

0
0
0
0

nostr_cn_dev

1d ago

el


groups.0xchat.com'9567da7507bec9ee7cb36de3c513dcf2b1571a02dab748698b8fd8a4972b57cb

下载0xchat桌面版本 沟通效率加倍 。 https://github.com/0xchat-app/0xchat-app-main/releases

See translation

0

0
0
0
0

nostr_cn_dev

1d ago

el

yakihonne 的树形结构终于出来了。

See translation

0

0
0
0
0

nostr_cn_dev

2d ago

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) =>

... See more

See translation

0

0
0
0
0

nostr_cn_dev

2d ago

@Cody Tseng const filters: Filter[] = [
{
'#e': [event.id],
kinds: [kinds.Reaction],
limit: 500
},
{
'#e': [event.id],
kinds: [kinds.Repost],
limit: 100
}
]

点赞数 和评论数是 通过查询所有的点赞列表统计的?按照你的例子超过500其实并没有统计出来?

See translation

2

1
0
0
0

nostr_cn_dev

3d ago

https://github.com/nostr-cn 看不到这是谁建立的。

See translation

6

3
0
0
0

nostr_cn_dev

3d ago

NOSTR从入门到精通
一个不正经的中文NOSTR介绍

https://github.com/shaibearary/nostrCN

Sherry
@Sherry

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

See translation

0

1
1
0
0

nostr_cn_dev

3d ago

el


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

See translation

4

0
0
0
0

See translation

7

4
1
0
0

nostr_cn_dev

4d ago

https://nostrbook.com/books/384647ec127fe421618b5e0ab460a99a8217d59e59ac7075dcdc70266225ea34?title=nostr%E8%B5%84%E6%BA%90%E6%94%B6%E9%9B%86#/01

nostr 国内开发者 ,还有没有提到的可以联系我更新。准备再搞一个国内用户列表。

See translation

2

1
0
0
0

See translation

5

0
0
0
0

nostr_cn_dev

6d ago

el

新加了一本书 《nostr 资源收集》

See translation

0

1
0
1
0

nostr_cn_dev

6d ago

el


新的banner图。

See translation

0

1
0
0
0

nostr_cn_dev

1w ago

这是利好还是?

npub1dfgnd

1w ago

受缅甸地震影响,TCL中环上调硅片报价
受到缅甸强震影响,中国光伏硅片出现涨价情况。TCL中环向界面新闻证实,已于3月31日调涨硅片价格,具体为183mm硅片从1.23元提升至1.3元/片;210R从1.5元上调至1.55元片;210mm从1.55元上调至1.6元/片。

频道:@zxjb724

See translation

See translation

0

1
0
0
0

nostr_cn_dev

1w ago

nostrbook现在要完善 用户社交属性,增加 点赞和评论功能。和搜索引擎友好。 没有存储空间的后端渲染 搜索引擎友好是一个难提阿。

nostr_cn_dev

1w ago

nostrbook.com, 修改了书的显示,增加了菜单层级。
el

See translation

See translation

0

1
0
0
0

nostr_cn_dev

1w ago

nostrbook.com, 修改了书的显示,增加了菜单层级。
el

See translation

0

1
0
1
0

nostr_cn_dev

1w ago

eose 的理解,相同的查寻条件下,如果有2个服务器,
第一个服务器 存储的内容只有3条,
第二个服务器存储的较多 有10条。

第一个服务器3条后就返回了eose给客户端,那么 第二个服务器是不是没有来得及返回十条,这个 查寻接回结束了。

这样是不是 最终得到了3条?

See translation

8

0
0
0
0

nostr_cn_dev

1w ago


el

还是要小说类的,我想做 技术类的,估计有难度的。

See translation

1

0
0
0
0

nostr_cn_dev

1w ago

el


AI对我提出了更高的要求。

See translation

0

0
0
0
0

nostr_cn_dev

1w ago

wss://hk.purplerelay.com/ 上面的内容这么暴力。哈哈哈,只是为了速度快加了试试,结果。。。。全是你们想看的内容。

See translation

10

0
0
0
0

nostr_cn_dev

1w ago

这个速度很快阿。看看行不行

See translation

0

0
0
0
0

nostr_cn_dev

1w ago

测试一下 nostr-02 dorafactory的速度

See translation

0

0
0
0
0

nostr_cn_dev

1w ago

el


测试了一下,AI画的封面还真不错。

el


粘贴了2章节内容

See translation

2

1
0
0
0

nostr_cn_dev

1w ago

nostrbook.com 从编写书,到最后生成书都完成了。
nostrbook.com服务器不需要任何 额外存书的空间。全都在 nostr的relay server存储的。生成预览书籍都是动态的,不需要本地生成html。 我慢慢实验,估计周末就可以发布一个版本了。

See translation

1

2
0
0
0

nostr_cn_dev

2w ago

修修细节,慢慢来。 大框架搭建的差不多了。

See translation

0

2
0
0
2

nostr_cn_dev

2w ago

30023 修改 文章,本质上是发一个 d 标识 相同的新文章。那我写书的软件将会发一堆相同的(差异化很小的)文章阿。这可如何是好。nostrbook.com 即将开放。粗矿bug多版本。哈哈哈

See translation

7

0
0
0
0

nostr_cn_dev

2w ago

nostrbook 初级版本,还差大纲的生成了。

See translation

0

3
0
0
2

nostr_cn_dev

2w ago

el


可以建立书了,也可以显示书籍列表。 下一步就是写书了。很多细节需要优化

See translation

1

2
0
0
0

nostr_cn_dev

2w ago

其实img 除了 src还有属性srcset,这里面存放着 根据分辨率选图片集的用法。当然我的想法还是自己实现一个动态切换浏览器的方法。

nostr_cn_dev

2w ago

nostr上传的图片 都是上传到单个服务器的。
这有一定的风险尤其对于一个写书的网站。

为和不把同一张照片存放在多个服务器呢?
同一个图片没有办法上传到多个服务器,因为 服务器给的返回地址不一样。 没有办法嵌入到页面里面?

我有一个办法可以解决,图片都应该传到多个服务器,然后放在一个event里面 。把这个event嵌入到页面经过2次解析得到图片。

那么这就解决一个服务器关闭的问题了。

但是网页如何解决 event里有多个服务器选择哪个来显示呢?
其实浏览器里有显示失败的异常消息,通过异常再做 img.src 赋值。这样就可以尝试显示到一个正常的地址了。

其实这个方法还可以解决 某地方 的墙的问题。 因为有的地方把某些图片服务器给墙了

See translation

See translation

0

1
0
0
0

nostr_cn_dev

1mo ago

@Postr 私密邮局开始。

See translation

2

1
0
0
0

nostr_cn_dev

2mo ago

以前看到的关注我的人都是4个不变,今天一看50多个人了。这些人除了发帖子来的,其他的是不是 我点赞点来的。我的点赞到底有没有作用。

See translation

3

6
0
0
0

nostr_cn_dev

Dec 25, 2024

fiatjaf 说 他的服务器坏了,但是nostr可以正常运行。多relay 有这个优点。推荐大家使用 nostrbridge桥。这玩意太好用了。内网relay都可以用。类似以前的花生壳了。

See translation

13

4
0
0
0