tockler icon indicating copy to clipboard operation
tockler copied to clipboard

[Feature request] A setting to export data automatically

Open maystroh opened this issue 9 months ago • 7 comments

Can you please add a setting to automatically schedule an export (csv or json) for the last n days in a folder of our choice? so developers can automate their analysis

Not sure if it was requested before.

Thanks for this insightful project.

maystroh avatar Apr 10 '25 11:04 maystroh

Thanks!

Can you give more details how that automated analysis would work?

MayGo avatar Apr 12 '25 18:04 MayGo

A few options that would help:

  • Export frequency (daily, weekly or last n days)
  • Time of day to run export (if not online, run it whenever the user is online)
  • File naming pattern (e.g., activity_YYYY-MM-DD.json)
  • Format selection: CSV or JSON

maystroh avatar Apr 12 '25 21:04 maystroh

Thanks, I am thinking that this is not something this app should do.

I need to think all the options. One option would be that you will initiate the generation of file throught API or command line.

If those files are in a folder. How are you using those files? Are you using some application to parse those? Is this application checking in interval, if that folder has new files?

MayGo avatar Apr 13 '25 07:04 MayGo

One option would be that you will initiate the generation of file throught API or command line. Comment: This would be good, so it can be automated whenever needed by other scripts.

How are you using those files? Are you using some application to parse those? Is this application checking in interval, if that folder has new files? Comment: Yes, I need to analyze my daily screen time using AI tools.

One more feature that would be helpful as well is the keystroke /min (or / hour), with a heatmap showing this number. Why not to think about having the ability to save (as a setting default to false) to save all keystroke done by the user on daily basis.

maystroh avatar Apr 15 '25 08:04 maystroh

Ok, so input CSV to AI tool, and let it make some summary. I have done it. It is cumbersome to select yesterday from search and then download, and then upload to chatGPT. For me it actually did not prove very beneficial. Perhaps I am prompting it wrong. It would be nice to have some insights how AI is beneficial to you with Tocker data. Have thought about adding AI option to Tockler - user will provide his own OpenAI api key (or some other).

Can you make another ticket about the keystrokes thing? First though: hell no I will save all keystrokes :). It is not that kind of monitoring app. But to save only some stats, perhaps. It would be nice to know why it is good to know that. Sell me this :)

MayGo avatar Apr 15 '25 09:04 MayGo

The idea is to analyze everything we do on pc. Keystrokes, screen time, apps, titles and everything we can have access to (it might go to taking a screenshot every n minutes of the screen). Using AI, it can help analyze your (unconsious) habits on pc (attention shifts etc...). It also can generate reports on daily/weekly summary of our main acheveiments, main topics (tasks) addressed. Briefly, it can give a consistent (not perfect) analysis of how our time on pc is affecting our life and productivity.

Here how an AI can sell you the keystroke idea

If you buy it, tell me to open another ticket

maystroh avatar Apr 15 '25 10:04 maystroh

I like the idea of AI telling me if I am not doing something I am not supposed to do. Or even give guidance based on different inputs (screenshots, keylogs, etc). Have thought making something like that myself. But Tockler as open-source and free can't be that kind of app.

But for about logging some KPI-s about keystrokes, I could do that. Make a ticket and if there are some likes or comments that other people also want it. Also conserned about lack of options how to implement this, cross platform. There is https://github.com/LaunchMenu/node-global-key-listener, but it is archived now.

MayGo avatar Apr 20 '25 19:04 MayGo