The TinyQED is an ATTiny45 based widget that counts the pulses from a quadrature encoder and makes them available via I2C.