FetchMacOS - A tool to download macOS on non-Mac platforms.
A few months ago I was playing around with the idea of looking at Apple's new distribution method for the macOS Installer (in the A/B test that delivers either a complete app bundle, or a 7MB stub that downloads the rest separately).
Since it seemed to use the existing swdist distribution server, I decided to use some older code to write a client that emulates the 7MB macOS Installer and fetches the installation data from Apple's servers. It works on Linux and Windows, and is probably the closest thing to a clean copy of macOS without involving an actual Mac or the App Store.
This thread is just to garner some opinions on the idea, and maybe adding some improvements (such as including createinstallmedia logic to make installation drives from the data) before making a wider release.
FetchMacOS 1.2a (for macOS 10.14 Mojave)
SHA1 = ba19a1d3fdf00aa65ac7797388de27089e91d101
1.2 - Support for macOS Mojave (10.14)
1.1 - Support for High Sierra (10.13)