Sign inSign up

james58899/hath-rust

By james58899

•Updated about 14 hours ago

The unofficial Hentai@Home client written in Rust

Image
Internet of things
Web servers
2

10K+

james58899/hath-rust repository overview

⁠Info

  • Source code: GitHub⁠
  • Wiki: GitHub⁠
  • Supported architectures: amd64, arm32v7, arm64v8
  • Tags
    • latest: Latest release (Stable).
    • main: Latest git build.
    • nightly: Weekly build for latest git.
    • *-tiny: Size-optimized image.

⁠Run

When initialize the client you need to add -it to enable TTY, or you can manually write the ID and Key to the /hath/data/client_login file in the format of CLIENT_ID-CLIENT_KEY.

⁠Docker

docker run -p <PORT>:<PORT> \
    -v <H@H directory>:/hath \
    -w /hath \
    --restart unless-stopped \
    --stop-timeout 600 \
    -d \
    james58899/hath-rust
  • -p Bind port to host
  • -v Bind volume to /hath in container
  • -w Set the working directory for hath-rust, it should contain cache data log download tmp in the working directory
  • --restart unless-stopped Auto-restart
  • --stop-timeout 600 Wait 600s before force kill
  • -d Starts container in background

⁠Options

The options of hath-rust are similar to the official ones. You can refer to the Official wiki⁠.

⁠Help

Usage: hath-rust [OPTIONS]

Options:
  -p, --port <PORT>                      Overrides the port set in the client's settings
      --cache-dir <CACHE_DIR>            Cache data location [default: cache]
      --data-dir <DATA_DIR>              Login data location [default: data]
      --download-dir <DOWNLOAD_DIR>      Downloader save location [default: download]
      --log-dir <LOG_DIR>                Logs location [default: log]
      --temp-dir <TEMP_DIR>              Temporary location for proxy request [default: tmp]
      --disable-logging                  Disable writing non-error logs to file
      --flush-log                        Flush the logs to disk every line
      --max-connection <MAX_CONNECTION>  Override the max connection soft limit, should only be used in special cases [default: 0]
      --disable-ip-origin-check          Disable server command ip check, also disable flood control
      --disable-flood-control            Disable flood control
      --proxy <PROXY>                    Configure proxy for fetch cache
      --force-background-scan            Force background cache scan, even if verify cache integrity is enabled
  -q...                                  Quiet console output (specify multiple times to be quieter)
      --rpc-server-ip <RPC_SERVER_IP>    Override bootstrap RPC server IP, used if rpc.hentaiathome.net cannot be resolved or is blocked
      --enable-metrics                   Enable metrics endpoint
      --disable-server-header            Disable sending "Server" header to avoid being discovered by scanners
      --enable-h3                        Experimental HTTP3
  -h, --help                             Print help
  -V, --version                          Print version

For more information, check out the wiki⁠.

Tag summary

Content type

Image

Digest

sha256:e4bab687b…

Size

32.5 MB

Last updated

5 months ago

docker pull james58899/hath-rust