The people I've worked with on FOSS projects don't do it to be famous or capture market share. They do it because it scratches an itch they had; it's something they needed and decided to give back.
Large projects by huge megacorps have incorporated the OSS code I worked on into their own projects. Did it bother me? Sure, a little. Mostly because people just assume that the ideas and work came from the benevolence of a big tech company rather than someone who just enjoys seeing others problems solved.
You do you. If it makes you feel good to write something: go for it. If it gets popular? Cool. If it doesn't? That's okay too, you still have something that works well for you.
Otherwise, you're doing what I ended up doing. There was a long span that, I just... never played games because I was too busy. I regret that a bit because it's a thing that makes me happy and even if I'm "Dad", I'm still a person that deserves some time for "me".