Files
endfield-auto-daily/README.md
T
2026-01-28 15:39:31 +00:00

128 lines
5.4 KiB
Markdown

# Endfield Auto Daily Check In
Today's check in status:
[![Daily check in](./actions/workflows/login-gitea-runner.yml/badge.svg?branch=master)](./actions/workflows/login-gitea-runner.yml)
Repository version:
[![Do your setup!](../../actions/workflows/version.yml/badge.svg)](../../actions/workflows/version.yml)
## Table of Contents
- [Getting your auth token](#getting-your-auth-token)
- [Usage](#usage)
- [Multiple Accounts](#multiple-accounts)
- [Discord Webhook](#discord-webhook)
- [FAQ](#faq)
- [Is this safe?](#is-this-safe)
- [How to update my (fork) repository version?](#how-to-update-my-fork-repository-version)
- [Error not logged in](#error-not-logged-in)
- [I have other issues](#i-have-other-issues)
## Getting your auth token
You have to check in manually first to get your auth token, follow these steps (click to open screenshot):
1. Open [SKPORT Arknights: Endfield Daily Sign In](https://game.skport.com/endfield/sign-in) and login if you haven't (obviously)
2. <details>
<summary>Open dev tool (<kbd>Ctrl+Shift+I</kbd> or right click anywhere > Inspect)</summary>
<img width="1133" height="841" alt="image" src="https://github.com/user-attachments/assets/a067d000-8231-4458-88d9-65656348db2e" />
</details>
4. <details>
<summary>For Chromium users, click on the Application tab. If not found, click on the arrow.</summary>
<img width="1121" height="448" alt="image" src="https://github.com/user-attachments/assets/eadfb030-f0b1-4fbb-86f1-1dcea6c61964" />
</details>
<details>
<summary>For Firefox/Gecko-based browsers, click on the Storage tab.</summary>
<img width="926" height="297" alt="image" src="https://github.com/user-attachments/assets/fb824970-f43e-4bd6-8d78-427ca01675df" />
</details>
5. <details>
<summary>Just like the screenshot above, click on Local Storage and look for `SK_OAUTH_CRED_KEY`</summary>
<img width="1212" height="801" alt="image" src="https://github.com/user-attachments/assets/8b4e1158-3914-448c-93fb-9759e1c28717" />
</details>
6. <details>
<summary>Copy the value by clicking on it, then selecting the text below. Or just double-click and Ctrl+C</summary>
<img width="861" height="170" alt="image" src="https://github.com/user-attachments/assets/e29ad0d1-0d40-408b-8fc4-ea0b0f8acfed" />
</details>
7. That's your auth token, keep it save and do NOT share it with anyone!
## Usage
1. [Fork this repo](../../fork)
2. Open your fork repository
3. <details>
<summary>Go to Settings > Secrets and variables > Actions, Click on New repository secrets</summary>
<img width="1533" height="812" alt="image" src="https://github.com/user-attachments/assets/fd4605be-e64a-45ec-87c9-c3206ab46f4c" />
</details>
5. <details>
<summary>
Insert name with <code>CRED</code> and secret with
<a href="#getting-your-auth-token">your token</a>, then click Add secret. You can input as many accounts, separate it with a new line (Enter).
</summary>
<img width="801" height="427" alt="image" src="https://github.com/user-attachments/assets/8110e0d2-2c11-4870-bb95-01ec0d99942b" />
</details>
7. <details>
<summary>
For the first day, you have to trigger this manually.
Simply go <a href="../../actions/workflows/login.yml">HERE</a> and click on Run workflow
</summary>
<img src="https://github.com/sglkc/hoyolab-auto-daily/assets/31957516/ea1e48d2-a069-4db6-bdcd-86eecae8d81d" />
</details>
9. <details>
<summary>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.</summary>
<img src="https://github.com/sglkc/hoyolab-auto-daily/assets/31957516/5c8520ee-a8b7-4c66-bb1b-ef945c499112" />
</details>
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. <details>
<summary>Go to channel settings</summary>
<img src="https://github.com/sglkc/hoyolab-auto-daily/assets/31957516/80f3b2f1-cc55-4316-9153-3fc5026b7da8" />
</details>
2. <details>
<summary>Go to Integrations and click Create Webhook</summary>
<img src="https://github.com/sglkc/hoyolab-auto-daily/assets/31957516/b4d0c07d-35a5-4382-99de-584c70c4d730" />
</details>
3. <details>
<summary>You can edit the name and picture freely, then Copy Webhook URL</summary>
<img width="671" height="301" alt="image" src="https://github.com/user-attachments/assets/4d8fb873-b52f-4f83-8d14-f55246bc3104" />
</details>
4. <details>
<summary>Create a new repository <em>variable</em> named <code>DISCORD_WEBHOOK</code> with value of the webhook URL</summary>
<img width="797" height="218" alt="image" src="https://github.com/user-attachments/assets/2d09e7a5-9fe0-4ddf-891b-a136b1bb02a4" />
</details>
6. You may trigger the check in manually and see if the messages got sent
## FAQ
### Is this safe?
It is still unknown whether automated daily log in is bannable for Arknights Endfield since its just a few days after release, use at your own risk! I won't be responsible if anything happens with your account.
### How to update my (fork) repository version?
<details>
<summary>Go to your repository and click Sync fork</summary>
<img src="https://github.com/sglkc/hoyolab-auto-daily/assets/31957516/08c10262-8a97-433b-b499-143cc116184d" />
</details>
### I have other issues
To the [Issues page](https://github.com/sglkc/endfield-auto-daily/issues)