browser-wakatime
browser-wakatime copied to clipboard
Detect Jupyter IDE and set editor to Jupyter
I'm am a data scientist and 80% of my coding time is spent in Jupyter IDE which runs in a browser. It is also the only websites I have whitelisted. Is there any way to prevent WakaTime from considering this browsing?
@arose13 have you considered coding using VSCODE
instead of Chrome? In addition we've been planning to create a plugin for Jupyter IDE.
@gandarez I think the current WakaTime Chrome extension is doing a great job, assuming one is launching the Jupyter (lab) server from a local git repository. Here is what I was about to post in a separate issue.
To my surprise, the WakaTime Chrome extension should track down the git-repo from which the Jupyter server is launched! How nice! I did not set special Custom rules for tracking a new GitHub repo, yet, the 5 minutes of time spent in a Jupyter Lab notebook was counted towards this new project. I think this is reproducible with a bare-minimal setup. Here is mine:
To better account for the browser time, I use a dedicated Chrome "profile" that only has two extensions installed, one is Ghost text and the other is WakaTime. Per my logged time, the Jupyter Lab session is actually hosted on another local machine, and I used port-forwarding to access it. I do have WakaTime CLI installed on the host machine.
I assume the WakaTime Chrome extension fetches something deep in the Jupyter lab page, as it has been granted Read and change all your data on the websites you visit
privileges in Chrome. I am pretty sure it was the Chrome extension that was sending the heartbeats, as 0 "browser time" was logged before I installed the Chrome extension.
You can change category to Coding
by matching category Browsing
using custom rules.
Part of #47.