We recently thought about on how to do this as well and created our own Open Source page [1]. Not sure if we have done it right, but I quite like it. Happy to receive some feedback on it. It's nothing huge, nevertheless we're quite proud of what we've achieved.
[1]: https://mobilejazz.com/products/opensource