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.
Login to reply
Replies (67)
This is so needed!


xkcd
File Transfer
Live tweeted the build π
View quoted note β
Couple hundred meg video file π


Absolutely awesome man!!
Nice one!
π
Classic lookmark
That moment when you're about to finish your book and you realise you're going to have to go through that fucking process again to get the next few books onto your @daylightco so you vibe code a new Nostr SyncThing
#TheFuture
View quoted note β
Beast mode ππ§‘
Vibe coding is not enough these days.
You need to live stream the code and the moment it actually works.
Nice.
@Guy Swann
merge conflicts, automerge, cloud blossom server.
Wonderful stuffβ¦ πππ
View quoted note β
Very good Peteβ¦ a greatly desired app π looking forward to seeing this evolve
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 β
πππ
The surprise in your face and voice once you realized that it worked, lmao love it ππ
Thatβs how you know it was a real live demo π€ͺ
One thing at a time
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 β
I don't fully understand what's going on here, but it seems amazing. The pure joyous reaction to seeing it work! lol
How secure is this for personal files? Or are these transfers easy to spy on publicly?
Not sure what Pete is using nostr for here, but tailscale is pretty tight AFAIK
Not sure what Pete is using nostr for here, but tailscale is pretty tight AFAIK
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
omg did you just say "syncthing but nostr"?
Very secure no files are public, announcements are encrypted
Here's what it's emulating:
Syncthing
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.
Fuck yeah
Nice. What NIP is this? Where are the files stored? Your own Blossom server?
Ah yes, of course!


FWIW
View quoted note β
Have you talked to @Max about Garland yet?
No should I? What is it?
Dropbox like file syncing protocol over nostr and blossom. Same direction as what youβve started. Itβs still just a protocol spec though because, wellβ¦ all the other things we are building. π

GitHub
GitHub - andotherstuff/garland-protocol
Contribute to andotherstuff/garland-protocol development by creating an account on GitHub.
The files themselves are not encrypted in transit though? We are relying on privacy through obscurity?
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
What is happening here? Can someone explain like Iβm 5?
The first use case is for us all to sync our meme folders.
Am I right, @Gigi ?
This is incredibly cool
Nice oneπ€π»
Cheers
Cheers!
I think i could get a feature to "Share this folder to this npub for 24 hours" which would be a nice 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.
Yea the UI really is pretty bad
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.


Some work still to do with testing.
Big Ups Jah Bless!
Exactly
First holesail transfer.... running nicely hoe network to mobile wifi, with tailscale disabled π


π
View quoted note β
View quoted note βWhat could possibly go wrong π
Non techy here, this is great, i like what syncthing does but its UX is shite.
Will it be available mobile to desktop at any point (app or protocol)?
Thatβs the plan. This is why I moved to Tauri so I could package up for mobile
Brilliant, will keep an eye out for it. Tauri reads very well - i like faster, lighter, secure.
