It occurs to me that you ought to treat network things identically to local modules in every way... dmd app.d ../library.d just works. I propose: dmd app.d http://whatever.com/library.d should just work too - dmd would need only to recognize module name starts with xxxx:// and pass it to the dget program to translate.