Node.js and blinking keyboards

Did you ever want to make your keyboard back light (or any other light source you can control with a bash command) show Morse code?


I have and since I'm primarily back on Linux now, this wasn't a hard thing to do. For the first time I really looked at executing bash commands from inside node.js. The very quickly written and barely documented source is to be found here:

Luckily somebody already wrote a module for the hard work in this: morse and for giving me less headaches with control flow: async.

Enjoy the quick YouTube demo below and tell me if you make anything in your home blink!

Thank you for reading! If you have any comments, additions or questions, please tweet or toot them at me!