Skip to content

NaufalF22/genshin-automation

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Genshin Automation

A great tool for traveler in Genshin Impact world!

This tool have:

  • Automate get EXP for check in to the Hoyolab community and claim reward on Hoyolab site.

  • Print your current info of the last 5 star gacha wish and current pity count.

  • Export your gacha wish history from Genshin Impact account into Excel file and send it to Dropbox.

Genshin Impact Daily Check-In rewards image

How to use this tool?

Fork this repository and you can go to the next step.

Hoyolab Automation Setup

  1. Please use Chrome browser so we are in same page. 🙏

  2. Go to https://www.hoyolab.com/genshin/ then login

  3. Right click on the page and clik Inspect element then go to Console tab. Then type document.cookie in Console field then press enter. It will show the value with format: mi18nLang=en-us; _ga=GAX.X.XXXXXXXXXX.XXXXXXXXXX; _MHYUUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX; account_id=XXXXXXXX; cookie_token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX; ltoken=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX; ltuid=XXXXXXXX; _gid=GAX.X.XXXXXXXXXX.XXXXXXXXXX. Copy that!

Here's illustrated image for step 3.

Hoyolab step 1

  1. Go to Secret menu in your fork repository and make secret name HOYOLAB_COOKIE and paste the value you get from step 3.

Here are illustrated image for step 4.

Wishxporter step 4

Wishxporter step 5

  1. Go to Actions menu in Workflows section click Hoyolab Automation. Click Run workflow, use Branch: main and click Run workflow.

Hoyolab step 2

Wishxporter Lite Setup

  1. Get authkey url and set the url to Secrets menu in your fork repository with name AUTHKEY_URL. How to get it? Please see: Get Authkey - Wishxporter for more info.

Here are illustrated image for step 1

Wishxporter step 1.a

Wishxporter step 1.b

  1. Go to Actions menu in Workflows section click Run Wishxporter Lite Mode. Click Run workflow, use Branch: main and click Run workflow.

Here's illustrated image for step 2.

Wishxporter step 2

  1. Here's the result ater run step 2.

Wishxporter step 3

Note: This workflow is manual trigger. So, you must repeat those steps above.

Wishxporter Setup

  1. Create application in Dropbox App Console.

  2. Click Scoped access.

  3. Choose App folder so the service will access to single folder created specially for your app.

  4. Give the name for your app e.g Wishxporter

  5. Click Create App

Here's illustrated image from step 2 to 5.

Wishxporter step 1

  1. Set permissions files.content.write in Permissions tab then click Submit.

Here's illustrated image for step 6.

Wishxporter step 2

  1. Get access token by click Generate with no expiration option in Settings tab. Copy the access token and we will use for the next step.

Here's illustrated image for step 7.

Wishxporter step 3

  1. Create secrets with name with name DROPBOX_TOKEN in Secrets menu in your fork GitHub repository and store the access token value there then click Add secret.

Here are illustrated image for step 8.

Wishxporter step 4

Wishxporter step 5

  1. Get authkey url and set the url to Secrets menu in your fork repository with name AUTHKEY_URL. How to get it? Please see: Get Authkey - Wishxporter for more info.

Here are illustrated image for step 9 (It's same with step 8).

Wishxporter step 4

Wishxporter step 5

  1. Go to Actions menu in Workflows section click Run Wishxporter. Click Run workflow, use Branch: main and click Run workflow.

Here's illustrated image for step 10.

Wishxporter step 6

Note: This workflow is manual trigger. So, you must repeat those steps above if you want to get new history gacha data in Excel.

Closing

I hope this tool helps you and if you want to support please treat me on trakteer.id/satyakresna

About

this is gay

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%