A Go client library for OpenRGB SDK Server. This library is Go a port of vlakreeh/openrgb, which is written in JavaScript.
Here's how this library can be used to do some stuff. There's an example file in this repository
(examples/basic.go
) that
sets the color of all connected devices to Cyan.
A connection to an OpenRGB Server can be opened like this:
import "github.com/hotarublaze/openrgb-go"
func main() {
c, err := openrgb.Connect("localhost", 6742)
if err != nil {
// ...
}
defer c.Close()
}
The Connect(...)
method returns an instance of openrgb.Client
. All available methods methods can be
found in the client.go
file (I'll update the docs later, I promise 😄).
- Documentation
- Save/Load profile methods
- I feel like
openrgb.Client.UpdateZoneLEDs
method can be written in a better way...
Anything that is an open to-do item, is a much welcome contribution.
These are some ways:
- Discord : bucksavage100x#0476
- Open a PR or an Issue on this project