Github Action Hoyoverse Daily Check In
Overseas server & Mainland China server supported
Multiaccount supported
Multigame supported
Genshin Impact
Honkai Impact 3RD
Honkai: Star Rail
Tears of Themis
Auto checked in every day
Discord Webhook
You can choose to update -> HERE~
Create a fork of this project
Get the id and token of the account you want to check in daily
For those don't know how to get id and token -> Click Me!
Go to ./src/test/java/com/zvyap/hoyoapi/test/CheckInDailyTest.java
Click Edit this file button
Change what game you want (just copy paste the line of code OR delete the line
GameType's name please follow here [GENSHIN_IMPACT, HONKAI_IMPACT_3RD, HONKAI_STAR_RAIL, TEARS_OF_THEMIS]
For those only use for only account, you going to end here [If not scroll downward]
Just click Commit changes... at bottom right & click Commit changes
Put the token into github (LAST STEP)
Click Settings and click Secrets and variables -> Actions -> New repository secret
If you got extra account, repeat the step with the secret you put in the gradle.yml file
CheckInAction .builder ()
.token (HoyoToken .of (System .getenv ("USER_1_ID" ), System .getenv ("USER_1_TOKEN" )))
.game (GameType .GENSHIN_IMPACT )
.game (GameType .HONKAI_STAR_RAIL )
.build ()
Paste it below the original code block in the file, also a , at the end of the previous code
ONLY THE LAST PART OF THE CODE DOESN'T NEED ,
Edit the USER_1_ID and USER_1_TOKEN to other number [IMPORTANT]
Example: second user -> USER_2_ID and USER_2_TOKEN
Example: thrid user -> USER_3_ID and USER_3_TOKEN
Make sure it don't repeat
Click Commit changes... at bottom right & click Commit changes
Go to /.github/workflows/gradle.yml
Click Edit this file button
Add the extra user secret (Remember the secret name you put)
Go to Actions tab
If Actions is not enabled, just enable it
Select Daily Check In Task
Click Run workflow -> Run workflow
If you see a green tick beside them, it mean checkin supported
And it run every midnight 12:15