Good. I tried it, and it works.<p>I've been in this space now for some years, running a similar product (<a href="http://www.feem.io" rel="nofollow">http://www.feem.io</a>).<p>Just one observation.<p>The windows version of your code uses the HostedNetwork API to create an ad-hoc wireless network. Microsoft deprecated the Hosted Network API in Windows 10, in favor of the new Wi-Fi Direct APIs. This means that Wi-Fi vendors don't need to support the old HostedNetwork API, and Dell, Intel and Realtek have all already ripped out support. Your code won't work on many modern Wi-Fi cards for Windows. To fix this, you'll need to support the new Windows Wi-Fi Direct APIs in future versions of your open source project.<p>Hope this helps.
This is terrific. There have been several situations that I can think of where being able to just transfer files across computers without the help of a network would've made my life a lot easier.<p>The encryption is a nice side-benefit, but the real value is in the zero-config transmission of files. Something like this ought to be built into every modern OS, especially considering that most computers have wifi cards these days.
I'm not familiar with Go, but was looking through the source code and saw this:<p><pre><code> encrypted = secretbox.Seal(nonce[:], chunk, &nonce, &key)
</code></pre>
Is secretbox [1] a standard Go library?<p>[1] <a href="https://godoc.org/golang.org/x/crypto/nacl/secretbox" rel="nofollow">https://godoc.org/golang.org/x/crypto/nacl/secretbox</a>