go-razer

Go library to control Razer (Chroma) devices

MIT License

Stars
19

go-razer

Control Razer (Chroma) devices from the CLI or your Go apps

Installation

Make sure you have a working Go environment (Go 1.11 or higher is required). See the install instructions.

To install go-razer, simply run:

go get github.com/muesli/go-razer

Lantern CLI

Lantern is a CLI tool (using go-razer) to control your Razer devices. Run the following command to install it:

go get github.com/muesli/go-razer/cmd/lantern

Hardware Effects

Available effects are wave, reactive, spectrum, breath, breathdual, breathrandom, starlight, starlightdual, starlightrandom, ripple and ripplerandom.

$ lantern -effect wave
$ lantern -effect starlightdual -color "#00ff00" -secondary "#aa00aa"

Plain Background Color

$ lantern -color "#6b6b00"

top Mode

Monitor your system's CPU usage by turning your keyboard into a gauge:

$ lantern -top

Themes

There are currently only a few available themes (feel free to submit more!) named happy, soft, warm, rainbow and random. To try them out, run:

$ lantern -theme happy

Brightness

You can change the brightness (value in percent) by running:

$ lantern -brightness 80

The brightness parameter can also be used in combination with any of the modes described above.

Package Rankings
Top 8.17% on Proxy.golang.org
Badges
Extracted from project README
Latest Release Build Status Go ReportCard GoDoc