Skip to content

ActivityWatch watcher to track running Harvest timer

Notifications You must be signed in to change notification settings

bhank/aw-watcher-harvest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 github@mail2.coyne.nu

About

ActivityWatch watcher to track running Harvest timer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published