felpsmanzoni/generate-snake-game-from-github-contribution-grid

Generates a snake game from a github user contributions grid. Output the animation as gif or svg

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github_user_nameGitHub user name to read the contribution graph from. Can include a custom host for GitHub Enterprise: "github.mycompany.com/username". At least one of github_user_name, gitlab_user_name, or forgejo_user_name is required. no
github_tokengithub token used to fetch the contribution calendar. Default to the action token if empty.no${{ github.token }}
gitlab_user_nameGitLab user name to read the contribution graph from. Can include a custom host for self-hosted instances: "gitlab.mycompany.com/username". Contributions are combined with any other configured source. no
forgejo_user_nameForgejo/Codeberg user name to read the contribution graph from. Must include the host: "codeberg.org/username" or "forgejo.mycompany.com/username". Contributions are combined with any other configured source. no
outputslist of files to generate. one file per line. Each output can be customized with options as query string. supported query string options: - palette: A preset of color, one of [github, github-dark, github-light] - color_snake: Color of the snake - color_dots: Coma separated list of dots color. The first one is 0 contribution, then it goes from the low contribution to the highest. Exactly 5 colors are expected. example: outputs: | dark.svg?palette=github-dark&color_snake=blue light.svg?color_snake=#7845ab ocean.gif?color_snake=orange&color_dots=#bfd6f6,#8dbdff,#64a1f4,#4b91f1,#3c7dd9 no

no outputs