Source, APIs & Libraries


The main development github clearinghouse repository is: https://github.com/todbot/blink1

We endeavor to make all blink(1) source and APIs work on these platforms:

  • Mac OS X 10.7+ (10.6 in many cases)
  • Windows 7+ (XP for some APIs or tools)
  • Linux Ubuntu (and other Linuxes and *nixes like FreeBSD)
  • Raspberry Pi Raspbian

We come from a Unix background, so most of our tools work on Mac & Linux first.

We currently have APIs for:

Additionally there are several community-created APIs for specific higher-level tools that do system monitoring or continuous integration.  Most all of these are published. If you are curious, do a web search for your tool and “blink1”.

The blink(1) github is laid out along these lines, with one directory per language and sometimes a directory per OS.

  • chrome – Demonstration of using chrome.hid to talk to blink(1)
  • docs — Documentation about APIs and command-line tips-n-tricks
  • go – Go language library for blink(1)
  • haskell – Using blink(1) with the Haskell language
  • linux – Add-ons for using Linux with blink(1)
  • python — Python APIs
  • go — Go library
  • libraries — libraries common to all systems (mostly just HTML app code)
  • qt — Blink1Control lives here, along with some Qt sample apps
  • mac — Mac OS X details and GUI control application
  • mac/scripts — command-line scripts to do cool things
  • windows — Windows details and GUI control application
  • windows/Blink1Lib — .NET library wrapping blink1-lib
  • windows/ManagedBlink1 — 100% .NET library
  • windows/scripts — Windows command-line scripts to do cool things
  • linux — Linux details and scripts
  • linux/contrib — contributed Linux scripts
  • hardware — all hardware-related info (firmware & schematic & enclosure)

Also check out:

  • blink(1) mk1 enclosure CAD files on Thingiverse