GitHunt
AN

andrewschaaf/quantmylife-mac

Overview: see quantmylife.com

Signal Formats

// initial utc_ms_delta: 0
uvarint(utc_ms_delta) + uvarint(payload.length) + payload

front-app

payload = JSON({"pid": 123, "app": "com.example.Foo"})

(only log when there's a change)

front-thing

payload = JSON({"url": "file://localhost/Users/satoshi/Desktop/foo.txt"})

(only log when there's a change)

input-idle

payload =
    0x01 for BECAME_ACTIVE
    0x02 for BECAME_IDLE

(only log when there's a change)

mouse-position

// initial x, y: 0
payload = uvarint(x_delta) + uvarint(y_delta)

(only log when there's a change)

Languages

Objective-C62.1%C37.9%

Contributors

Created May 18, 2011
Updated July 25, 2018