Git Product home page Git Product logo

openrgb-go's Introduction

Go OpenRGB Client

A Go client library for OpenRGB SDK Server. This library is Go a port of vlakreeh/openrgb, which is written in JavaScript.

Usage

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/realbucksavage/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 ๐Ÿ˜„).

Open TODOs

  • Documentation
  • Save/Load profile methods
  • I feel like openrgb.Client.UpdateZoneLEDs method can be written in a better way...

Contributing

What contributions are needed?

Anything that is an open to-do item, is a much welcome contribution.

How to reach me?

These are some ways:

  • Discord : bucksavage100x#0476
  • Email
  • Open a PR or an Issue on this project

openrgb-go's People

Contributors

gethiox avatar realbucksavage avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.