Skip to main content

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.

QQ Group | Discord | Telegram

Genshin Impact Helper

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

genshinhelper-1.0.2-py3-none-any.whl (37.0 kB view details)

Uploaded Python 3

File details

Details for the file genshinhelper-1.0.2.tar.gz.

File metadata

  • Download URL: genshinhelper-1.0.2.tar.gz
  • Upload date:
  • Size: 36.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.20.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.8

File hashes

Hashes for genshinhelper-1.0.2.tar.gz
Algorithm Hash digest
SHA256 04dc1d2c0653bc58a8b96e7696dc3229ee733921b6d6859218133bfb01a1f002
MD5 fa4ee8493a678f7a6e1cf757870a967e
BLAKE2b-256 e1dfea3f0522994b819bbfd3c1561233dbdf102e9438633f33ea27d019457aaf

See more details on using hashes here.

File details

Details for the file genshinhelper-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: genshinhelper-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 37.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.20.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.8

File hashes

Hashes for genshinhelper-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0819740f3d343b9599d6904eaca5a4c09b1d171bbe396ec089ce5578149579d5
MD5 e0967c6a6bffe57df5ed45ca9206cd64
BLAKE2b-256 9f324efe5fa26210e3ddf6774b31ce159ba93fca83cceaadb8a1fe44c381f997

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page