Giter Club home page Giter Club logo

keytaps's Introduction

KeyTaps (OSX Lion only)

It started as a thought. How many keys to you type in a given day as a developer? How long would it take you to reach 1M keystrokes? I figured it couldn't be hard to make a very basic key logger that just keeps track of how many keys you type in a given "session." Turns out it wasn't too bad... it is, however, mostly useless :)

I'm still reading this

Well, its about this easy I found out:

unsigned long taps;
monitor = [NSEvent addGlobalMonitorForEventsMatchingMask:NSKeyDownMask handler:^(NSEvent *event)
{
  taps++;
}];

The app kind of spiraled down some weird paths from there... It is also lion specific since I used menu views in a few places, which aren't supported < Lion.

Screens!

Heres how it sits in your menu:

in menu

And if you want to run a focused session as you code (to watch the numbers fly on by!) It currently tracks your last 5 sessions. The each time you reset the session your total goes into your daily aggregate bucket. (Not very accurate across multiple days).

session

Nothing too brutal, but still interesting to see what you can type in a given day. (The numbers in these screens are actually pretty low.)

keytaps's People

Contributors

robhurring avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.