VirtualCoach is a project mainly written in JAVASCRIPT and PHP, it's free.
Personalized Training Recommendations
This is the README.