Wow, I had no idea this could be done!

Since we are on the topic of code generation, I had a question. I built this joke script called Rockstar [0] which generates fake git commits resulting in fully green GitHub commit graph. In each commit it adds gibberish, in the last commit adds a valid code. I wanted to know if there’s an easy way to generate realistic looking code which I can use in each commit? I can’t expect users of the script to use OpenAI or any such API service. Something which can be used to generate code locally would be sweet!

[0] - https://github.com/avinassh/rockstar

This feels, not ethical.

Decorating the commit history calendar has been around since forever: https://github.com/gelstudios/gitfiti

Fake code generators have been around since forever: https://hackertyper.net/

Combining them seems like the logical next step.