If your motivation for doing open source is money, you're doing it wrong. You'll be much better off just getting a job (and GitHub stars can help with that!).
We all know "build it and they will come" and "follow your passion and the money will follow" don't really work in the real world. You have to make something people want and convince those people it's in their best interest to pay you.
Open source can be a part of a larger strategy to earn a living (consulting, customizations/open core, relicensing, books/talks/seminars, etc), but yeah, GitHub stars aren't money.
[0] https://blog.senko.net/open-source-is-not-a-business-model