Keylogger

CircleCI

A simple keylogger for logging keyboard events. Only works on these Ruby platforms:

x86_64-linux
x86_64-linux-gnu

More platforms will be added in the future.

Usage:

Keylogger.new("Name of keyboard").listen do |key|
  puts key
end

You can find the name of your keyboard in cat /proc/bus/input/devices.

FAQ

Q: I get a "permission denied", what do I do?

A: Check which group owns these files: ls -l /dev/input/ and add your own user to that group.