Awesome
HoYoLab-box
<div align = center> <img src = 'https://github.com/yangchang-n/HoYoLab-box/assets/104478650/7610fb51-fa68-4822-8bb0-d8dee0845f4f' width = '400'> <h3 align = 'center'>HoYoLab-box</h3> <p align = 'center'>🎮 Update your pinned gist to show your Genshin Impact / Honkai: Star Rail gameplay stats</p> </div>Setup
Prep Work
- Create a new public GitHub Gist (https://gist.github.com/)
- Create a token with the
gist
scope and copy it (https://github.com/settings/tokens/new) - Go to HoYoLab and login to your account
- Press F12 to open developer tools
- Find and copy
ltoken_v2
andltmid_v2
in Cookies
Project Setup
- Fork this repo
- Edit the environment variable in
.github/workflows/main.yml
- GIST_ID : The ID portion from your gist url
- Go to the repo Settings > Secrets
- Add the following environment variables
- GH_TOKEN : The GitHub token generated above
- HOYO_UID : Your HoYoverse/HoYoLab UID
- HOYO_TOKEN : Your personal HoYoLab API access token (copied
ltoken_v2
) - HOYO_TMID : Another key value to access API (copied
ltmid_v2
)
References
For more pinned-gist projects like this one, check out : https://github.com/matchai/awesome-pinned-gists
Feedback and Contributions
- Always welcome in any way
License
- MIT License