Skip to content

πŸŸ₯🟨🟦πŸŸͺ Update a pinned gist to contain your Tetr.io stats

Notifications You must be signed in to change notification settings

Jookie262/tetr-io-tetra-league-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŸ₯ Tetr.io Tetra League Stats 🟧

Action Status

πŸ“Œβœ¨ For more pinned-gist projects like this one, check out: https://github.com/matchai/awesome-pinned-gists

πŸŽ’ Prep Work

  1. Create a new public GitHub Gist (https://gist.github.com/)
  2. Create a token with the gist scope and copy it. (https://github.com/settings/tokens/new)
  3. Copy the API token

πŸ–₯ Project Setup

  1. Fork this repo
  2. Go to your fork's Settings > Secrets > Actions > New repository secret

🀫 Environment Secrets

  • GH_TOKEN: The GitHub token generated above.

  • GIST_ID: The ID portion from your gist url:

    https://gist.github.com/Jookie262/5ab38d3a50636dd6e90b8fbabe6f5c36.

    (Alternatively this can be put directly in .github/workflows/tetrio.yml as it is public anyway.)

  • TETR_IO_USERNAME: Your tetr.io username. (This can also be put directly in the yml).

    • The username you need to put in TETR_IO_USERNAME is always in LOWERCASE.

πŸͺ— Additional Things

Take Note: Upon forking this project, the github actions will not automatically run. You need to manually go to actions tab and run it.

✨ Credits

This code was heavily inspired (mostly taken from) @sciencepal's chess-com-box-py

About

πŸŸ₯🟨🟦πŸŸͺ Update a pinned gist to contain your Tetr.io stats

Topics

Resources

Stars

Watchers

Forks

Languages