Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I have written some small scripts in the past which capture more or less exactly what I do on my computer, i.e. every 10 seconds, it saves the related URL and other information of the application which is in the foreground.

https://github.com/albertz/timecapture

So far, I haven't really written any analysis scripts for the collected data. But just out of curiosity about my Facebook usage, I hacked together a small script (https://github.com/albertz/timecapture/blob/master/stats.py). The time varies a bit, mostly between a few seconds up to 20 minutes per day for me.

Feel free to fork and extend. :)



Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: