I've released the project on GitHub but by doing so I am not implying it's good or worthy of others use. Maybe it will inspire smarter people to make something better.
But it works perfectly for me and my situation.
Reply on news.ycombinator.com