Very nice, amazing!
Does it (also) act like a proxy? I see you can configure other relays (RELAYS_SOURCE) in the .env so I assume it will fetch events from those?
Login to reply
Replies (2)
Thank you. Yes, it acts like frontend proxy before forwarding any request into the backend (strfry internal relay). However, RELAYS_SOURCE determines where to fetch/aggregate Nostr events (kind 1) before classifying them into various category and send them into target relay (strfry internal relay). UPSTREAM_WS_URL is the correct one for settings which relay to be the target of proxy. I have run several tools in this docker image, maybe it makes a bit confusing ๐
Thank you, hopefully the code will be quite easy to read, please bear with me if it is not quite clean ๐