{"id":37570674,"url":"https://github.com/amphineko/docker-hath","last_synced_at":"2026-01-16T09:23:34.525Z","repository":{"id":70711130,"uuid":"239877773","full_name":"amphineko/docker-hath","owner":"amphineko","description":"H@H via Docker and compose","archived":false,"fork":false,"pushed_at":"2024-06-03T11:20:43.000Z","size":28,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-03T13:04:34.608Z","etag":null,"topics":["docker","docker-compose","hath"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amphineko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-02-11T22:28:28.000Z","updated_at":"2024-06-03T11:20:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"749e18e3-504e-492a-a1ed-bcb7149bb85b","html_url":"https://github.com/amphineko/docker-hath","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/amphineko/docker-hath","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amphineko%2Fdocker-hath","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amphineko%2Fdocker-hath/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amphineko%2Fdocker-hath/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amphineko%2Fdocker-hath/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amphineko","download_url":"https://codeload.github.com/amphineko/docker-hath/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amphineko%2Fdocker-hath/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","hath"],"created_at":"2026-01-16T09:23:34.434Z","updated_at":"2026-01-16T09:23:34.503Z","avatar_url":"https://github.com/amphineko.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HatD\n\nIt's H@H on Docker!\n\nThis repository serves as an solution to easily deploy H@h on cloud servers.\n\n## Usage\n\n**Improper usage of this repository and your H@H client key can result in a penalty (e.g login rate limit) or even a permanent ban. The author should not be responsible for your failures. You have been warned.**\n\n*Please be mentioned that Docker installation, configuration and usage are not covered here. Please refer to other documents.*\n\n*Following commands and details are provided as demonstration, modify before using to fit your real scenario.*\n\n### docker-compose (recommended)\n\nFirst, `git checkout` this repository.\n\n    $ git checkout https://github.com/amphineko/hatd\n\nThen configure your H@H credential environment variables in `docker-compose.yml` before starting up\n\n    \u003e vi docker-compose.yml\n\n    ...\n        environment:\n            CLIENT_ID: 0\n            CLIENT_KEY: undefined\n    ...\n\nFor example, while your **Client ID** is `114514` with **Client Key** `MTE0NTE0`, your `docker-compose.yml` should be configured like this:\n\n    \u003e vi docker-compose.yml\n\n    ...\n        environment:\n            CLIENT_ID: 114514\n            CLIENT_KEY: MTE0NTE0\n    ...\n\nYou might also need to configure your listening port to fit your need. Both of the numbers separated by the colon should be modified. Also check [Compose file reference](https://docs.docker.com/compose/compose-file/#ports) for how to configure it.\n\n    \u003e vi docker-compose.yml\n\n    ...\n        ports:\n            - 8443:8443\n    ...\n\nAnd bring up your Docker container to see if it works.\n\n    \u003e docker-compose up\n\nYou may use `-d` (detached) to leave it running in background\n\n    \u003e docker-compose up -d\n\nThe Docker image should restart automatically when it crashes or fails.\n\nHowever, Docker limits the maximum retries of restarting, so be alerted on H@H dashboard about your trust and quality in the first days.\n\n## Environment variables\n\nYou can set your H@H credential via environment variables, instead of using `docker run --rm hath` to create a login file.\n\nTwo environment variables `CLIENT_ID` and `CLIENT_KEY` are available now.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famphineko%2Fdocker-hath","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famphineko%2Fdocker-hath","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famphineko%2Fdocker-hath/lists"}