News for hackers. Stuff that matters.
Re:Magic Wormhole: Get things from one computer to another, ... by Fiahil on Monday May 24, 2021 @04:18PM (#27269216)
As always, the most difficult problem is not sending files between computers, but between smartphones, tablets and computers.

I'm still looking for a solution I could use to share pictures and PDF files from Android phones to iPads and Laptops using the "share" modal and completely self-hosted...

Re:Magic Wormhole: Get things from one computer to another, ... by psanford on Monday May 24, 2021 @05:12PM (#27269767)
I have a Magic Wormhole client for Android that I wrote for the occasional sensitive file transfer to and from my phone[0]. I was planning on adding iOS support as well, but Apple's general hostility toward open source apps discouraged me enough to not want to work on that.

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

Re:Magic Wormhole: Get things from one computer to another, ... by amelius on Monday May 24, 2021 @05:26PM (#27269923)
The best thing to work on if you hate Apple is probably an iOS emulator.
Re:Magic Wormhole: Get things from one computer to another, ... by psanford on Monday May 24, 2021 @05:39PM (#27270033)
What? I don't hate Apple.
Re:Magic Wormhole: Get things from one computer to another, ... by obloid on Monday May 24, 2021 @04:28PM (#27269320)
I've been using KDE connect recently and it's great for moving files between my phone and laptop. Another fun feature is sharing a url from the phone to the laptop and it opens the browser to the page. I don't know of any similar software but being able to do the same thing between iOS and android would be great.
Re:Magic Wormhole: Get things from one computer to another, ... by j-james on Monday May 24, 2021 @04:42PM (#27269467)
I second KDE Connect. Despite the name, it's not limited to KDE by any means - there's implementations for Windows, MacOS, and even GNOME Shell. It's very straightforward to set up and has a bunch of other features besides file transfer, like using your phone as a touchpad, sending SMS messages from the desktop, or pinging either device.
Re:Magic Wormhole: Get things from one computer to another, ... by Cipater on Tuesday May 25, 2021 @07:34AM (#27275566)
Reading the comments here I was excited to install KDE connect but it simply won't launch on Windows 10.

I see kdeconnectd.exe and kdeconnect-indicator.exe running in the task manager but nothing else. Nothing in the tray either.

I've seen similar complaints on googling but none has ever been resolved.

Does anyone else have it working on Windows?

Re:Magic Wormhole: Get things from one computer to another, ... by TheAdamAndChe on Monday May 24, 2021 @04:37PM (#27269407)
I second this. File transfers between my phone and computer are seamless and quick. I can even use it to find my phone when I use it. It is rare to find open source software that Just Works, and KDE Connect is one of these rare gems that does so.
Re:Magic Wormhole: Get things from one computer to another, ... by Fiahil on Monday May 24, 2021 @06:49PM (#27270603)
Would have been a strong contender if it had an iOS client
Re:Magic Wormhole: Get things from one computer to another, ... by f1refly on Tuesday May 25, 2021 @05:07AM (#27274592)
The developers gave a statement on this:

1. gpl and apple appstore don't go along

2. ios apps cannot run in the background in ways that kde connect needs

3. ios does not permit 99% of things that make kde connect interesting and useful

blame apple for this, not the kde connect devs.

Re:Magic Wormhole: Get things from one computer to another, ... by Fiahil on Wednesday May 26, 2021 @03:42AM (#27287560)
Apple is definitely to blame here, but I won't settle for a solution worse than dropbox or google drive regarding the shareability on iOS
Re:Magic Wormhole: Get things from one computer to another, ... by lucgommans on Monday May 24, 2021 @06:04PM (#27270228)
I made https://dro.pm for this. You get a link like dro.pm/h which is short enough to even share over the phone or tell someone at a conference to open. Not like chat apps where you have to be connected to the other person first (even if that is yourself, need to navigate to that chat) and no need to install any software. It's made to be fast on any connection (e.g. by allocating the link before you even entered any data), and due to being ephemeral it's also less prone to being used for phishing like other link shorteners are.

It auto-detects when you enter a link, otherwise treats text inputs as a pastebin, you can ctrl+v an image, and it has file uploads up to a few gigabytes. Code is on github (https://github.com/lgommans/dro.pm/) though I still have to change the license to be more permissive (I've decided that I won't pursue this as a commercial thing, just open a ticket if you want me to change the license sooner than whenever I work on this next). Viewing uploaded files instead of downloading is also possible for image/audio/video mime-types by adding /preview to any link.

You can also use it from the command line if you're on a keyboard+terminal-only machine, e.g. just `wget -L dro.pm/h.txt` to download the uploaded file (the links accept an arbitrary .extension) or for uploading from the command line there is a bash one-liner contained in the page source itself, see: `curl https://dro.pm | head`

Made a mistake and uploaded something private or want to edit the link? Just click delete on the website, or on the command line you can use the token that you get when creating a new link.

Re:Magic Wormhole: Get things from one computer to another, ... by shkkmo on Monday May 24, 2021 @06:25PM (#27270403)
That isn't self hosted and it appears that all the data you send will be exposed to dro.pm
Re:Magic Wormhole: Get things from one computer to another, ... by lucgommans on Monday May 24, 2021 @06:28PM (#27270434)
Should I package it as a .deb, or what makes something self-hosted? The code is already on github: https://github.com/lgommans/dro.pm/ (link was buried in the text - I had a hard time prioritizing what people would want to read first, since that depends on your use-case).

I guess magic wormhole is the wrong context to be making this argument in since everyone's primed for peer to peer now, but in general, yeah when using dro.pm it will put your data on dro.pm, similar to how pastebin stores your data when you use pastebin. It otherwise (and that's why I made this design decision) couldn't work after you close the tab, making it much less suitable for most of the intended use-cases. If you want peer to peer file transfer, you could have a look at https://file.pizza (not made by me)

Re:Magic Wormhole: Get things from one computer to another, ... by shkkmo on Monday May 24, 2021 @06:53PM (#27270629)
You license is non-standard and does not appear to permit self hosting.

This appears to me much more like blantant self promotion rather than attempt to participate in the discussion. Your tool has none of the requested features (self hosted file transfer using the native share dialog.)

Re:Magic Wormhole: Get things from one computer to another, ... by lucgommans on Monday May 24, 2021 @06:55PM (#27270650)
Again, I already wrote:

> though I still have to change the license to be more permissive (I've decided that I won't pursue this as a commercial thing, just open a ticket if you want me to change the license sooner than whenever I work on this next).

Guess that'll have to be now then. Getting this sort of crap is what makes me wonder why I bother putting this work out there in the first place.

> Your tool has none of the requested features

The main premise was a way to have file sharing between tablets, phones, and computers. This does that. It is open source (as of now) and has an Android share app to boot[1]. Anything else you're very welcome to make yourself, it's not a commercial plug, I'm obviously disclosing my affiliation, I host this on my personal machine at home, you're just welcome to make use of this or not if you don't like it.

[1] https://github.com/lgommans/dro.pm/tree/master/android/dropm...

Re:Magic Wormhole: Get things from one computer to another, ... by shkkmo on Monday May 24, 2021 @07:02PM (#27270698)
If it has a closed license, you haven't really "put it out there" yet have you? If you are already feeling drained by it, you probably don't actually want to run an open source project...
Re:Magic Wormhole: Get things from one computer to another, ... by lucgommans on Monday May 24, 2021 @07:20PM (#27270862)
This discussion isn't constructive. To reflect on how I interpret what you write: first the complaint is that one can't self-host it when the post already contained a github link, then that it doesn't have a share app when in fact it does (at the same link that I now posted a second time), and now that I shouldn't be running an open source project altogether. Perhaps judge whether I am suited for running this by how I treat your contributions when you make them. Otherwise, there's always that fork button!
Re:Magic Wormhole: Get things from one computer to another, ... by shkkmo on Monday May 24, 2021 @07:45PM (#27271046)
I'm glad you moved to a more permisive license, it now could be self hosted with a bit of work.

Neither your initial comment, nor the project readme discuss the Android App. You have to browse the project dirextory to find out that it exists. The Android app has the dro.pm url hardcorded as a string and generally does not appear setup to work with a self-hosted solution.

All of this is fixable, but it very much belies a project that is immature. I would personally be uncomfortable promoting this as a solution without being very clear about the limitations and work required to fit the specidies use case.

I definitely never intended to say that you shouldn't ever run an open source project. My earlier wording was not done well. My point is that if you are burning out this early in open sourcing this project, then maybe this particular project is not meaningful or valuable enough to be worth it to you.

Re:Magic Wormhole: Get things from one computer to another, ... by lucgommans on Monday May 24, 2021 @08:03PM (#27271164)
That is fair advice, thank you for this reply (sincerely). I wouldn't describe this as burning out, for what it's worth, but I do see what you mean.
Re:Magic Wormhole: Get things from one computer to another, ... by shigawire on Monday May 24, 2021 @11:46PM (#27272393)
I appreciate the work. People here have no tact. There is a more civil way to list valid constructive criticism.
Re:Magic Wormhole: Get things from one computer to another, ... by uchiga on Tuesday May 25, 2021 @06:19AM (#27275072)
exactly why I dont do open source.
Re:Magic Wormhole: Get things from one computer to another, ... by fao_ on Monday May 24, 2021 @08:53PM (#27271512)
> You license is non-standard and does not appear to permit self hosting.

You were just given carte blanche to host it, by the author in public. If that isn't a legal exception, I really, really do not know what is.

Also, if you do self-host it, who is going to find out and sue you? Software licenses are not magical. The hammer of god is only going to come down on you if the person:

a) sees you do it

b) has the power to stop you

And if they're outside of the GNU project or the Linux foundation, they very likely do not! And regardless, that only matters if:

c) you have the money to pay for the damages

Which unless you're rich (I dunno, maybe you are rich), you probably don't!

Re:Magic Wormhole: Get things from one computer to another, ... by em-bee on Tuesday May 25, 2021 @04:42AM (#27274442)
that's quite irrelevant. not everyone has the time and energy to deal with legal uncertainty or a lawsuit. even if they can't take any money from you, the stress could have a major effect on your life. so no thanks.

and if you run a business, it's automatically a no-go.

however, what really matters for FOSS is that suggesting the license does not matter only reduces the strength of FOSS licenses. you are effectually suggesting that licenses can be ignored.

note that i am not suggesting that the author of the product should change their license, or clarify it with regards to self-hosting, just that your advice to ignore the actual license is dangerous.

Re:Magic Wormhole: Get things from one computer to another, ... by fao_ on Wednesday May 26, 2021 @07:43AM (#27289206)
In this specific instance, the author gave a written exemption to literally everyone, in public -- specifically to allow them to self-host and modify it. So the license does not apply with this exemption in place, and that would be arguable in a court of law.

Now with my point in general,

> however, what really matters for FOSS is that suggesting the license does not matter only reduces the strength of FOSS licenses. you are effectually suggesting that licenses can be ignored.

Right, but if they are ignored by large companies, there's no chance in hell that we're ever going to find out about it. The fact of the matter is that big companies really do not have to give a shit, at this point, because even if someone challenges them, it's unlikely that any one person is going to have the financing to win the war of attrition that will follow.

Likewise, if you take someone's code and it's not open source, and you don't actually distribute it, but instead just host it, and you're small enough, then the license itself does not matter.

The claim that pointing out that the rules only matter as far as the rules can be enforced, actually damages the rules, is utterly absurd. The people who will want to ignore the rules and do whatever, and bank on not getting caught are already doing that.

Re:Magic Wormhole: Get things from one computer to another, ... by em-bee on Saturday May 29, 2021 @01:10PM (#27326659)
In this specific instance, the author gave a written exemption to literally everyone, in public -- specifically to allow them to self-host and modify it

that may be the case, but that makes it a custum exemption that is not vetted by lawyers. for my personal use that my be ok, but for my company it is not, no matter how small my company is, i just can't take the risk. not only the risk getting sued, which indeed may be minimal, if non-existant, but also the risk that any of my current or worse future business partners, investors or clients have less trust in an unvetted license than me.

and from a client perspective, i do not want to deal with a business that doesn't take licensing seriously.

the difference between a big company ignoring licenses and me is, that a big business can afford to deal with getting caught, but if i am wrong, i am ruined.

Re:Magic Wormhole: Get things from one computer to another, ... by Fiahil on Monday May 24, 2021 @06:42PM (#27270546)
This starts to become a little bit repetitive, so I'll keep it short: no share modal, no Android/iOS, not self-hosted
Re:Magic Wormhole: Get things from one computer to another, ... by lucgommans on Monday May 24, 2021 @06:54PM (#27270645)
It starts to become a little repetitive, so I'll cite from what I replied to the sibling comment:

> Should I package it as a .deb, or what makes something self-hosted? The code is already on github: https://github.com/lgommans/dro.pm/ (link was buried in the text - I had a hard time prioritizing what people would want to read first, since that depends on your use-case).

As for no mobile app: how much faster is it going to get than opening the browser that's already on everyone's homescreen and typing a 7-8 character link? Or if you self-host it, you can host it on your own TLD like https://me/. It being an app was also never mentioned as a requirement and I don't see how it helps, but I guess I don't need to understand. As a bonus tip, though: you can add browser bookmarks to your homescreen. Since you'll need internet to share things in the first place, it should behave roughly the same (aside from a share menu, but...).

And there is a share modal for Android, actually. See the github link.

Re:Magic Wormhole: Get things from one computer to another, ... by krageon on Tuesday May 25, 2021 @04:03AM (#27274173)
Most of this post is telling a user that what they want is wrong. Perhaps you are correct, but this absolutely doesn't work. It both most likely deters the user you respond to and most people reading your reply from using it.
Re:Magic Wormhole: Get things from one computer to another, ... by sidpatil on Monday May 24, 2021 @04:32PM (#27269360)
I use Snapdrop (https://snapdrop.net/) to transfer files between my iPhone and my Linux laptop. It offers a self-hosting option, and there are apps for Android and iOS available (though I've only used the Web interface).
Re:Magic Wormhole: Get things from one computer to another, ... by Fiahil on Monday May 24, 2021 @06:27PM (#27270421)
I used snapdrop as well, but it's not working with the share modal on phones. This means it's not what I am looking for!

The primary use case is for me to share PDF scans made with my iPad/phone with my laptop. The second use case is for sharing screenshots of my laptop with others on my favorite messenger.

Re:Magic Wormhole: Get things from one computer to another, ... by charlesdaniels on Monday May 24, 2021 @04:26PM (#27269291)
Agreed. Especially on iOS, there isn’t really a convenient way to do this. I’d love something that uses an ssh key pair to accept files from the “share” dialog and have them end up in ~/Desktop. I tried hacking something with Shortcuts, but couldn’t get it working.
Re:Magic Wormhole: Get things from one computer to another, ... by _carbyau_ on Monday May 24, 2021 @09:12PM (#27271620)
Syncthing mentions having an iOS app in beta in Nov 2020.

Although top comment here suggests a combination: https://www.reddit.com/r/Syncthing/comments/ese82l/ios_users...

Top comment snippet: "I use FE file explorer PRO (paid ) on iOS to connect connect to my VPS vis SFTP where my main syncthing pool is"

Re:Magic Wormhole: Get things from one computer to another, ... by somethingwitty1 on Monday May 24, 2021 @04:38PM (#27269412)
Maybe overkill for you use-case, but something such as NextCloud could be used: https://nextcloud.com/

I use this for cross-family backup and sharing. My main use-case is getting my photos from my phone to my desktop.

Re:Magic Wormhole: Get things from one computer to another, ... by StavrosK on Monday May 24, 2021 @05:17PM (#27269836)
NextCloud is great if you need Dropbox-like functionality. For straight-up syncing of a single directory, or multiple single directories, SyncThing is fantastic.
Re:Magic Wormhole: Get things from one computer to another, ... by Fiahil on Monday May 24, 2021 @06:28PM (#27270436)
Syncthing doesn't have an iOS app, and nextcloud is not what I'm looking for.
Re:Magic Wormhole: Get things from one computer to another, ... by rakoo on Monday May 24, 2021 @07:08PM (#27270762)
I still haven't found a better way than sending yourself a message. It can be email or it can be IM; all platforms have working email/XMPP/Matrix clients where this can work. Email is probably a bit harder to self-host but still doable; the other two are easy in comparison. For Matrix the standard client is Element, for XMPP that would probably be Conversations. For emails I highly recommend using deltachat (https://delta.chat/en/), which gives a more IM-like interface along with automagic e2e encryption. All of those are applications, so they have the share modal.
Re:Magic Wormhole: Get things from one computer to another, ... by Fiahil on Tuesday May 25, 2021 @05:58AM (#27274920)
I could send myself an email, but it's not even a good option for shared devices like ipad. I don't want to expose the full content of my email account, nor private messages on that device, therefore, sending emails is not the best solution.
Re:Magic Wormhole: Get things from one computer to another, ... by rakoo on Tuesday May 25, 2021 @06:44AM (#27275230)
I completely agree. I would say that in that case the best is to have a specific shared account, which only contains stuff you want to exchange between your devices, but that means juggling with multiple accounts from the sender's device.
Re:Magic Wormhole: Get things from one computer to another, ... by jb1991 on Tuesday May 25, 2021 @04:28AM (#27274361)
I’m content to use commercial solutions for this. Personally, I do all my transfers between different systems and devices using dropbox. I’ll probably get downvoted by even mentioning something commercial though :)
Re:Magic Wormhole: Get things from one computer to another, ... by Fiahil on Tuesday May 25, 2021 @05:51AM (#27274883)
Honestly, considering the abysmal gap in open source solutions, dropbox and google drive are "kind-of okay". The only issue is, it needs to sync up files between devices before allowing a download. The ux is not excellent, but at least it works.

I'm really looking for a "universal airdrop", but I would settle even for a pale copy of it.

Re:Magic Wormhole: Get things from one computer to another, ... by kej on Monday May 24, 2021 @07:02PM (#27270699)
I'm a happy user of Solid Explorer which has a plugin to host a local folder over FTP. It seems like there should be a more "modern" option but FTP has the advantage that pretty much everything still supports it. (It also connects to GDrive, SMB, and SSH, which covers 99% of my file sharing needs).

https://play.google.com/store/apps/details?id=pl.solidexplor...

Re:Magic Wormhole: Get things from one computer to another, ... by Fiahil on Tuesday May 25, 2021 @03:13AM (#27273819)
Like many many solutions, it doesn't have an iOS equivalent.
Re:Magic Wormhole: Get things from one computer to another, ... by shepherdjerred on Monday May 24, 2021 @06:57PM (#27270665)
I use Resilio Sync for this purpose. It uses a peer-to-peer model (you install the app on all of your devices and they sync between themselves. there's no central server.), it's free, and it works well enough. If you want it available 24/7 without relying on peers being online then you can install the application on a cheap Kimsufi VPS.

https://www.resilio.com/individuals/

Re:Magic Wormhole: Get things from one computer to another, ... by Fiahil on Monday May 24, 2021 @07:07PM (#27270748)
It's not free, and it's more a Dropbox clone. When I share using the modal, it doesn't send the file directly I have to open the app to allow them to sync.
Re:Magic Wormhole: Get things from one computer to another, ... by shepherdjerred on Wednesday May 26, 2021 @02:04PM (#27293953)
It is free, but there is also a paid option. The free software has limits.

Dropbox is centralized (with some p2p for performance gains on local networks) whereas this is entirely p2p

Re:Magic Wormhole: Get things from one computer to another, ... by jandrese on Monday May 24, 2021 @05:08PM (#27269729)
There is no technical reason sending files should be difficult, the problem is entirely political. A file transfer service that works too well immediately becomes a hotbed of porn, warez, rips, etc... Then it gets sued and/or shut down by the authorities. So all file services have to suck in specific ways to discourage abuse. The trick is to find the one that sucks in ways that aren't as much of an issue for your use case.
Re:Magic Wormhole: Get things from one computer to another, ... by PaulDavisThe1st on Monday May 24, 2021 @06:10PM (#27270289)
There's a fairly significant difference between 1:N file transfer (1 person "sends", N "recieve") and 1:1 file transfer. What you say seems like a good summary of the issues for 1:N, but not particularly relevant for 1:1
Re:Magic Wormhole: Get things from one computer to another, ... by jandrese on Monday May 24, 2021 @09:38PM (#27271775)
Being only a 1:1 transfer is itself a problem when you need to send the file to more than one person. There are plenty of cases where you need to send a file to a small group like 4 or 5 people. Worse, this sometimes means you have restrictions like downloading the file one causes it to self destruct, which means if said person clicks the link on his phone then realizes his error and clicks the link on his computer the link will already be dead and you have to re-upload the file.
Re:Magic Wormhole: Get things from one computer to another, ... by PaulDavisThe1st on Monday May 24, 2021 @09:39PM (#27271784)
That's all fine, but magic-wormhole is a 1:1 file transfer system.
Re:Magic Wormhole: Get things from one computer to another, ... by Fiahil on Monday May 24, 2021 @06:31PM (#27270455)
My fundamental requirement is for it to be self hosted. Therefore the porn and warez are absolutely not an issue.
Re:Magic Wormhole: Get things from one computer to another, ... by jandrese on Monday May 24, 2021 @09:39PM (#27271782)
If you're willing to self host then the problem is pretty much solved. Most people aren't technical enough to pull this off unfortunately.
Re:Magic Wormhole: Get things from one computer to another, ... by JohnJamesRambo on Monday May 24, 2021 @08:07PM (#27271203)
I find it perverse that the gmail attachment limit is still 25 mb in this day and age.

Everyone has UltraPhones with 4k videos they can't share with anyone.

Re:Magic Wormhole: Get things from one computer to another, ... by DocTomoe on Tuesday May 25, 2021 @06:36AM (#27275181)
Emails are sent over different servers, sometimes several, before being delivered. Each of them has to push the attachment forward. Making attachment sizes too permissive opens the door for a pretty neat DDoS vector.

Most EMail servers do not accept more than 10MB, and considering the file sizes of your typical PDF, Word Document or photo, that seems sensible.

Re:Magic Wormhole: Get things from one computer to another, ... by louis-lau on Monday May 24, 2021 @08:23PM (#27271307)
The problem with email attachments is that they're stored on the recipients inbox forever unless the message is specifically deleted. If the attachment limit is very large, you could fill up someone's inbox with a couple of messages.

No host in their right mind would accept such large messages.

Re:Magic Wormhole: Get things from one computer to another, ... by rahimnathwani on Monday May 24, 2021 @11:12PM (#27272238)
For that particular use case (from Android to other devices on the same network), either of these would work:

https://github.com/marcosdiez/shareviahttp

https://github.com/jimmod/ShareToComputer

Re:Magic Wormhole: Get things from one computer to another, ... by Fiahil on Tuesday May 25, 2021 @03:09AM (#27273802)
Both are missing an iOS app.
Re:Magic Wormhole: Get things from one computer to another, ... by rahimnathwani on Tuesday May 25, 2021 @10:07AM (#27276917)
You said you want something 'to share pictures and PDF files from Android phones to iPads and Laptops using the "share" modal'.

The two apps I linked do exactly that. You don't need an iOS app because you're sending files only from Android.

Re:Magic Wormhole: Get things from one computer to another, ... by Fiahil on Wednesday May 26, 2021 @03:38AM (#27287526)
It goes both way, I don't want a partial solution.
Re:Magic Wormhole: Get things from one computer to another, ... by velosol on Monday May 24, 2021 @04:40PM (#27269445)
I've used Total Commander's Send to Wifi [1] before and found it workable for that use case (where both are on the same WiFi network; presumably you could use a hotspot for a place without WiFi at all).

[1]: https://www.ghisler.com/androidplugins/wifi/

Re:Magic Wormhole: Get things from one computer to another, ... by cturtle on Monday May 24, 2021 @04:52PM (#27269563)
Linux Mint's "Warpinator" [0] is a newer project and has worked well for my needs. Very easy to send files to and from my android phone to Linux.

[0]: https://github.com/linuxmint/warpinator

Re:Magic Wormhole: Get things from one computer to another, ... by Fiahil on Monday May 24, 2021 @06:40PM (#27270530)
And how would I use : a) the share modal b) an iPad?
Re:Magic Wormhole: Get things from one computer to another, ... by smusamashah on Monday May 24, 2021 @04:37PM (#27269403)
On Android, you can install croc in Termux and send files to any other platform with croc installed.
Re:Magic Wormhole: Get things from one computer to another, ... by Fiahil on Monday May 24, 2021 @06:33PM (#27270474)
Yes, sure, but it's not working with the share modal. It's not what I'm looking for.
Re:Magic Wormhole: Get things from one computer to another, ... by BatteryMountain on Tuesday May 25, 2021 @04:11AM (#27274228)
Give an ftp server a try https://f-droid.org/en/packages/be.ppareit.swiftp_free/

Works great, see my other comment for explanation.

Re:Magic Wormhole: Get things from one computer to another, ... by cmurf on Monday May 24, 2021 @04:24PM (#27269272)
I recently spent 15 minutes trying to figure out how to get Android to connect via smb, couldn't figure it out. It's such a stupid PITA it's almost by design and "yeah just use the cloud".
Re:Magic Wormhole: Get things from one computer to another, ... by squarefoot on Monday May 24, 2021 @06:54PM (#27270642)
Android, just like iOS, was designed with the idea of turning the user into a customer for products and services, therefore many things that we take for granted on desktop PCs, often even free, under those mobile OSes are either non existing or proprietary, filled with adware etc. By becoming mainstream they pretty much destroyed decades of efforts in bringing free and open source and standards to the masses.
Re:Magic Wormhole: Get things from one computer to another, ... by alcover on Monday May 24, 2021 @04:36PM (#27269393)
I use yopp for this. It's just a very crude local server with a file picker.

https://github.com/josephernest/Yopp

Re:Magic Wormhole: Get things from one computer to another, ... by tptacek on Monday May 24, 2021 @05:04PM (#27269682)
There's no security, so everyone who has the URL can download your last file (well, not if you downloaded it, because then it will be automatically deleted on server). Why? Because sometimes you just want a quick solution for non-sensitive/personal data, rather than a super secure solution that would take 2 minutes (go to Gmail on phone, enter login, enter password, upload file, go to Gmail on computer, enter login, enter password, download the file...)*
Re:Magic Wormhole: Get things from one computer to another, ... by Fiahil on Monday May 24, 2021 @06:38PM (#27270513)
As many others: not working with the share modal.

> This tool requires a total number of 7 actions to get the work done

What the hell?!

Re:Magic Wormhole: Get things from one computer to another, ... by INTPenis on Monday May 24, 2021 @05:37PM (#27270022)
I host my own Firefox Send instance for this purpose.

https://gitlab.com/timvisee/send (a fork of the original code)

Re:Magic Wormhole: Get things from one computer to another, ... by Fiahil on Monday May 24, 2021 @06:45PM (#27270569)
Too bad, it's missing an iOS client :(
Re:Magic Wormhole: Get things from one computer to another, ... by INTPenis on Tuesday May 25, 2021 @07:47AM (#27275672)
Can't you just go to it in a browser? I only have Android at the moment but the whole idea behind Send was that I could easily share files from all devices since it's a web app.
Re:Magic Wormhole: Get things from one computer to another, ... by 0xCMP on Monday May 24, 2021 @08:16PM (#27271262)
Tailscale does everything peer to peer so it might fit what you wanted. They recently added a feature to share files between any computers in your network
Re:Magic Wormhole: Get things from one computer to another, ... by offtop5 on Monday May 24, 2021 @04:23PM (#27269254)
Any reason FTP doesn't work ? I imagine you could run an FTP server on a Raspberry Pi
Re:Magic Wormhole: Get things from one computer to another, ... by BatteryMountain on Tuesday May 25, 2021 @04:10AM (#27274221)
I use an ftp-server on my Android phone, works great!

https://f-droid.org/en/packages/be.ppareit.swiftp_free/

I guess you can install in on multiple devices (Android phones and tablets), then use a file explorer that supports ftp or use a dedicated ftp client, to then transfer between each other. But accessing my phone from my computers via ftp (Fedora and Windows 10) is a piece of cake and reliable - don't even need anything like filezilla.

To stop changing ip's: I recommend having a static ip range in your router instead of using dhcp (or some routers/dhcp server can allocate the same ip address to the same mac address), so all of your devices ip's stay stable (on newer phones, you have to disable the random mac address feature though).

Re:Magic Wormhole: Get things from one computer to another, ... by jandrese on Monday May 24, 2021 @05:06PM (#27269706)
Being completely plaintext makes it unacceptable for many use cases in the modern world. It's also a touch more complicated than it needs to be for the standard use case. Binary vs. ASCII transfer mode (and ASCII is the default most of the time even though it only very rarely makes sense). Plus the whole passive vs. active mode thing. Too many footguns and no security rule it out.
Re:Magic Wormhole: Get things from one computer to another, ... by lucgommans on Monday May 24, 2021 @06:25PM (#27270409)
If you're running FTP as plaintext you're indeed doing it wrong, I'm not sure that that must be what GP meant. Not as if we explicitly mention (START)TLS for every other protocol that supports it.
Re:Magic Wormhole: Get things from one computer to another, ... by SilverRed on Monday May 24, 2021 @06:53PM (#27270636)
You can't have secure FTP without a certificate and you can't have a certificate without DNS/domain names unless you want to manually add certificates around which is bad UX again.

The ideal situation would be some universal airdrop which will never happen. The next easiest solution is to use cloud storage and send a link to the other person.

Re:Magic Wormhole: Get things from one computer to another, ... by lucgommans on Monday May 24, 2021 @07:33PM (#27270960)
Yeah, that's fair. I think FileZilla shows who signed the cert, but yeah it still gives that pop-up asking the user to decide and I haven't checked whether they verify that signer against the system CA list. Either way, that's as canon as FTP clients get and since they don't have it, indeed it's mostly opportunistic encryption. (Not that relying on the CA system rather than TOFU'ing or sharing a fingerprint is without problems of its own, but that's a discussion for another thread.)
Re:Magic Wormhole: Get things from one computer to another, ... by Fiahil on Monday May 24, 2021 @06:36PM (#27270497)
Ftp could work, but the ux is very bad
Re:Magic Wormhole: Get things from one computer to another, ... by offtop5 on Monday May 24, 2021 @06:41PM (#27270532)
Then you could just implement your own client. There are already dozens of not hundreds of FTP clients for any device you could imagine, if you don't like the ux take an open source one and clean it up a bit.
Re:Magic Wormhole: Get things from one computer to another, ... by tomc1985 on Tuesday May 25, 2021 @01:56AM (#27273229)
I've been using snapdrop.net, it works a lot like that sharing feature on macs
Re:Magic Wormhole: Get things from one computer to another, ... by Fiahil on Tuesday May 25, 2021 @03:06AM (#27273785)
Like sharedrop.io, it doesn't use the system sharing modal.
Re:Magic Wormhole: Get things from one computer to another, ... by orthecreedence on Monday May 24, 2021 @05:59PM (#27270184)
I use Matrix/Element for this (via encrypted channels obviously) all the time.
Re:Magic Wormhole: Get things from one computer to another, ... by SilverRed on Monday May 24, 2021 @06:52PM (#27270621)
For small files this is probably fine but you are keeping those files stored on the matrix server forever which costs them a fair bit.
Re:Magic Wormhole: Get things from one computer to another, ... by Fiahil on Monday May 24, 2021 @06:52PM (#27270623)
I haven't tried this one, but, like the ftp solution, I think the ux would be clunky
Re:Magic Wormhole: Get things from one computer to another, ... by 12ian34 on Monday May 24, 2021 @06:55PM (#27270653)
maybe Syncthing (for Android, ideally syncthing-fork via F-Droid) will work for you. Share modal, cross platform, works with or without a centralised server.