Skip to content

muesli/go-razer

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

go-razer

Latest Release Build Status Go ReportCard GoDoc

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.

About

Go library to control Razer (Chroma) devices

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages