Extracts history activity for Safari and Chrome on OS X/macOS and plots proportional amount of activity for different days of the week and for different hours of a day (localized by time zone).
I don't really know what this says about my behaviour and would like to process the data more in future versions to gain more insight.
git clone https://github.com/jasonrwang/BrowserActivity_DayofWeek.git
so you have a local copypython main.py
Alternatively, if you download this as a ZIP to your Downloads folder, use python ~/Downloads/BrowserActivity_DayofWee-master/main.py
from Terminal
Input into timezones.txt a comma separated list of timezones you were in. If you were only in one timezone, you will still need to use this.
Format: start_time,end_time,time_zone
Times should be in ISO 8601 () format or 'now' (without quotations). Timezones should be in Olson time zones. Use 0,now,[Your timezone code]
as a default.
v0.4.2 Limited timezone support
v0.4.1 Hour of Day Analysis added
v0.3 Chrome added, Rename
v0.2 Percent Use
v0.1 Basic functionality added:
History.db
file from ~/Library/Safari/
automaticallyP.S. This is my first python script! I have a feeling it could be much faster since I suspect I did not use numpy to its full capabilities. Suggestions are welcome.