Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 795 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 795 Bytes

aw-watcher-harvest

A watcher for ActivityWatch which tracks the currently running Harvest timer.

This is an initial release and not yet guaranteed to do anything useful.

To use it, create a Harvest personal access token on the Harvest developer site, and add the token and account ID to a new config.json file looking like this:

{
    "harvestHeaders": {
        "Authorization": "Bearer xxxxxxxxx",
        "Harvest-Account-Id": "yyyyy"
    }
}

Then run node main.js and leave it running. It will poll Harvest every 30 seconds (or whatever number of milliseconds you specify as updateInterval in config.json) and log the running timer, if any.

-Adam Coyne [email protected]