Avatar
Cody
8125b911ed0e94dbe3008a0be48cfe5cd0c0b05923cfff917ae7e87da8400883
Building 👨‍💻 https://jumble.social/ & nostr-relay-tray

#danmakustr has been released on the Chrome Web Store. If you're interested, you can download and try it out directly. Feedback is welcome! 🤗 #弹幕 #danmaku #grownostr #nostr #devstr

https://chromewebstore.google.com/detail/danmakustr/mohbdimkkpjjibdfipfajpgpmegnglhb

Submitted my first #NIP. Feedback is welcome! 🫡 #grownostr #nostr #devstr

https://github.com/nostr-protocol/nips/pull/1184

I've seen it too, but he keeps changing the pubkey. I don't have a good solution 😭

一个可以在 YouTube 上发弹幕的插件,并且弹幕存放在 nostr 中继中,不用担心插件不维护导致大家的弹幕消失

danmakustr (一个基于 nostr 协议的 chrome 弹幕插件)已经基本可以使用了,但还没上架 chrome 商店,感兴趣的可以下载源码体验。目前还不能修改中继列表,不能使用自己的账号(随机生成)。我想这样也可以让更多普通人接触 nostr。

Danmakustr (a chrome extension for danmaku based on the nostr protocol) is almost ready for use, but it hasn't been uploaded to the Chrome Store yet. If you're interested, you can download the source code to try it out. Currently, you can't modify the relay list or use your own account (it generates random ones). I think this will expose more ordinary people to nostr.

#devstr #nostrdev #grownostr #nostr #danmaku

https://github.com/CodyTseng/danmakustr

这句话很重要 [Doge] 我写了个电脑上运行的中继应用,可以备份自己的事件,也可以作为 nostrudel 的缓存中继,有兴趣可以试试看🤗

https://github.com/CodyTseng/nostr-relay-tray

My public key color is purple 😼 #nostrudel

才知道 cloudflare 可以跑服务😂 学习学习看看能不能把我的一个轻量 relay 实现部署上去

I can't wait to share the chrome extension I made today with everyone. But it still has a lot of bugs 😂 #grownostr #nostr #danmaku

Building something new 👨‍💻

Replying to Avatar hzrd149

Added support for nostr:npub1v0lxxxxutpvrelsksy8cdhgfux9l6a42hsj2qzquu2zk7vc9qnkszrqj49's @snort/worker-relay package in #noStrudel, it runs a SQLite using WASM in a web worker 😀

Its not quite as fast as using the Indexeddb api but it doesn't make the browse freeze up as much. I have not tested it on mobile so I have no idea how well it will work.

You can find the package here https://git.v0l.io/Kieran/snort/src/branch/main/packages/worker-relay

And if your reading this nostr:npub1v0lxxxxutpvrelsksy8cdhgfux9l6a42hsj2qzquu2zk7vc9qnkszrqj49 there are a few improvements id like to see

- a way to delete specific events (base on a REQ filter) from the database

- a method for deleting the database out right

- the ability to stop the web worker and close the database

Right now there is no way to "manage" the database so it just keeps growing in size 😞

Changes are only on next.nostrudel.ninja for testing

It looks like @nostr-relay/event-repository-sqlite could be helpful for you. It's the database implementation used by nostr-relay-tray. It allows for inserting events and finding events by a filter, and nostr:npub1rw7hlhmgat6ur9zxcw40vweem49guv6530yk767j8xjpynv0y20q6qsl3w is currently developing the filter deletion functionality. However, it's unclear if it can be directly used in a browser.🤣 Perhaps with some minor modifications, it could be made compatible.

You can try running this less than a hundred lines of code to experience it. https://github.com/CodyTseng/nostr-relay-sqlite

wss://nostr-relay.app it’s free and everyone can join.

source code: https://github.com/CodyTseng/nostr-relay-nestjs

It uses PostgreSQL. If you care about its performance you can check it out here: http://nostr-relay.app/metrics

The payment plugin is still on the way, and I need to supplement more knowledge.

I provided an SQLite database implementation, eliminating the need to run an additional database. https://github.com/CodyTseng/nostr-relay-tray uses this implementation.