This project is an version of Platane/snk project!
You can generate an svg or gif file that is an snake eating your contributions on Github, and you can put it in your profile.
- The generated background image is semitransparent (Nice for dark or light themes).
- You can chose the snake color!
- 
put the snake README file.  
- 
Create a file .github/workflows/snake.ymlfor github actions generate the snake.
- 
Copy the content below into the .yml file. 
 If you want, Change thesnake_color.
name: Generate snake game
on:
  schedule: # execute every 12 hours
    - cron: "* */12 * * *"
  workflow_dispatch:
jobs:
  build:
    name: Jobs to update datas
    runs-on: ubuntu-latest
    steps:
      # Snake Animation
      - uses: Sutil/snk@master
        id: snake-gif
        with:
          github_user_name: ${{ github.repository_owner }}
          svg_out_path: dist/github-contribution-grid-snake2.svg
          snake_color: 'blue'
      - uses: crazy-max/[email protected]
        with:
          target_branch: output
          build_dir: dist
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  Every 12 hours your the svg or gif will be updated!
Este projeto é uma versão do projeto Platane/snk!
Você pode gerar um svg ou gif que é uma cobrinha comendo suas contribuições no Github e colocar no seu perfil!
- O README está escrito em português! o/
- O background da imagem gerada é semi-transparente.
- Você pode escolher a cor da cobrinha!
- 
Crie um repositório com o mesmo nome do seu perfil no github. No meu caso, eu criei um repo com o nome Sutil (https://github.com/Sutil). Neste exemplo o repo ficará com o endereço https://github.com/Sutil/Sutil. 
- 
Dentro deste projeto crie um arquivo README.md O Conteúdo deste arquivo será mostrado no seu Perfil do github. Veja o exemplo do meu perfil. 
- 
Coloque a cobrinha neste arquivo de README. a) Para fazer isso, coloque a url da imagem que será gerada.  b) crie um github actions dentro do seu repo. Para isso crie um arquivo .github/workflows/snake.yml.coloque o conteúdo abaixo dentro do arquivo. Se desejar, troque a cor snake_color.
name: Generate snake game
on:
  schedule: # execute every 12 hours
    - cron: "* */12 * * *"
  workflow_dispatch:
jobs:
  build:
    name: Jobs to update datas
    runs-on: ubuntu-latest
    steps:
      # Snake Animation
      - uses: Sutil/snk@master
        id: snake-gif
        with:
          github_user_name: ${{ github.repository_owner }}
          svg_out_path: dist/github-contribution-grid-snake2.svg
          snake_color: 'blue'
      - uses: crazy-max/[email protected]
        with:
          target_branch: output
          build_dir: dist
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  A cada 12 horas seu perfil será atualizado!