Nostr Relay From Scratch
Completed
- We need to support real time subscriptions
- Write tests for real time subscriptions
- Count the Number of Tags for Each Event as part of the Schema
- We need to use a the token indexing thing in Postgres to search the Text field better
TODO
- Auth Subscriptions
- Logging
- Bot Support, Nostr Bot Daemon Framework
- More Unit Tests
- Close Hanging Connections websockets/ws: Simple to use, blazing fast and thoroughly tested WebSocket client and server for Node.js after 10 minutes or something
- Only Authed Connections can be held open
- Then how do you make sure you don't miss ephemeral events
- I can do a blog post on this
- Optional Optimizations
- Use a UNION operator on the Filter Data
- JOIN against the Simple tags table rather than searching the tags column
- Complex Features to Add
- NIP-29
- Vector Search Functionality, need to add my own NIP