baskerville / plato

Document reader
Other
1.26k stars 105 forks source link

[Feature request] Reading statistics? #375

Open leg7 opened 1 month ago

leg7 commented 1 month ago

Would adding simple reading statistics be feasible? I'm not even asking about a fancy UI to display them or anything but just logging to a file so I can look into it later and do data analysis.

I think logging to a global csv file readingSessions.csv would be enough. The columns would be something like Title,Author,Timestamp,MinutesSpentReading. Then anyone could import this in R or python and make some cool vizualisations and analysees.

This logging would trigger everytime the device goes to sleep while reading a file or when exiting to the home screen. Maybe don't log the session if it's less than a minute?