That sounded really interesting, but I just spent about 20 hours painstakingly typing nothing but PHP and shell scripts until my eyes bleed, and it went right over my head.
Login to reply
Replies (1)
let me try to explain it; to build a nostr client you need the following:
- connect to a websocket
- send REQs and read EVENTs
- sign events and send those up the socket
you can do that in php, especially if you use newer php runtimes, but if you do it, then you are a centralizing force.
Users don't connect to the sockets, send requests etc, but rather connect to your php server, which is now acting as the source of truth (so technically you have as much control as you want to decide what events to filter out for example). This is similar to replacing your database with nostr.
This might be fine for some applications, honestly, especially those where decentralization is not important, but for users that want to use decentralized apps, you're not helping :)
does that make more sense?