genshindaily

command module
v0.0.0-...-49d8a77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2021 License: MIT Imports: 2 Imported by: 0

README

genshindaily

Discord Screenshot

Yet another Genshin auto daily check-in tool. Based on genshinhelper by y1ndan, but for HoYoLab check-ins only.

Running

AWS

You will need to set up a Lambda function and then trigger it with a Cloud Events cronjob. The cronjob should also be set up to push the configuration as a constant JSON string.

Local

You can build a runnable version with make build-cmd and then execute it by piping the configuration through stdin, e.g. ./daily < conf.json

Example Configuration

{
    "cookies": "mi18nLang=en-us; account_id=YOUR_ACCOUNT_ID_HERE; cookie_token=YOUR_TOKEN_HERE",
    "notifiers": [
        {
            "kind": "discord",
            "url": "https://discord.com/api/webhooks/123456789012345678/bar"
        },
        {
            "kind": "health_check",
            "url": "https://hc-ping.com/foo"
        }
    ]
}

Notifications

Currently supports Discord webhooks and healthchecks.io notifications only.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL