{"id":15507871,"url":"https://github.com/jamesnetherton/homehub-client","last_synced_at":"2025-08-28T17:14:01.531Z","repository":{"id":57504721,"uuid":"67299398","full_name":"jamesnetherton/homehub-client","owner":"jamesnetherton","description":"Golang client for the BT Home Hub router","archived":false,"fork":false,"pushed_at":"2020-10-03T12:25:13.000Z","size":128,"stargazers_count":12,"open_issues_count":2,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-14T23:46:19.750Z","etag":null,"topics":["client","home-hub","homehub"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jamesnetherton.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-03T16:11:16.000Z","updated_at":"2024-09-12T23:31:59.000Z","dependencies_parsed_at":"2022-09-19T05:50:28.438Z","dependency_job_id":null,"html_url":"https://github.com/jamesnetherton/homehub-client","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/jamesnetherton/homehub-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesnetherton%2Fhomehub-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesnetherton%2Fhomehub-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesnetherton%2Fhomehub-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesnetherton%2Fhomehub-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamesnetherton","download_url":"https://codeload.github.com/jamesnetherton/homehub-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesnetherton%2Fhomehub-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272526921,"owners_count":24949837,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["client","home-hub","homehub"],"created_at":"2024-10-02T09:33:57.377Z","updated_at":"2025-08-28T17:14:01.512Z","avatar_url":"https://github.com/jamesnetherton.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Home Hub Client\n\n![Build](https://github.com/jamesnetherton/homehub-client/workflows/Build/badge.svg?event=push)\n[![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=600)](https://opensource.org/licenses/MIT)\n\nA golang client that can interact with BT Home Hub routers. Refer to the [compatibility matrix](matrix.md)\nto see the firmware versions supported by each release. The master branch is currently proven against firmware versions `SG4B1000B540` and `SG4B1A006100`.\n\nAt present, only a small set of the available [APIs](xpath.go) have been implemented.\n\nIf you're looking for a command line implementation of this library, check out my [Home Hub CLI](https://github.com/jamesnetherton/homehub-cli). There's also a [Prometheus exporter](https://github.com/jamesnetherton/homehub-metrics-exporter) that's loosely based on this client code.\n\n## Usage\n\n```golang\npackage main\n\nimport (\n\t\"fmt\"\n\t\"github.com/jamesnetherton/homehub-client\"\n)\n\nfunc main() {\n\thub := homehub.New(\"http://192.168.1.254\", \"admin\", \"p4ssw0rd\")\n\thub.Login()\n\n\tversion, err := hub.Version()\n\tif err == nil {\n\t\tfmt.Printf(\"Home Hub Version = %s\", version)\n\t}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesnetherton%2Fhomehub-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamesnetherton%2Fhomehub-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesnetherton%2Fhomehub-client/lists"}