{"id":19687115,"url":"https://github.com/trinitronx/test-cec","last_synced_at":"2026-06-15T05:31:58.056Z","repository":{"id":136206466,"uuid":"117594496","full_name":"trinitronx/test-cec","owner":"trinitronx","description":"Simple demo code for using \u0026 testing out libcec Golang bindings","archived":false,"fork":false,"pushed_at":"2018-01-15T21:21:44.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-10T07:46:52.757Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/trinitronx.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-15T20:55:37.000Z","updated_at":"2020-02-02T21:53:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"b22b05c5-19c9-4774-9024-0adf3429f9c7","html_url":"https://github.com/trinitronx/test-cec","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinitronx%2Ftest-cec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinitronx%2Ftest-cec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinitronx%2Ftest-cec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinitronx%2Ftest-cec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trinitronx","download_url":"https://codeload.github.com/trinitronx/test-cec/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240993952,"owners_count":19890419,"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","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":[],"created_at":"2024-11-11T18:33:03.867Z","updated_at":"2026-06-15T05:31:58.051Z","avatar_url":"https://github.com/trinitronx.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"test-cec.go\n===========\n\nSimple demo code for using \u0026 testing out `github.com/chbmuc/libcec`.\n\n\u003e [!NOTE]\n\u003e Outdated / unmaintained dependencies!\n\u003e \n\u003e `github.com/chbmuc/libcec` only supports `libcec` version `4.x`!\n\u003e As such, this project will not work on most modern Linux distros.\n\u003e The instructions were originally tested for Ubuntu `16.04`, Go `1.7.4`\n\nBuilding\n========\n\nFirst, make sure you have [`golang` installed][install-golang]\n\n\nNext, install dependencies:\n\n    sudo apt-get -y install build-essential git libcec-dev libp8-platform-dev libudev-dev\n\nOptionally, you may wish to install `cec-client` for comparing how it interacts with CEC:\n\n    sudo apt-get -y install cec-utils\n\nMake sure you have [`GOPATH` set up][setup-gopath] somewhere where you would like to [organize your go code][how-to-write-go]. Then:\n\n    go get github.com/chbmuc/cec\n    go get github.com/trinitronx/test-cec\n    cd $(go env GOPATH)/src/github.com/trinitronx/test-cec\n    go install\n\nRunning\n=======\n\nIt's as simple as:\n\n    $(go env GOPATH)/bin/test-cec\n\n\n[install-golang]: https://github.com/golang/go/wiki/Ubuntu\n[setup-gopath]: https://github.com/golang/go/wiki/SettingGOPATH\n[how-to-write-go]: https://golang.org/doc/code.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrinitronx%2Ftest-cec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrinitronx%2Ftest-cec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrinitronx%2Ftest-cec/lists"}