Avatar
DASHU
29320975df855fe34a7b45ada2421e2c741c37c0136901fe477133a91eb18b07
A nostr dev. #Nostrmo A client support all platform. #Nowser A nostr signing project. #Nesigner A nostr hardware signer. https://nesigner.nostrmo.com/ #CacheRelay A nostr cache relay peject. #cfrelay A nostr relay base on cloudflare wokers. A nostr note timing send service. https://sendbox.nostrmo.com/

这个定位自己使用的… 其他人只能读

目的就是想让自己的数据 永远在线上有一个可读的中继

不再因为中继跑路丢数据

😅 部署了 也没什么体验上的变化

你只会得到这句话:

Run your relay and own your datas.

Run your relay and own your data.

Replying to Avatar CXPLAY

居然还能 reaction 个数字上去的 nostr:npub1d5ygkef6r0l7w29ek9l9c7hulsvdshms2qh74jp5qpfyad4g6h5s4ap6lz

我还以为的网页渲染出问题了, 结果点了一下, 自己也跟着扣了个6.

果然 大家还是比较喜欢黑色主题…

Replying to Avatar CXPLAY

居然还能 reaction 个数字上去的 nostr:npub1d5ygkef6r0l7w29ek9l9c7hulsvdshms2qh74jp5qpfyad4g6h5s4ap6lz

我还以为的网页渲染出问题了, 结果点了一下, 自己也跟着扣了个6.

谁填了一个 6 上去 😅

The debounced way is also ok. But the NIP would be better to state that relay can implement this method and this method is optional.

But the batch way is also optional and need to stated. And it is a way easier to implement.

These two method also can handle hundreds events. I can't find that whick one is better.

我测几天 然后能不能做成产品 让用户快捷部署

These two methods are not different from network. The BATCH way can help relays handle events batchly. With the BATCH method, a relay handle hundreds events only need two sql:

select * from event where id in (?, ?, ?, ?).

and the batch insert sql:

insert into event (xxx, xxx) values (?, ?), (?, ?), (?, ?), (?, ?).

If send the event one by one, the relay at lease send hundreds insert sql.

Usually, the batch insert sql is faster the one by one insert sql.

Hello #nostrdev s, I think nostr network should has methods for recovering events.

For now, the only way to send event to relay is ["EVENT", {eventdata}]. But this method only can send one event. If i want to backup and recover. I need to send many events to relay, so i need to send many times EVENT message whick usually notice me that i need to slow down. Is there a method for client to send many event to relay by one times?

nostr:npub1gcxzte5zlkncx26j68ez60fzkvtkm9e0vrwdcvsjakxf9mu9qewqlfnj5z nostr:npub1acg6thl5psv62405rljzkj8spesceyfz2c32udakc2ak0dmvfeyse9p35c nostr:npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6

还是忍不住手 开坑写 relay 😅

定位个人使用的中级

Run your relay and own your datas.

Thanks your report. I will check it with Brave later. 🌹

But this isn't added by me. Is it from you browser plugin?

relay 重连应该好很多 不会像以前那样死掉

奇怪了 之前好像添加过了 难道是合并代码的时候覆盖了~~~

谢谢提醒

#Nostrmo version 2.3.0 have release.

- add video support to all platform

- add simple music support (wavlake link, audio link)

- add relay speed test support

- add relay hub page

- get tempRelay function change

- local relay add backup and import function

- local relay add sync function

- fix many bugs

You can download it from here:

https://github.com/haorendashu/nostrmo_faq?tab=readme-ov-file#download