thanks! Hey nostr:nprofile1qqs8eseg5zxak2hal8umuaa7laxgxjyll9uhyxp86c522shn9gj8crspz9mhxue69uhkummnw3ezuamfdejj7qgjwaehxw309ahx7um5wgerztnrdakj7qgkwaehxw309a3x2an09ehx7um5wgcjucm0d5hsvlnggv, is it possible to add custom code on relays that use your service? Like specifying what happens when an event arrives, and so on.
https://relay.tools by nostr:nprofile1qqs8eseg5zxak2hal8umuaa7laxgxjyll9uhyxp86c522shn9gj8crspz9mhxue69uhkummnw3ezuamfdejj7qgjwaehxw309ahx7um5wgerztnrdakj7qgkwaehxw309a3x2an09ehx7um5wgcjucm0d5hsvlnggv
Discussion
hm, not currently, were you thinking like a webhook or something? there are lots of config options, as far as access control and mod controls.
more like allowing for custom functions to be executed.
e.g. if the relay receives a supported DVM kind, then process in a certain way.
Like, the user provides the function in a certain programming language, and the relay executes it when conditions met.
this would be kindof strange to implement in the relay as a generic configurable, it seems like more of an agent that you would run outside the relay.. listening for events and doing things with them. or if you were running strfry yourself using a custom 'plugin'. running custom code isn't likely something I would deploy for relay tools, though im always open to suggestions if there is a 'safe' way to do it.