hangxingliu / vscode-coding-tracker

:clock10: A coding activities tracker(time, file, type)
GNU General Public License v3.0
172 stars 34 forks source link

Overall open time #32

Open Tymek opened 5 years ago

Tymek commented 5 years ago

Can I track not only when VSCode is focused? I like the idea of tracking time by branch, but most of the time I would like to include other activity (reading specs etc, API docs etc). If I try to solve it myself with PRq, where should I start?

hangxingliu commented 5 years ago

You can write an extension for the web browser. and sending activity data by an HTTP request to the tracker server: POST /ajax/upload. and you can get the reference of the request body from:

https://github.com/hangxingliu/vscode-coding-tracker-server/blob/master/test/src/BaseServerTest.js#L25

robgal519 commented 4 years ago

Is there such extension for google chrome available?