Stigmatoz / web-activity-time-tracker

Chrome Extension that tracks and limits time you spent on sites
https://chrome.google.com/webstore/detail/web-activity-time-tracker/hhfnghjdeddcfegfekjeihfmbjenlomm
MIT License
757 stars 115 forks source link

[Feature Request] obsidian sync #105

Open warmbupt opened 1 year ago

warmbupt commented 1 year ago

I think by using https://coddingtonbear.github.io/obsidian-local-rest-api/, this plugin could sync all the time tracking data to obsidian.

Could anyone also like this feature?

Thanks!

yamenw commented 1 year ago

I would use this feature for personal use, I think that the best possible implementation would to periodically (e.g. every 5 minutes, customizable) write the data to a daily note or daily file, overwriting the contents each time because updating it would probably be unnecessarily complex, you can have it write to a .log file but would require you to parse it Obsidian.md.

After that, you can probably just use markdown/mermaid.js to create a pie chart or a table to visualize the data.

If the REST API does not work, the Advanced URI plugin could perhaps be used instead