Endfield Daily Login Helper
Automatically claim daily login rewards for Arknights: Endfield.
Inspired by hoyo-daily-logins-helper.
Features
- 🎁 Automatic daily sign-in
- 📋 Multiple account support
- ⏰ Scheduler mode for continuous operation
- 🔔 Discord webhook notifications
- 🐳 Docker support
Installation
pipx (Recommended)
pipx installs the tool in an isolated environment:
pipx install endfield-daily-helper
Or install directly from GitHub:
pipx install git+https://github.com/chiraitori/endfield-daily-helper.git
pip
pip install endfield-daily-helper
From Source
git clone https://github.com/chiraitori/endfield-daily-helper.git
cd endfield-daily-helper
pip install -e .
Docker
docker build -t endfield-daily .
docker run --rm -e ENDFIELD_TOKEN="your_token" endfield-daily
Quick Start
1. Get Your ACCOUNT_TOKEN
The website uses httpOnly cookies that cannot be copied via document.cookie. You need to extract the ACCOUNT_TOKEN manually:
- Open the Endfield Sign-in Page
- Log in with your Hypergryph/SKPORT account
- Open browser DevTools (F12) → Application tab
- Reload the page (F5) with DevTools open so the cookies appear
- In the left sidebar, expand Cookies → click
.skport.com - Find the cookie named
ACCOUNT_TOKENand copy its Value
2. Run Sign-in
endfield-daily --token "YOUR_ACCOUNT_TOKEN_HERE"
That's it! 🎉
CLI Usage
endfield-daily [OPTIONS]
Options:
--version Show version and exit
--token TOKEN ACCOUNT_TOKEN from browser cookies (required)
--cookie COOKIE Cookie string (backup method)
--config-file FILE Path to TOML configuration file
--identifier NAME Account identifier for logging
--debug Enable debug logging
-h, --help Show help message
Examples
Basic usage:
endfield-daily --token "YOUR_TOKEN"
With custom identifier:
endfield-daily --token "YOUR_TOKEN" --identifier "Main Account"
Debug mode:
endfield-daily --token "YOUR_TOKEN" --debug
Using environment variable:
export ENDFIELD_TOKEN="YOUR_TOKEN"
endfield-daily
Configuration File
For multiple accounts or advanced features, create a config file endfield-daily-helper.toml:
[config]
enable_scheduler = false
[[accounts]]
identifier = "Main Account"
token = "YOUR_ACCOUNT_TOKEN_HERE"
# Add more accounts:
# [[accounts]]
# identifier = "Alt Account"
# token = "ANOTHER_ACCOUNT_TOKEN"
Run with config file:
endfield-daily --config-file endfield-daily-helper.toml
The CLI automatically looks for config files in these locations:
./endfield-daily-helper.toml~/.config/endfield-daily-helper.toml
Scheduler Mode
Enable continuous operation with automatic daily sign-ins:
[config]
enable_scheduler = true
[[accounts]]
identifier = "My Account"
token = "YOUR_ACCOUNT_TOKEN"
# Optional: customize check-in time (default: 00:05 Asia/Shanghai)
checkin_time = {hour = 0, minute = 5, timezone = "Asia/Shanghai"}
Run the scheduler:
endfield-daily --config-file endfield-daily-helper.toml
The scheduler will:
- Sign in immediately on start
- Run daily at the configured time
- Keep running until stopped (Ctrl+C)
Environment Variables
| Variable | Description |
|---|---|
ENDFIELD_TOKEN |
ACCOUNT_TOKEN value (recommended) |
ENDFIELD_COOKIE |
Cookie string (backup method) |
ENDFIELD_CONFIG |
Path to config file |
ENDFIELD_DEBUG |
Enable debug mode (1 or true) |
Docker
Docker Run
docker run --rm \
-e ENDFIELD_TOKEN="your_token" \
ghcr.io/Chiraitori/endfield-daily-helper
Docker Compose
version: "3"
services:
endfield-daily:
image: ghcr.io/chiraitori/endfield-daily-helper
environment:
- ENDFIELD_TOKEN=your_token_here
restart: unless-stopped
Build Locally
docker build -t endfield-daily .
docker run --rm -e ENDFIELD_TOKEN="your_token" endfield-daily
Troubleshooting
"Already signed in today"
This is normal! It means you (or this tool) already claimed today's reward.
401 Unauthorized Error
Your token has expired. Get a fresh ACCOUNT_TOKEN from browser DevTools:
- Log out and log back in on the sign-in page
- Copy the new
ACCOUNT_TOKENvalue - Update your config or CLI argument
Token Expiration
The ACCOUNT_TOKEN may expire after extended periods. If sign-in fails after working previously, refresh your token from the browser.
Debug Mode
If you encounter issues, run with --debug to see detailed request/response logs:
endfield-daily --token "YOUR_TOKEN" --debug
How It Works
The authentication flow:
- Exchange
ACCOUNT_TOKENfor OAuth code via Gryphline OAuth - Generate credentials from OAuth code
- Refresh signing token
- Fetch player binding info (game role)
- POST to attendance API with signed headers
Publishing to PyPI
To publish this package:
# Build the package
pip install build
python -m build
# Upload to PyPI
pip install twine
twine upload dist/*
License
MIT
Credits
- Inspired by hoyo-daily-logins-helper
- API reverse-engineered from SKPORT
Metadata
Release files for endfield-daily-helper 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| endfield_daily_helper-1.0.5.tar.gz | 221.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| endfield_daily_helper-1.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 238.0 kB
Release files / endfield_daily_helper-1.0.5.tar.gz
| Download URL | endfield_daily_helper-1.0.5.tar.gz |
|---|---|
| Size | 221.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d1f688c7fec540ecb4df5065d03e76af855e7e495f8ee064cfd2b5985b24d54d
|
|
BLAKE2b-256 checksum How to use checksums |
9a49a777d5b37aa06f9a7d7246eb9de25b152f4106d39021f583a474d03d78b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 24, 2026.
Transparency logRelease files / endfield_daily_helper-1.0.5-py3-none-any.whl
| Download URL | endfield_daily_helper-1.0.5-py3-none-any.whl |
|---|---|
| Size | 16.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
be925bbaa47838918ddd5b5ace7b5328f1a6cd48137179d640a8ee0f059c1f0e
|
|
BLAKE2b-256 checksum How to use checksums |
e9ebfb914220636eb203e8f7f65ce764e7a4b217d1fa3e7e2c9e7450334d3a0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 24, 2026.
Transparency log