DEV Community

Cover image for Make GitHub Contribution Chart fancier
Ahmad Ra'fat
Ahmad Ra'fat

Posted on

Make GitHub Contribution Chart fancier

Hello, fellow developers and the GoLang community!

It always bothered me when I opened my GitHub profile and saw my contribution charts empty, while I did commit every day to work on GitLab.

GitHub Contribution Chart

So, I thought why not bring my GitLab commits to Github and make my contribution chart look a bit fancy? ✨✨

As you know you master a programming language by building things with it, so I thought of building a very basic/simple tool using GoLang that does exactly that, fetch my commits from GitLab, specifically the dates of the commits, then push those to a private GitHub repo as an empty commits reserving their dates for history records.

The tool doesn't get any information from GitLab except the dates and pushes them to GitHub as empty commits with a standard commit message.

And my chart transformed like this! 🌟🌟

Improved GitHub Contribution Chart

The tool is designed in a way to support multiple different repository management tools such as BitBucket, but if you need that your contribution is more than welcome!
Currently, only GitLab & GitHub.

Find it here (Make sure to read the ReadMe file): https://github.com/AhmedRaafat14/universal-commits-migrator
Very basic/intuitive docs: https://ahmedraafat14.github.io/universal-commits-migrator/

Thanks

Top comments (0)