Here is an open source project dedicated to the same effort:
http://www.nightscout.info/
You can also find it on github.com
A friend of a friend said the cure for diabetes was just around the corner. That was 30 years ago. I still believe it’s true.