{"id":50832950,"url":"https://github.com/denwwer/hyperion-ng","last_synced_at":"2026-06-14T01:09:40.141Z","repository":{"id":273717600,"uuid":"918238077","full_name":"denwwer/hyperion-ng","owner":"denwwer","description":"hyperion-ng is library that helps communicate with Hyperion-NG.","archived":false,"fork":false,"pushed_at":"2025-01-28T16:21:18.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-18T13:50:12.487Z","etag":null,"topics":["api","go","hyperion"],"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/denwwer.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":"2025-01-17T14:24:43.000Z","updated_at":"2025-09-22T19:18:30.000Z","dependencies_parsed_at":"2025-01-22T15:44:09.293Z","dependency_job_id":null,"html_url":"https://github.com/denwwer/hyperion-ng","commit_stats":null,"previous_names":["denwwer/hyperion-ng"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/denwwer/hyperion-ng","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denwwer%2Fhyperion-ng","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denwwer%2Fhyperion-ng/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denwwer%2Fhyperion-ng/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denwwer%2Fhyperion-ng/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/denwwer","download_url":"https://codeload.github.com/denwwer/hyperion-ng/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denwwer%2Fhyperion-ng/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34305834,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"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":["api","go","hyperion"],"created_at":"2026-06-14T01:09:39.461Z","updated_at":"2026-06-14T01:09:40.133Z","avatar_url":"https://github.com/denwwer.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Static Badge](https://img.shields.io/badge/go-1.23-027c9c)\n[![Go Report Card](https://goreportcard.com/badge/github.com/denwwer/hyperion-ng)](https://goreportcard.com/report/github.com/denwwer/hyperion-ng)\n![GitHub last commit](https://img.shields.io/github/last-commit/denwwer/hyperion-ng)\n[![Go Reference](https://pkg.go.dev/badge/github.com/denwwer/hyperion-ng.svg)](https://pkg.go.dev/github.com/denwwer/hyperion-ng)\n\n**hyperion-ng** is library that helps communicate with [Hyperion-NG](https://hyperion-project.org/) JSON API.\n\n## Install\n```\ngo get -u github.com/denwwer/hyperion-ng\n```\n\n## Examples\n```go\nimport (\n    \"log\"\n    \"github.com/denwwer/hyperion-ng\"\n    \"github.com/denwwer/hyperion-ng/model\"\n)\n\nfunc main() {\n    // Create configuration\n    conf := hyperion.Config{\n    VerboseLog: false,\n    Connection: hyperion.Connection{\n        Token:   \"6c224a4c-6ebf-491a-9d70-fb7681ca2a59\",\n        Type:    hyperion.ConnectHTTP,\n        Host:    \"192.168.53.130\",\n        Port:    8090,\n        SSL:     false,\n        Timeout: 10,\n        },\n    }\n\n    // Create client with custom header options\n    cl := hyperion.NewClient(conf, hyperion.WithHeader(map[string]string{\"my-header\": \"value\"}))\n    \n    // Get full information\n    info, err := cl.ServerInfo()\n    if err != nil {\n        log.Panic(err)\n    }\n    \n    // Manage Instances\n    for _, instance := range info.Instances {\n        log.Printf(`name: \"%s\" active: %t`, instance.Name, instance.Running)\n    \n        err = cl.Instance(instance.Instance, model.InstanceCmdStop)\n        if err != nil {\n            log.Fatalln(err)\n        }\n    }\n\n    // Manage Components\n    for _, comp := range info.Components {\n        if comp.Switchable() {\n            err = cl.ComponentState(comp.Name, false)\n            if err != nil {\n                log.Fatalln(err)\n            }\n        }\n    }\n    \n    // List user defined effects\n    for _, effect := range info.Effects.Users() {\n        log.Printf(`name: \"%s\"`, effect.Name)\n    }\n    \n    // Change video mode\n    err = cl.VideoMode(model.VideoMode2D)\n    if err != nil {\n        log.Fatalln(err)\n    }\n}\n```\n\nAdditional doumentation on [pkg.go.dev](https://pkg.go.dev/github.com/denwwer/hyperion-ng)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenwwer%2Fhyperion-ng","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenwwer%2Fhyperion-ng","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenwwer%2Fhyperion-ng/lists"}