News for hackers. Stuff that matters.
Re:Show HN: I built a website to share files and messages wi... by NayamAmarshe on Sunday May 05, 2024 @06:05AM (#40263591)
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?

Re:Show HN: I built a website to share files and messages wi... by Retr0id on Sunday May 05, 2024 @07:36AM (#40264074)
The "wormhole" you linked is closed-source, perhaps you meant this one, which is open-source (and iirc came first, but presumably has a smaller SEO budget)

https://webwormhole.io/

https://github.com/saljam/webwormhole

Re:Show HN: I built a website to share files and messages wi... by XeO3 on Sunday May 05, 2024 @08:11AM (#40264256)
https://www.sharedrop.io/ as well. It's open sourced, too.
Re:Show HN: I built a website to share files and messages wi... by sneak on Sunday May 05, 2024 @09:45AM (#40264861)
This doesn’t seem to work on iOS Safari.
Re:Show HN: I built a website to share files and messages wi... by INTPenis on Sunday May 05, 2024 @06:31AM (#40263725)
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.
Re:Show HN: I built a website to share files and messages wi... by accrual on Sunday May 05, 2024 @07:55AM (#40264170)
I've got another one on 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.

Re:Show HN: I built a website to share files and messages wi... by graemep on Sunday May 05, 2024 @09:10AM (#40264635)
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 wi... by accrual on Sunday May 05, 2024 @10:47AM (#40265290)
Oh for sure, Syncthing absolutely works peer to peer. But I find it useful to have a central always-online hub for clients to sync to.

For example, imagine you save a file on your laptop then put it to sleep. You turn on your desktop and the file isn't there because the laptop is now asleep. Having a central 24/7 Syncthing server allows the share to always be available.

Re:Show HN: I built a website to share files and messages wi... by pbhjpbhj on Sunday May 05, 2024 @09:17AM (#40264676)
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 wi... by I_o_IllI__o_I on Sunday May 05, 2024 @07:52AM (#40264152)
I use Telegram for that. Also good for taking notes or reminders for yourself without having to use a separate app.
Re:Show HN: I built a website to share files and messages wi... by sneak on Sunday May 05, 2024 @09:46AM (#40264864)
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 wi... by NayamAmarshe on Sunday May 05, 2024 @10:04AM (#40264988)
Telegram has cloud encryption via MTProto 2.0. The servers use a distributed key generation mechanism.
Re:Show HN: I built a website to share files and messages wi... by ffpip on Sunday May 05, 2024 @02:10PM (#40266896)
Cloud encryption is just HTTPs + encryption at rest (only claimed, not verified).

They hold the keys, irrespective of how many proprietary protocols they wrap over the message.

A great product tho! I used saved messages extensively!

Re:Show HN: I built a website to share files and messages wi... by NayamAmarshe on Monday May 06, 2024 @03:30AM (#40272119)
> Cloud encryption is just HTTPs + encryption at rest

Not just plain-old HTTPs. MTProto 2.0 is a whole encryption algorithm for Cloud chats: https://core.telegram.org/mtproto/AJiEAwIYFoAsBGJBjZwYoQIwFM...

Re:Show HN: I built a website to share files and messages wi... by ffpip on Monday May 13, 2024 @06:44AM (#40341680)
In the end, they hold the keys irrespective of how many algorithms they wrap on top.

I do not feel it is any different from Google Chat, Twitter DMs, etc. They do have a lot of censorship resistant and anti-MITM attack features in between, but they hold the keys by default

I use it for convenience and amazing features, not for security!

Re:Show HN: I built a website to share files and messages wi... by NayamAmarshe on Sunday May 05, 2024 @10:05AM (#40264993)
Same here! I use Telegram Saved Messages a lot! It's fast and very convenient.

Telegram doesn't support markdown though, that's why I decided to build writedown.app

Re:Show HN: I built a website to share files and messages wi... by Renaud on Sunday May 05, 2024 @10:12AM (#40265040)
Are messages to self even safe on Telegram?

Secret chats don’t work between the desktop client and the app, so I would suspect that, like the rest of the messages, everything is saved on telegram’s servers in the clear.

Or am I missing something?

Re:Show HN: I built a website to share files and messages wi... by NayamAmarshe on Sunday May 05, 2024 @01:07PM (#40266384)
Telegram has cloud encryption via MTProto 2.0. The servers use a distributed key generation mechanism.
Re:Show HN: I built a website to share files and messages wi... by Ylpertnodi on Sunday May 05, 2024 @10:41AM (#40265239)
Signal, too. I have 3 profiles set up that are basically 'notes to self'.
Re:Show HN: I built a website to share files and messages wi... by p4bl0 on Sunday May 05, 2024 @06:42AM (#40263784)
I use KDE Connect for that. Have you given it a try?
Re:Show HN: I built a website to share files and messages wi... by TonyStr on Sunday May 05, 2024 @07:59AM (#40264186)
Thank you for introducing me to this! Life transferring files and holding presentations will be a lot easier from now on
Re:Show HN: I built a website to share files and messages wi... by INTPenis on Sunday May 05, 2024 @06:56AM (#40263853)
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.
Re:Show HN: I built a website to share files and messages wi... by jimbobthrowawy on Sunday May 05, 2024 @08:10AM (#40264244)
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 wi... by INTPenis on Sunday May 05, 2024 @08:21AM (#40264300)
What about sharing from your phone to your laptop?
Re:Show HN: I built a website to share files and messages wi... by p4bl0 on Sunday May 05, 2024 @09:23AM (#40264714)
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 wi... by INTPenis on Sunday May 05, 2024 @11:18AM (#40265503)
Yeah I know but we were talking about CLI alternatives and the person said they used a quick python http webserver, but that doesn't work the other way.
Re:Show HN: I built a website to share files and messages wi... by e12e on Sunday May 05, 2024 @08:36AM (#40264395)
kde connect runs on laptops and phones?

https://kdeconnect.kde.org/download.html

Re:Show HN: I built a website to share files and messages wi... by jimbobthrowawy on Sunday May 05, 2024 @04:01PM (#40267721)
Personally, I use pairdrop for that. Though, if I'm limited to CLI, woof has an upload option (-U) allowing me to select a file from the phone. Don't know of an easy way to do that from the builtin http.server.
Re:Show HN: I built a website to share files and messages wi... by Toorkit on Sunday May 05, 2024 @09:13AM (#40264648)
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 wi... by ranger_danger on Sunday May 05, 2024 @11:01PM (#40270750)
I really want to like kdeconnect because when it does work, it works well, but in my experience it just has way too many bugs and seems to randomly stop working for unknown reasons.
Re:Show HN: I built a website to share files and messages wi... by lozf on Sunday May 05, 2024 @11:26AM (#40265560)
I like the wormhole-william[0] Go implementation of "Magic Wormhole" protocol on the CLI. There's a couple of compatible Android apps[1][2] in the F-Droid store and Rydmport[3] for your GUI loving friends.

[0](https://github.com/psanford/wormhole-william)

[1](https://f-droid.org/en/packages/com.pavelsof.wormhole/)

[2](https://f-droid.org/en/packages/com.leastauthority.destiny/)

[3](https://github.com/Jacalz/rymdport)

Re:Show HN: I built a website to share files and messages wi... by huhtenberg on Sunday May 05, 2024 @06:37AM (#40263760)
Non-open source - https://file.pizza/
Re:Show HN: I built a website to share files and messages wi... by ranger_danger on Sunday May 05, 2024 @11:01PM (#40270753)
Re:Show HN: I built a website to share files and messages wi... by huhtenberg on Monday May 06, 2024 @10:01AM (#40274795)
Oh, my bad!
Re:Show HN: I built a website to share files and messages wi... by dkraj on Sunday May 05, 2024 @08:24AM (#40264323)
Yes will make it open source in future. Just need to clean the code a little bit and make few more changes.
Re:Show HN: I built a website to share files and messages wi... by eps on Sunday May 05, 2024 @09:04AM (#40264599)
What about the second question?
Re:Show HN: I built a website to share files and messages wi... by dkraj on Sunday May 05, 2024 @09:41AM (#40264830)
Sorry I missed it. but can you elaborate on compare please
Re:Show HN: I built a website to share files and messages wi... by Retr0id on Sunday May 05, 2024 @11:06AM (#40265425)
What makes it different? (I'd personally like to know the details of how the cryptography works)
Re:Show HN: I built a website to share files and messages wi... by dkraj on Monday May 06, 2024 @10:43PM (#40281805)
In terms of differentiation, I have not explored much solutions available out there so can not comment much on that. About the encryption part, WebRTC communications over browsers are encrypted using Datagram Transport Layer Security (DTLS). All WebRTC sessions are encrypted.

You can found more in depth details in this article: https://telnyx.com/resources/webrtc-encryption-and-security

And sorry for not replying I was not on the platform lately

Re:Show HN: I built a website to share files and messages wi... by NayamAmarshe on Tuesday May 07, 2024 @04:30AM (#40283488)
I don't think DTLS alone would be considered end-to-end encryption. For E2E the application layer has to be responsible for encryption and decryption.

Are you employing E2E on the client side? Encryption during transit shouldn't be claimed as E2E. Please correct me if I'm wrong.

Re:Show HN: I built a website to share files and messages wi... by leeoniya on Sunday May 05, 2024 @11:28AM (#40265577)