How to write my own API serve github-calendar.js

I am using github-calendar.js. It is easy way to add my github calendar to single html file or markdown. The main problem is Bloggify ‘s API look like not work any more. So API can not get data from github api. You will see current state bellow.

enter image description here

My main idea is write my own js api, use cloudflare worker. But I am not familiar in them.

So, have any one was write api like that, please guide me how can I do it.
Thank advances.