See code on Github
Gitlab Activity Calendar