Getting the money from the intermediary to the developer is only half the problem. First you have to get the money into the intermediary.
On youtube this is done with advertising. I can't imagine people being happy with that embedded in open source software. People got upset enough about Ubuntu and the Firefox/Pocket deal.
> A Github that pays people based on the usage of their code might not be the easiest problem to solve
A github that charges people to use code is even harder; that sounds like instant suicide.
I was happily paying 7 USD/month up until last week for the private repos, and they apparently had 300M USD/year revenue when Microsoft bought them a few months ago. I am not aware of their costs, but since they are part of Microsoft now and trying to foster adoption, integrating money into the system should be considerable.
On youtube this is done with advertising. I can't imagine people being happy with that embedded in open source software. People got upset enough about Ubuntu and the Firefox/Pocket deal.
> A Github that pays people based on the usage of their code might not be the easiest problem to solve
A github that charges people to use code is even harder; that sounds like instant suicide.