I can't speak for why others didn't share their code, but I can explain why I didn't share mine.
It's very simple, I didn't share it because it was overcomplicated and I honestly believed there is a better way to do it. As of yet, I haven't reworked the code, so I haven't released anything.