Giter Club home page Giter Club logo

minute-agent's Introduction

A keycounter, made to record one-dimensional data of computer usage for the purpose of visualization and analysis.

Use it with

minute is the original - it uses d3js to render minute output in-browser with some interactivity.

Sleep Chart calculates hours of sleep based on keystroke gaps. Depressing, right?

basically.js is a non-interactive but faster minute visualization based on node-canvas.

weekgram.js draws keystroke frequency per minute for a week, showing patterns in sleeping hours, etc.

How to Use it

Download the binary (see below), and run it. It'll record keystrokes at ~/Documents/minute/keystrokes.log in a CSV document. In order for this to work, you need to grant hihowareyou Accessibility access under Security & Privacy of your System Preferences.

Remember: when you upgrade OSX, your accessibility permissions can get wonky. Remember to re-enable access after updating.

Developers

You can compile from source here, but you probably want to just download a pre-built binary to get this working.

See Also

What it Does, Technically

It fills in a log at ~/Documents/minute/keystrokes.log with the number of keystrokes you make every minute.

All it does is count keystrokes. Unlike a keylogger, it doesn't steal your money, or do anything amusing that gains national attention. If you don't trust me, read the horribly constructed Objective-C yourself, or don't use it.

It requires the Accessibility API to enabled, or for you to trust the application.

minute-agent's People

Contributors

mcwhittemore avatar tmcw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

minute-agent's Issues

Breaks with mavericks?

@tmcw are you still using this and if so, did you run into problems getting it to work with Mavericks?

The security settings seemed to have changed. The internets says that enable access for assistive devices now needs to be done from security and privacy rather than accessibility. Any help would be great.

screen shot 2014-07-03 at 12 42 07 am

~/log/keystrokes.log has to exist

The first time I ran the agent, nothing was logged.. Looking at the code it seems the code expects the directory ~/log exists and that the file ~/log/keystrokes.log exists. (I'm no Mac programming expert, but I think fileHandleForWritingAtPath won't create files, only let you write to existing files). Creating that directory and file (empty) by hand allows the program to log data.

Breaks with Yosemite

After I upgraded to Yosemite, this agents seem to stop logging to the files. I've noticed it until today when I try to do some parsing into that data.

Does anyone encounter the same issue here?

icon paths missing when building from github

Did a clean clone of the github repository and then a build with Xcode 4.1. Ran into some path snafus; the build wants minute-agent/icon-raw.icns and minute-agent/icon-raw (1).icns which don't exist. Manually copying hihowareyou/icon-raw-2.icns to those paths fixes the build, but presumably it'd be better to change the icon path references in the build files.

When keystrokes file is stored in a Dropbox folder, changes aren't detected by Dropbox

Not sure if this is an issue with Dropbox or something to do with the way the keystrokes file is written to but I have my file stored in dropbox for syncing between computers and it appears to work fine until you head to another computer and notice that the file was never synced up to Dropbox despite it saying it's up to date.

Is it possible that the way the file is written to prevents changes from being detected?

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.