GM Project Files are plain text. Others don't need to have GMS2 installed, so just push your code to your repository on GitHub and you'll have it open source. Others can easily view your code from there.