I’d be happy to keep contributing to this .. I’m using it in its current form (along with the changes I’ve posted above) but there are still a couple of wonky things about it that I’d love to get cleaned up
I’m not aware of a codebase for this on Github