Go library to control Razer (Chroma) devices
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd/lantern
.gitignore
.travis.yml
LICENSE
README.md
effects.go
keys.go
razer.go

README.md

go-razer

Control your Razer (Chroma) devices from Go

Installation

Make sure you have a working Go environment (Go 1.7 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.

Development

GoDoc Build Status Go ReportCard