Live data from Hacker News

Show HN: I built a website to share files and messages without any server

neighbor-share.vercel.app

41–50 of 112 posts

Re: Show HN: I built a website to share files and messages without any server

#42
post #20
post #9

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've got another one on the topic of self-hosted file sharing: - FileBrowser ( https://filebrowser.org/features ) - Syncthing ( https://syncthing.net/ ) Run both as Docker containers on a server at home. Syncthing keeps the files on your PC, Mac, and BSD systems in sync, and FileBrowser can point to the sync share and supply a convenient web UI for phones, etc. It works for me, it's kind of like a local Dropbox.

Syncthing does not need a server to work over the LAN, and I think you can set it to only use peer discovery over a LAN. You can disable pubic servers, but data sent through them is encrypted anyway.

Syncthing + KDE connect does a lot.

The only issues I have had is that I cannot ensure that both are always running on android.

Re: Show HN: I built a website to share files and messages without any server

#43
post #12

Earlier 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.

KDEConnect can be used from the CLI :)

  kdeconnect-cli --share [url|path/to/file] --device [device_id]

Re: Show HN: I built a website to share files and messages without any server

#44
post #42
post #20

Earlier quoted context omitted.

I've got another one on the topic of self-hosted file sharing: - FileBrowser ( https://filebrowser.org/features ) - Syncthing ( https://syncthing.net/ ) Run both as Docker containers on a server at home. Syncthing keeps the files on your PC, Mac, and BSD systems in sync, and FileBrowser can point to the sync share and supply a convenient web UI for phones, etc. It works for me, it's kind of like a local Dropbox.

Syncthing does not need a server to work over the LAN, and I think you can set it to only use peer discovery over a LAN. You can disable pubic servers, but data sent through them is encrypted anyway. Syncthing + KDE connect does a lot. The only issues I have had is that I cannot ensure that both are always running on android.

Funnily enough, the only issue I have with kde connect is I can't get it to not run on Android; always starts in background somehow.

Re: Show HN: I built a website to share files and messages without any server

#45

Earlier quoted context omitted.

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.

What about sharing from your phone to your laptop?

KDE Connect allows you to send individual files both ways and also to browse files on your phone from your computer. It is also capable of sharing the clipboard and open link from one device to another, as well as controlling input (mouse and keyboard) from another device.

Re: Show HN: I built a website to share files and messages without any server

#46
post #40
post #28

Earlier quoted context omitted.

Yes will make it open source in future. Just need to clean the code a little bit and make few more changes.

What about the second question?

Sorry I missed it. but can you elaborate on compare please

Re: Show HN: I built a website to share files and messages without any server

#47
post #29
post #8

I 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…

WebRTC it is: https://webrtc.org/ 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…

You can use https://npmjs.com/e2ee.js (disclaimer: I am the author) for basic end to end encryption in the browser (uses the webcrypto api). It supports encrypting and decrypting a web stream as well which you could use.

Re: Show HN: I built a website to share files and messages without any server

#48
post #24

Looks 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?

https://www.sharedrop.io/ as well. It's open sourced, too.

This doesn’t seem to work on iOS Safari.

Re: Show HN: I built a website to share files and messages without any server

#49
post #9

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 Telegram for that. Also good for taking notes or reminders for yourself without having to use a separate app.

Telegram is not end to end encrypted, and thus not suitable for such uses due to insecurity.

Re: Show HN: I built a website to share files and messages without any server

#50
post #49

Earlier quoted context omitted.

I use Telegram for that. Also good for taking notes or reminders for yourself without having to use a separate app.

Telegram is not end to end encrypted, and thus not suitable for such uses due to insecurity.

Telegram has cloud encryption via MTProto 2.0. The servers use a distributed key generation mechanism.
Post reply on HN