wormhole-william-mobile icon indicating copy to clipboard operation
wormhole-william-mobile copied to clipboard

ios and desktops

Open gedw99 opened this issue 2 years ago • 9 comments

any plans to extend support of the File Picker ?

I think i saw somewhere talk of a file reader package as part of GIO x repo happening, but not sure.

Would be cool if this file transfer tool worked on other Os's

gedw99 avatar Aug 12 '21 10:08 gedw99

maybe this ? https://github.com/gioui/gio-x/blob/main/explorer/README.md

gedw99 avatar Aug 12 '21 10:08 gedw99

I would like to support iOS.

There's already a good Magic Wormhole desktop app: https://github.com/Jacalz/wormhole-gui

psanford avatar Aug 12 '21 11:08 psanford

I Gio supports web , all desktops and all mobiles.

gedw99 avatar Dec 29 '21 21:12 gedw99

I would like to support iOS.

There's already a good Magic Wormhole desktop app: https://github.com/Jacalz/wormhole-gui

Nice ! Fyne also works on mobile

i prefer the gio approach as it also supports web and I like it’s architecture more

gedw99 avatar Dec 29 '21 21:12 gedw99

The browser's security model is incompatible with Magic Wormhole's transport protocols as they exist today, so even if we had a build targeting wasm, it wouldn't actually work.

iOS is the highest priority of other platforms I want to support.

I would consider taking a patch to add desktop support via the existing platform abstraction if someone wants to do that. But again, wormhole-gui already exists and offers a better experience for desktop than what you would get from wormhole-william-mobile on desktop.

psanford avatar Dec 29 '21 21:12 psanford

Oh I read about web sockets being added to the relay. Must have misunderstood?

the Fyne one looks ok

i think I can make a gio one that works on web , desktop and mobile .

the gio system is very easy to use and web sockets work great

just make sure it’s not gorilla web sockets as that won’t compile to wasm.

gedw99 avatar Dec 29 '21 22:12 gedw99

Websockets are only used to talk to the rendezvous/mailbox server. To actually do a file transfer wormhole uses its own protocol on top of tcp.

psanford avatar Dec 29 '21 22:12 psanford

ok i see. Yep web wont work.

btw where is the server / relay code ? Is it golang ?

gedw99 avatar Dec 29 '21 23:12 gedw99

Btw dont know if your on Mac, but https://github.com/psanford/wormhole-william-mobile works fine on mac when i tested it now. I could do a transfer to the CLI of text.

just the file explorer missing, which is being worked on now in gio repo. Then file sending will be possible to support.

I tried the fyne version. Yes all the functions work, but i definitely prefer the gio looks and feel.

gedw99 avatar Dec 29 '21 23:12 gedw99