Show HN: I built a website to share files and messages without any server
132 points| dkraj | 1 year ago |neighbor-share.vercel.app
These are some features: - Share photos, documents, videos, and more with ease, no matter the size. - Connect instantly with anyone for speedy and reliable file transfers, bypassing the need for centralized servers. - Get started in minutes with our intuitive interface designed for seamless communication. No registration. - Easily connect with others using QR codes, simplifying the sharing process further.
The inspiration behind NeighborHoodShare stemmed from a common dilemma: the reluctance to share personal contact details like phone numbers or email addresses when sharing photos or messages with strangers. With NeighborHoodShare, you can share content securely without compromising your privacy.
I would be happy to hear your feedback and suggestions for improving NeighborHoodShare.
I had written a blog on how p2p networking in browsers work: https://dikshantraj2001.medium.com/nat-stun-turn-and-ice-466...
scrose|1 year ago
All I can say is: There are a lot of red flags here.
dkraj|1 year ago
d-z-m|1 year ago
Also I'm curious like others, does this only work if no nat traversal is required? or are you leveraging public stun/turn infrastructure?
dkraj|1 year ago
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
meiraleal|1 year ago
ramchip|1 year ago
> 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?
jfoster|1 year ago
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 application.
Web apps also run in a sandbox that users tend to have fairly good knowledge about. For example, they generally cannot access any file on your device unless you grant permission. What are the limits of the iOS, OSX, Android or Windows application sandboxes? Can apps on those platforms access files without explicit permission? I think the vast majority of users wouldn't be able to tell you.
dkraj|1 year ago
It can not do anything without your permissions. All websites are well scoped and run in their private environment in a web browser.
unknown|1 year ago
[deleted]
James_K|1 year ago
NayamAmarshe|1 year ago
cynicalsecurity|1 year ago
dkraj|1 year ago
nrvn|1 year ago
Why would I use this one instead of them?
deely3|1 year ago
dkraj|1 year ago
https://github.com/dikshantrajput/neighborHoodShare
siamese_puff|1 year ago
dkraj|1 year ago
aster0id|1 year ago
matheusmoreira|1 year ago
> the mailbox server, and the transit relay.
The dream of the P2P internet died with NAT.
johnea|1 year ago
Language sure is weird...
dkraj|1 year ago
unknown|1 year ago
[deleted]
fenesiistvan|1 year ago
unknown|1 year ago
[deleted]
gradientsrneat|1 year ago
NayamAmarshe|1 year ago
Similar open source solutions exist like:
- https://pairdrop.net/
- https://wormhole.app/
- https://www.snapdrop.net/
How does this compare?
Retr0id|1 year ago
https://webwormhole.io/
https://github.com/saljam/webwormhole
XeO3|1 year ago
INTPenis|1 year ago
huhtenberg|1 year ago
dkraj|1 year ago
leeoniya|1 year ago
unknown|1 year ago
[deleted]
Vinnl|1 year ago
vmfunction|1 year ago
dkraj|1 year ago
unknown|1 year ago
[deleted]
anonu|1 year ago
dkraj|1 year ago