I think creating websites like devmag.io takes lot of efforts and time. There are also factors like proper User experience and theming. I don't think anyone would open source such platforms unless backed by any bigger companies.
Overall, this is a good idea. If many developers can come together, then we can definitely have an open source version.