I am trying to write a watcher for sublime something similar to what has been done for vscode. But I am not able to understand how to test my watcher. How to test that it’s working fine.
what all will I need to clone from activity watch to test it?
I am trying to write a watcher for sublime something similar to what has been done for vscode. But I am not able to understand how to test my watcher. How to test that it’s working fine.
what all will I need to clone from activity watch to test it?
I have no experience with sublime plugins, but what you need is to do is run activitywatch and do HTTP requests to our API (can be seen from http://localhost:5600/api) which can be easily done with out libraries aw-client (for coding in python) or aw-client-js (for coding in javascript/typescript).
After that, create a bucket with those libraries and insert your events which should then be visible in the “Raw Data” tab in the webui.