Damus
The Fishcake (nostr.build) · 4w
Is there any way I can avoid allowing spam while allowing the git thingies uploading? Anything I can filter/reject on for unrelated files?
Sirius profile picture
Unfortunately no: content is encrypted by default so there's no way to tell what's in there.

Limited storage quotas for free users (per user & total) and dropping least recently requested files is the best spam prevention policy I can think of. Maybe combined with IP based filtering, although that can be bypassed.

I'm currently running my own cdn.iris.to (writes via upload.iris.to) which only allows encrypted binary uploads to avoid moderation issues.