How is pear different from http? #asknostr #dev Can't http and ftp be done p2p ? nostr:nprofile1qqstnem9g6aqv3tw6vqaneftcj06frns56lj9q470gdww228vysz8hqpz4mhxue69uhk2er9dchxummnw3ezumrpdejqzrthwden5te0dehhxtnvdakqz9rhwden5te0wfjkccte9ejxzmt4wvhxjmcjgxv3n nostr:nprofile1qqst69c7cwzh54r2n3n9uqtfx8t3wldatf5g0xfzwenrnqzg8vdvc9gpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsxvtdhr I'm very interested but off the cuff, without a lot of digging on my part I don't see how it helps p2p. Eli5 🙏🏻
How would someone on the other side of the country access the http server running on my phone?
Holesail Go atm only let's you connect to a server atm and not serve from your Phone. It is planned in a future version of Holesail. But you can always do this: holesail --live <port-of-server> --host <local-if-of-your-phone> on a different computer that is connect to the same network as your phone.
A VPN?
So pear simplifys that
There's nothing complex about a VPN. Pear seems to complicate it more imo.
You have a vpn between two phones that's?
it is easy to do with wireguard but you need a server with an internet routeable address very handy for me doing relay testing with the help of a reverse proxy forwarding inbound relay traffic to my dev machine
tailscale, openvpn, etc. There are many ways...
it's literally impossible to do it without one side having inbound routeable connection, that's just how it is without universal IPv6 that's gonna continue to be a very common situation the mobile operators have had plenty of time to get that sorted out, so i call conspiracy and cartel on it
IP addresses are often dynamic. Also difficult to connect to computers behind WiFi routers.
Looks like you are confused here, pear is a like a library for building peer to peer apps and http is a protocol. Talking about holesail here, it supports http as well as ftp.
He is probably conflating Pear and Hypercore because I have started conflating them out of simplicity. I would say the underlying foundation is a protocol but it doesn’t really compete with any other, it just uses them all to create a new networking trick
I understand pear is a runtime now. I'm still kind of confused how this runtime enabled a moe p2p network. Like does it run applications on a client from a server p2p? Where the server client are the same network across space? I'm trying to wrap my head around this. I'm at work and don't have time to play with it right now.