I love the moment I realised this had worked - lol wasn't expecting that 🀣 @Gigi - you might be interested in this one. Syncthing but nostr :) Next steps... This is probably enough for what I need, running over tailscale and syncing files ;) Will probably add iroh/quic for something remote and have a look at phones. Then maybe file syncing so you can have a p2p shared folder for shared folders.

Replies (67)

Vibe coding is not enough these days. You need to live stream the code and the moment it actually works.
This is the digital equivalent of finding a hidden door in your own house. Nostr as a sync layer, beautifully chaotic. Reminds me of surviving on $3/month servers where every byte was a rebellion. The future is already here, it's just unevenly distributed across protocols. β†ͺ️ View quoted note β†’
This is exactly why we are going to win. πŸ”₯πŸ”₯ Things like Nostr, Bitcoin and Lightning SDKs, Peardrive core, etc are going to make it even easier to do secure authentication, simple monetary integrations, and simple sovereign hosting or private connections. This was VIBE CODED people! Even though I’ve not shared our many iterations, I’ve had this exact experience. Getting a basic tool for P2P sharing working in a few hours and then just fixing quirks and UI stuff for a few days to make it feel cleaner. Things like the Pear stack, and Iroh, and Holesail (fyi @Pete Winn πŸ”† drop Tailscale and just use Holesail here, much simpler UX) are huge leaps forward in the ability to self host these things. My hope as well is that Peardrive core makes this so utterly simple to build with that amateur coders could use it in a way that feels no different than simple web development. And what you can do when you unleash people to create anything they can imagine is just wild. We are going to win, but we will be waiting for it to happen until everyone reading this post realizes that YOU CAN JUST BUILD THINGS! View quoted note β†’
keeth's avatar
keeth 1 month ago
Seems like it is Dropbox but is person to person and not person to Dropbox to person.
Ah yes, kind of what I was guessing. He did mention airdrop, which is apple's p2p version of such a thing, though I have no clue what exactly distinguishes it from say Dropbox (does it use Bluetooth, magic, something else?!). Thanks for clarifying
Nostr is for id, encryption, discovering peers and routes. And for letting let's know new changes to sync. No clue transfers the connection is peer to peer so very private. The nostr be messages the.announce peers and changes are nip44 encrypted. Very private transfers
keeth's avatar
keeth 1 month ago
I’m trying to figure it out as well but my guess is it does file transfer at a longer range than Bluetooth would allow.
This is super cool! Will definitely be trying it out. It does seem almost identical to syncthing from a privacy standpoint though… my understanding is that the syncthing relays only see your metadata. Presumably it’s the exact same for nostr relays?
Oh interesting, so even the metadata is encrypted. Only possible because you have a sk attached to an identity (unlike syncthing)
This is actually super cool because it means you can connect and discover over tor to protect privacy, but the transfer will still be P2P without the tor slowdown 🀯
Would be great to easily run different identities for sharing. Either like a multi-account or just a private share with new nostr ID option
1. Two machines. Both run SovThing. 2. On the left machine 1 we move a file into a "shared folder" 3. Machine 2 is notified (via encrypted nostr post) that there is an update to folder 4. Machine 2 syncs folder peer2peer (no public traffic or record of file movement) from machine 1. 5. Magic πŸͺ„
It will let you setup different IDs, but I do wonder how confusing the ui will get there given they would have the same filesystem... I'm looking at holesail for p2p sharing as well this morning, which could let you generate time limited connections and share encrypted to a specific npub, so they can connect for say 24 hours. That would be cool the shared ID layer and PPK encryption you get for free with the nostr network is kinda magic for UX here. Other Stuff for the win!
Metadata is a self encrypted via nip-44. Main thing is everyone has a key and ID by default, this is never true for synthing so we can layer a nice UI onto an otherwise nice protocol πŸ˜‰ I generally find syncthing good, but I get annoyed because the UI is terrible!
This is a more nuanced point but... they are always encrypted anywhere it matters. 1. On local network there's not too much point. 2. Over tailscale (or later iroh / holesail) the entire transport layer would be encrypted. 3. All comms about metadata is encrypted. 4. You can just drop encrypted files into the folder (e.g. nsync your cryptomater folder) and sync that - the protocol here wouldn't care.
This should give us full peer to peer hole punching with no tailscale. Kinda surprised that the round tip is that high, but will mean you don't have to setup tail scale to access anywhere which is pretty sweet. Next up, thinking I'll refactor for an android app. image
↑