Giter Site home page Giter Site logo

kfdm / blink1control2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from todbot/blink1control2

0.0 2.0 0.0 10.23 MB

Blink1Control in Electron, React, and Node. Control blink(1) USB RGB LED devices.

Home Page: http://blink1.thingm.com/

License: Apache License 2.0

HTML 9.83% JavaScript 86.32% CSS 3.85%

blink1control2's Introduction

Blink1Control2

Blink1Control is the desktop application for controlling and hooking events to blink(1). It is the primary user-level application for controlling blink(1). It is an event-based system for triggering blink(1) color patterns. Those events can be on your computer or on the Net.

Blink1Control2 is the current version, written in Electron, Node.js, and React.

Downloads

There are pre-built app downloads for Mac OS X, Windows, and Linux in the releases area.

Setup steps (for development)

You will need a working C compiler setup for Node projects. You can find details for that here: https://github.com/node-hid/node-hid#compiling-from-source

Start a hot-reloading content server and the application:

npm install
npm run watch &
npm run startdev

Or to emulate a production run:

npm install        # installs all dependencies locally
npm run webpack    # packs app, there will be some warnings, ignore
npm run start      # starts the packaged app
npm run dist:draft # create relocatable app and installer(s), in "dist" dir

Linux:

Install udev rules file in /etc/udev/rules.d/51-blink1.rules with contents:

SUBSYSTEM=="input", GROUP="input", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="27b8", ATTRS{idProduct}=="01ed", MODE:="666", GROUP="plugdev"
KERNEL=="hidraw*", ATTRS{idVendor}=="27b8", ATTRS{idProduct}=="01ed", MODE="0666", GROUP="plugdev"

And install the rules with:

sudo udevadm control --reload-rules

Then unplug and replug the blink(1) device.

Install the following pre-requisites:

  • libgnome-keyring-dev
  • icnsutils
  • xz-utils
  • rpm
  • bsdtar
  • libusb-1.0.0-dev
  • libudev-dev

(see: electron-userland/electron-builder#1407)

Other info

blink1control2's People

Contributors

todbot avatar

Watchers

Paul Traylor avatar James Cloos 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.