{"id":13581191,"url":"https://github.com/bmedicke/bhdr","last_synced_at":"2025-09-01T02:05:02.316Z","repository":{"id":57708416,"uuid":"484827969","full_name":"bmedicke/bhdr","owner":"bmedicke","description":"beauftiful home assistant TUI 👁️🐙","archived":true,"fork":false,"pushed_at":"2022-05-05T07:56:49.000Z","size":115,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-23T21:46:43.639Z","etag":null,"topics":["cli","command-line","go","golang","home-assistant","tui","unittest","websocket"],"latest_commit_sha":null,"homepage":"","language":"Go","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/bmedicke.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}},"created_at":"2022-04-23T18:36:14.000Z","updated_at":"2024-11-05T10:58:33.000Z","dependencies_parsed_at":"2022-09-14T13:11:25.607Z","dependency_job_id":null,"html_url":"https://github.com/bmedicke/bhdr","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/bmedicke/bhdr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmedicke%2Fbhdr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmedicke%2Fbhdr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmedicke%2Fbhdr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmedicke%2Fbhdr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bmedicke","download_url":"https://codeload.github.com/bmedicke/bhdr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmedicke%2Fbhdr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273064982,"owners_count":25039267,"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-09-01T02:00:09.058Z","response_time":120,"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":["cli","command-line","go","golang","home-assistant","tui","unittest","websocket"],"created_at":"2024-08-01T15:01:59.039Z","updated_at":"2025-09-01T02:05:02.039Z","avatar_url":"https://github.com/bmedicke.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# BHDR\n\nBHDR is terminal user interface for Home Assistant.\n\n* VI based keybindings\n* customizable by editing JSON\n* uses the Home Assistant WebSocket API for the fastest possible response time\n* includes a WebSocket log-view for easy troubleshooting\n\n*It's like editing your home with Vim!*\n\n## toc\n\n\u003c!-- vim-markdown-toc GFM --\u003e\n\n* [installation](#installation)\n* [configuration](#configuration)\n* [usage](#usage)\n* [key bindings](#key-bindings)\n\n\u003c!-- vim-markdown-toc --\u003e\n\n## installation\n\n```sh\ngo install github.com/bmedicke/bhdr@latest\n```\n\n## configuration\n\n* edit `.bhdr.json` in your home folder\n* if you don't have one bhdr will create one with `bhdr --create-config`\n  * see [.bhdr.json](https://github.com/bmedicke/bhdr/blob/main/.bhdr.json) for the template\n* `\"scheme\"` the connection protcol, this should be `ws`\n* `\"server\"` point it to your Home Assistance instance\n* `\"token\"` your Home Assistant long-lived access token\n  * to get a token go to your Home Assistant profile ([link for locally running server](http://localhost:8123/profile)) and click **create token**\n* `\"ha-entities\"` array of maps for Home Assistant entities\n* `\"chordmap\"` representation of the Vi grammar\n\n## usage\n\nThe following flags are available:\n\n* `--config \u003cfile\u003e` load custom configuration\n* `--create-config` creates a template config in your home folder\n* `--show-logs` adds a logs view that outputs websocket messages\n\n## key bindings\n\n* all views\n  * `q` quit\n  * `k` move up\n  * `j` move down\n  * `ctrl-f` move down a page\n  * `ctrl-b` move up a page\n  * `g` move to top\n  * `G` move to bottom\n  * `]` activate *logs* view\n  * `[` activate *switches* view\n* *switches* view\n  * `h` collapse node, move up tree\n  * `H` collapse all nodes\n  * `l` expand node\n  * `L` expand all nodes\n  * `;` toggle entity (light, input_boolean, switch, etc.)\n* *logs* view\n  * `d` clear the log\n  * `w` write log to `bhdr_log.json`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmedicke%2Fbhdr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbmedicke%2Fbhdr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmedicke%2Fbhdr/lists"}