-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
module suggestion: ActivityWatch #64
Comments
I've played around with this a bit, and the docs don't really document everything that well (seems they've been in the process of migrating to rust-based core as well). had to go and poke in here, and couldn't get the delete route to work after fiddling with it for a bit. However, I was able to get event data from it, so that wouldn't be a limiting factor, at least for now. I'm not sure how this would work with multiple buckets/generic events either. The window watcher/afk modules are standard, but how would one support loading in arbitrary data buckets? As it says there:
I really did like Generally curious if you're using ActivityWatcher for anything else, is there some data you'd want to expose through the API? |
👋 I wrote a basic interface for ActivityWatch. My extractor & DAL code is here: https://github.com/hpi/activitywatch My synchronization code is https://github.com/hpi/aw-sync-client and https://github.com/hpi/aw-sync-server It works alright from what I've seen but there could still be fiddling needed. The way I accomplished this is using the query endpoints then synchronizing to an off-site server (not at all required tbh, I should modify the extractor to call directly), then my extractor (currently) calls out to my external AW sync server. I did this so I can run AW on my personal Linux & WIndows along with any work computers. |
Couldn't this be merged to HPI ? |
It could be, but it doesnt have to be for you to use it -- if you have the client/server setup and you have this installed as editable, you can do something like what I describe here:
you can then import |
Since Ive started using activitywatch on my android and windows machines, I also published a basic library to parse the JSON dump from activitywatch here, with the corresponding HPI file in my modules (see here for install instructions) This only does the window titles/app names in particular with timestamps/durations, since thats what Ive always been interested in from activitywatch |
Is there any way to import ActivityWatch info?
They have API with docs - https://docs.activitywatch.net/en/latest/rest.html
The text was updated successfully, but these errors were encountered: