I added an author field, author=pubkey for normal events and author=delegator for delegated events. it's a bit different from NIPs, but I think it makes sense.
When there are a lot of matching events, querying with btree_gin index and the need for sorting by created_at can turn into a nightmare 🤯
wss://nostr-relay.app is now powered by https://github.com/CodyTseng/nostr-relay.
#nostr #dev 
Merry Christmas, everyone! 🎄
I just released the first version of https://github.com/CodyTseng/nostr-relay-nestjs/releases/tag/v1.0.0 .
Moving ahead, my focus will be on another project, https://github.com/CodyTseng/nostr-relay . This project aims to provide developers with a simple way to develop customized relay and is already taking shape. I am currently using it to rewrite nostr-relay-nestjs, and in the process, I am identifying shortcomings in nostr-relay and making improvements.
This package includes only the basic features of Relay, enabling developers to quickly build a Relay. Additional features need to be implemented by developers. I aim to create an ecosystem where developers share their developed plugins, making Relay development as simple as assembling building blocks. I will strive to design this foundational framework.
PS: Could you share details on making a payment by event? (My understanding of Lightning payments is not very comprehensive 😂)
Customizing relays will become very simple. 🧑💻 #nostr #relay #dev

mkdir https://github.com/CodyTseng/nostr-relay nostr:note1aac2jydwylayptyhqjjgdaa3gr4l44khp4nqw4dsl9hycj44d3xsgkd45x
I plan to extract the core code of nostr-relay-nestjs and release it as several npm packages. Could this make it easier to develop customized relays? 🤔 #dev #devstr
The AWS billing is so complicated 🤯
I will definitely follow it! 😻
After caching the query results, many repeated queries are reduced. 🥰 #nostr #devstr
What yummy food are you eating? 🥺 #nostrasia
Hope you get well soon 🙏
Btw, the dress looks great!
I just discovered that #coracle makes exporting events very simple. It's great!

#m=image%2Fjpeg&dim=570x734&blurhash=_8OzSstR%7EqM%7BWBt6tRW%3DM%7B%25Mt7IBkCoL_Nt7D%25xukCIUofjEt7Rjaex%5Dj%5BR*ozRjWVR*RPozt7xua%7DM%7Bt7RjM%7Bt7jsRjazxaxuayMxayt7WBNGxtxuRjofogayM%7Bof%252Rj&x=94735829fff3d8a95138c0b6d8d287330463b44d88b27f7a85c6c980e3c8898d

