Olive Grove Eggs on Nostr: Up all night learning node.js or more accurately, hamming my way through the basics ...
Up all night learning node.js or more accurately, hamming my way through the basics so I can see whats going on with the nostr relay running on my phone. Thanks for that initial nudge. Or rather thanks to you I haven't had much sleep haha.
Anyway, perhaps can you point me in the right direction or to a smarter cookie than me, to get me over the line?
Terminal says I'm set up, I think that's what the following means?
... yo$ npm run start > nostr-server@1.0.0 start /Users/yo/nostr-server > node . WebSocket server is running on ws://localhost:4869
Client connected
Connected to the server
Received: Hello Waster
Message from server: Echo: Hello Waster
But the Kiwi browser on the phone times out. The Firefox for Mac browser says Upgrade Required. Safari not playing either. I turned the relay on and off in case that is part of the process.
What are the URL options? Is it ws://localhost:4869 in the address bar, or am I missing something obvious?
I don't have WiFi, but the phone's connected by Bluetooth to the computer and that has an IP address showing in preferences. And they must be paired judging by Terminal message.
Someone online said it was the browsers not recognising websockets. But Kiwi is Chrome based, no?
AI hasn't helped, #asknostr is my last hope :)
#chickens are fed, I'm off to bed now. Cheers
Anyway, perhaps can you point me in the right direction or to a smarter cookie than me, to get me over the line?
Terminal says I'm set up, I think that's what the following means?
... yo$ npm run start > nostr-server@1.0.0 start /Users/yo/nostr-server > node . WebSocket server is running on ws://localhost:4869
Client connected
Connected to the server
Received: Hello Waster
Message from server: Echo: Hello Waster
But the Kiwi browser on the phone times out. The Firefox for Mac browser says Upgrade Required. Safari not playing either. I turned the relay on and off in case that is part of the process.
What are the URL options? Is it ws://localhost:4869 in the address bar, or am I missing something obvious?
I don't have WiFi, but the phone's connected by Bluetooth to the computer and that has an IP address showing in preferences. And they must be paired judging by Terminal message.
Someone online said it was the browsers not recognising websockets. But Kiwi is Chrome based, no?
AI hasn't helped, #asknostr is my last hope :)
#chickens are fed, I'm off to bed now. Cheers