GitHub Snakes SVG

snk is a GitHub action that allows users to generate a snake game from their GitHub contributions graph. It creates a snake path where the cells representing contributions are eaten in a specific order. The output can be either a gif or SVG image. This action can automatically generate a new image each day, which is useful for enhancing one’s GitHub profile readme. It requires the GitHub username as an input and supports various customization options such as color palette and dot colors. The action also provides a dark mode option for GitHub profiles. For those only interested in generating an SVG, there is a faster alternative available. Additionally, an interactive demo is provided on platane.github.io/snk. The implementation of the solver algorithm used in this action is available on npm.

https://github.com/Platane/snk

To top