To start with, it is a great project and thank you for developing that. I used to use Qbserve (nice vis, and direct feedback via taskbar, but Mac-only). I change my OS to Win, and I was happy to see ActivityWatch (open source and hackable, even with an interactive API help).
I would like to contribute to the dashboard part - as I am into data viz and Vue part (vide my projects). First, things I would like to use personally. Second, if other people like it, I would be more than happy to PR them.
Is it possible to install
aw-webui only and use binaries for everything else? That is, run the app from a release and only have a custom installation of the web interface?
I did try to do that, and while the Vue app runs, it fails to connect:
sockjs.js?9be2:1606 Refused to connect to ‘http://192.168.0.185:27180/sockjs-node/info?t=1578067003591’ because it violates the following Content Security Policy directive: “default-src ‘self’ 127.0.0.1:5666 :27180 ws://:27180”. Note that ‘connect-src’ was not explicitly set, so ‘default-src’ is used as a fallback.
I did set
cors_origins = http://localhost:27180 in
C:\Users\pmigd\AppData\Local\activitywatch\activitywatch\aw-server\aw-server.ini as instructed.
(I tried to install the whole thing, according to instructions, but run in some problems. In any case, my preference is to use a stable version and tweak only the visualization.)