strfry icon indicating copy to clipboard operation
strfry copied to clipboard

Add conf setting for supported_nips array

Open ismyhc opened this issue 1 year ago • 2 comments

Id like to limit a bunch of kinds by using the write plugin, however id also like to reflect these policies in the supported_nips array that's returned by the relay info JSON payload.

For example say I don't want to allow kind 3 (nip2)

Id like to be able to remove nip 2 from the supported_nips array. I may also want to add a nip to that array.

Right now I assume I would just from the repo and change the values in code, but having a conf setting would be ideal.

ismyhc avatar Sep 13 '24 23:09 ismyhc

I just pushed this feature to master branch: https://github.com/hoytech/strfry/commit/08f06338f32a91a6195973357f40b09bb2f6b076

hoytech avatar Sep 19 '24 05:09 hoytech

Will this limit the kinds accepted? Would like to run an instance of strfry similar to purplepages.

sondreb avatar Aug 01 '25 21:08 sondreb