Using keystroke.el
To use keystroke.el, you need to:
- Download
keystroke.el. For now, this is best accomplished by runninggit clone git://git.pavpanchekha.com/keylogger.el.git - Set up the Emacs end of the data collection by loading
keystroke.eland running remember-every-key-stroke. - You actually probably want to set up Emacs to run
load-every-key-strokeand thenremember-every-key-strokeevery time you start Emacs. - Next, use Emacs for a while. Type something. Write a story. Hack.
- Emacs will save keystroke data every half-hour; or, run save-ever-key-stroke to save immediately.
- In the
keystroke.elfolder, runtranslate.py; it will convert Emacs's data into data consumable with JavaScript - Now open up
graph.htmlin your favorite data; if you're viewing this page, you already know how. Note that you'll need JavaScript to use the viewer properly. - You probably want to set up something like Dropbox to sync the saved data between different computers.
Troubleshooting
If you're having problems, have you checked that...
- You've saved some data in Emacs?
- You've run
transform.pylately? - You have an HTML5-supporting, JavaScript-enabled browser?