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.2.tar.gz
(36.0 kB
view hashes)
Built Distribution
Close
Hashes for genshinhelper-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0819740f3d343b9599d6904eaca5a4c09b1d171bbe396ec089ce5578149579d5 |
|
MD5 | e0967c6a6bffe57df5ed45ca9206cd64 |
|
BLAKE2b-256 | 9f324efe5fa26210e3ddf6774b31ce159ba93fca83cceaadb8a1fe44c381f997 |