Where I think this could be fun and useful is being able to log into a relay via a web porta and set personal preferences like “friends of friends only mode”, or “explicit content filter”, or whatever. Maybe even see stats for your pubkey or devices recently active.
CC #[1]
Source code here.
https://gist.github.com/blakejakopovic/b0065b9327c48c148bfe989c08137ba1
For clarity, this doesn’t do full event auth validation, as I may not use Ruby - no reason it can’t be added where I’ve commented.
This is the simplest code to get this working, so not prod ready, but decent example code.
Discussion
No replies yet.