Earlier quoted context omitted.
I've been hosting my own pairdrop for a year now, very easy and quick to share a file between my smartphone and laptop without digging out a usb cable.
I use KDE Connect for that. Have you given it a try?
Show HN: I built a website to share files and messages without any server
21–30 of 112 posts
Re: Show HN: I built a website to share files and messages without any server
#22Earlier quoted context omitted.
I use KDE Connect for that. Have you given it a try?
No, I did try the Gnome equivalent a long time ago but these days I use a more minimal setup. So I'd prefer a CLI tool.
For CLI stuff, I usually just run the python http server or woof and make a QR code with the URL.
Re: Show HN: I built a website to share files and messages without any server
#23Earlier quoted context omitted.
look at https://peerjs.com that this the project is using.
Hmm thanks, so that says: > To broker connections, PeerJS connects to a PeerServer. Note that no peer-to-peer data goes through the server; The server acts only as a connection broker. > If you don't want to run your own PeerServer, we offer a free cloud-hosted version of PeerServer. So I suppose there's still a server, but it's shared and run by two folks based on donations: https://peerjs.com/peerserver
Re: Show HN: I built a website to share files and messages without any server
#24Looks good but any plans to make it open source? Similar open source solutions exist like: - https://pairdrop.net/ - https://wormhole.app/ - https://www.snapdrop.net/ How does this compare?
Re: Show HN: I built a website to share files and messages without any server
#25> without involvement of any server > bypassing the need for centralized servers I don't follow this part... it's using a centralized server to serve the web app, which could easily serve JS code that steals confidential data right?
Re: Show HN: I built a website to share files and messages without any server
#26> without involvement of any server > bypassing the need for centralized servers I don't follow this part... it's using a centralized server to serve the web app, which could easily serve JS code that steals confidential data right?
That is true, but unless you develop an application yourself, it is always coming from somewhere else. Web apps are better than native apps from a security perspective. Browsers have fairly decent built-in debugging tools that you could use to verify that data isn't being uploaded to a 3rd party. On the other hand, to do the same with a native application you would need to use a separate network protocol analyzer app…
A native p2p application needs to be downloaded or built once, from any place (say a git mirror) and bootstrap to its overlay network and then you're in.
Re: Show HN: I built a website to share files and messages without any server
#27Earlier quoted context omitted.
No, I did try the Gnome equivalent a long time ago but these days I use a more minimal setup. So I'd prefer a CLI tool.
What is the Gnome equivalent? If you mean GSconnect, that's an implementation of kde connect. I think kde connect has some CLI tools, but they're not super ergonomic. For CLI stuff, I usually just run the python http server or woof and make a QR code with the URL.
Re: Show HN: I built a website to share files and messages without any server
#28Looks good but any plans to make it open source? Similar open source solutions exist like: - https://pairdrop.net/ - https://wormhole.app/ - https://www.snapdrop.net/ How does this compare?
Re: Show HN: I built a website to share files and messages without any server
#29I looked around and couldn't find a description of the protocol by which two peers authenticate to each other/transfer files. Also, is the E2EE encryption referred to simply whatever is being used to encrypt the transport(DTLS/SRTP/etc)? or are you doing additional encryption/decryption of files? Also I'm curious like others, does this only work if no nat traversal is required? or are you leveraging public stun/turn…
Yes only the network layer encryption. No file encryption as it will cost client browsers a lot in case of encrypting and then decrypting that at other end.
I have written more about it here: https://dikshantraj2001.medium.com/nat-stun-turn-and-ice-466...
Currently, I am using the public STUN servers only. If the IPs are not reachable, it would show an error and won't work as setting up TURN server would mean same as a third party server saving in file and serving it over network
Re: Show HN: I built a website to share files and messages without any server
#30A bit off-topic, but since I was looking at doing a side project with a P2P feature, would appreciate if I could pick your brain for a bit: don't you still need to run the STUN and TURN servers? Can you run those using Vercel's serverless functions?