Giter Site home page Giter Site logo

belenkiy-lab / hoyolab-auto-daily Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sglkc/hoyolab-auto-daily

0.0 0.0 0.0 30 KB

Easiest, full free, and no BS Hoyolab daily check-in using GitHub Actions. Supports Zenless Zone Zero, Honkai: Star Rail, Genshin Impact, Honkai Impact 3rd, and Tears of Themis.

License: MIT License

JavaScript 100.00%

hoyolab-auto-daily's Introduction

Hoyolab Auto Daily Check In

Today's check in status: If you see this text, chances are the automation hasn't run. Do your setup below!

Table of Contents

Getting your cookie

You have to check in manually first to get your cookie, follow these steps (click to open screenshot):

  1. Open HoYoLAB and login if you haven't (obviously)

  2. Open dev tool (Ctrl+Shift+I or right click > Inspect)
  3. Click on the Application tab. If not found, click the arrow.
  4. On the filter box, type v2. You might want to expand the dev tools to see clearly.
  5. Find ltoken_v2 and ltuid_v2, click on them, and copy the value below.
  6. Write ltuid_v2=(PASTE ltuid_v2); ltoken_v2=(PASTE ltoken_v2) like the screenshot.

    I write the line on the browser url to make it easier. Pay attention, use semicolon (;) and not colon (:)

  7. Copy that. That's your cookie, keep it save and do NOT share it with anyone!

Usage

  1. Fork this repo

  2. Open your fork repository

  3. Go to Settings > Secrets and variables > Actions
  4. Click on New repository secrets
  5. Insert name with COOKIE and secret with your cookie, then click Add secret
  6. Now for the games, go to Variables and click New repository variable
  7. Insert name with GAMES and value with the game codes you want to check in, separated by space like the example screenshot.
    Supported values are: zzz, gi, hsr, hi3, tot
  8. For the first day, you have to trigger this manually. Simply go HERE and click on Run workflow
  9. Refresh the page, wait for 15-25 secs, and see if it ran successfully. You should now see the check in status on top of README.
  10. You're set! Hop on your game the next day and see if you got the rewards

Discord Webhook

You may use Discord webhook to send notifications to your channel!

  1. Go to channel settings
  2. Go to Integrations and click Create Webhook
  3. You can edit the name and picture freely, then Copy Webhook URL
  4. Create a new repository variable named DISCORD_WEBHOOK with value of the webhook URL
  5. You may trigger the check in manually and see if the messages got sent

FAQ

  1. Privacy

    This repository does NOT have any tracking nor anything sus, you can read the code yourself. Also keep your cookie safe!

  2. Is this safe?

    There should be no issues, there hasn't been any reports about hoyo doing anything against check-in automation

  3. I have an issue

    To the Issues page

  4. How to update my fork?

    Go to your repository and click Sync fork
  5. Can I make my own script?

    Feel free to modify, this repository is MIT licensed. BUT it's far better if you contribute here!

hoyolab-auto-daily's People

Contributors

sglkc avatar belenkiy-lab avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.