Automatically get Genshin Impact daily check-in rewards from miHoYo bbs and HoYoLAB Community.
Project description
简体中文 | English
genshinhelper
Automatically get Genshin Impact daily check-in rewards.
Usage
1. Docker
Docker Hub: https://registry.hub.docker.com/r/yindan/genshinhelper
# 安装 Docker
wget -qO- get.docker.com | bash
# 启动 Docker
systemctl start docker
# 设置 Docker 开机自启
systemctl enable docker
# 基本使用
# 需要什么功能就用 -e 变量名="变量值" 的形式添加,此处以米游社(COOKIE_MIHOYOBBS)和Server酱(SCKEY)做演示
docker run -d --name=genshinhelper \
-e COOKIE_MIHOYOBBS="<COOKIE_MIHOYOBBS>" \
-e SCKEY="<SCKEY>" \
--restart always \
yindan/genshinhelper
# 高级使用
# 使用 -e CRON_SIGNIN="0 7 * * *" 的形式自定义运行时间,所用时间为北京时间
docker run -d --name=genshinhelper \
-e COOKIE_MIHOYOBBS="<COOKIE_MIHOYOBBS>" \
-e SCKEY="<SCKEY>" \
-e CRON_SIGNIN="0 7 * * *" \
--restart always \
yindan/genshinhelper
# 使用 config.json
# 假设你的配置文件是 `/etc/genshin/config.json`
docker run -d --name=genshinhelper \
-e COOKIE_MIHOYOBBS="<COOKIE_MIHOYOBBS>" \
-e SCKEY="<SCKEY>" \
-e CRON_SIGNIN="0 7 * * *" \
-v /etc/genshin:/app/config \
--restart always \
yindan/genshinhelper
# 查看日志
docker logs -f genshinhelper
2. Python Package
pip install genshinhelper
# 添加相关环境变量后执行
python genshinhelper
Multiple accounts
- Multiple account cookies need to be separated by "#" symbol
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
genshinhelper-1.0.3.tar.gz
(36.2 kB
view hashes)
Built Distribution
Close
Hashes for genshinhelper-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7bb4ed213bd3255a971983387fb90211544532b09a106871fc5212169e99d1f |
|
MD5 | 11e34ecea89c0fd5320eba0a65b28418 |
|
BLAKE2b-256 | d19ec5555e3e6d9c6bba63a16d087c2b4b7af4c5584218b96cda864b50ab6731 |