News for hackers. Stuff that matters.
Re:Ask HN: What is your favorite method of sending large files? by spurgu on Wednesday September 02, 2020 @07:12PM (#24359275)
I don't see an option to send text (browsed through README and Issues), is this not possible with croc? With Magic Wormhole it's the default to get a message prompt when running "wormhole send". Or you can do it as a oneliner with "wormhole send --text 'something'". Wormhole William can do this as well IIRC.

I use MWH often for sending stuff like URL's, passwords, API keys... having to create a file for that is quite annoying (and remembering to delete it afterwards).

"brew install magic-wormhole" or "sudo apt-get install magic-wormhole" is easy enough and I don't hang around with people who use Windows. ;)

Resumable file transfers sound like a great feature though. Not sure it's implementable with MWH the way it now works.

Re:Ask HN: What is your favorite method of sending large files? by qrv3w on Wednesday September 02, 2020 @08:41PM (#24359790)
Just added it now. Send with croc send --text "hello, world" [1]

[1]: https://github.com/schollz/croc/releases/tag/v8.2.0

Re:Ask HN: What is your favorite method of sending large files? by spurgu on Friday September 04, 2020 @06:07PM (#24379369)
Nice! I just tried it out now. I also like the fact that "croc" defaults to receive, where with MWH you need to type "wormhole receive". Saves a lot of keystrokes.

Tab completion is something I'll miss from MWH (I'm already converted!) but I can live with it, and my non-technical friends aren't even aware of the concept.

Re:Ask HN: What is your favorite method of sending large files? by spurgu on Thursday September 03, 2020 @07:00AM (#24362767)
Haha wow, thanks! I'll give it a spin today!
Re:Ask HN: What is your favorite method of sending large files? by a1371 on Wednesday September 02, 2020 @09:28PM (#24360045)
Haha, quick turnaround.
Re:Ask HN: What is your favorite method of sending large files? by qrv3w on Wednesday September 02, 2020 @07:51PM (#24359525)
Not possible right now. This is a good idea, I can add it in :)