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

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

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

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

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

What yummy food are you eating? 🥺 #nostrasia

Please sign more!!! I'm so bored right now 🤯

I just discovered that #coracle makes exporting events very simple. It's great!