Hey @trydalch ,
I had a few hours during the weekend and started working on this, I added everything so far to a git repo and sent you an invite to collaborate for that project (GitHub - Darakah/obsidian-history: Activity monitor for Vault & specified projects). The current main.ts grabs the size of the vault, timestamps it and saves to plugin data.
Was adding a Svelte component to create the heatmap from this project (not done yet) GitHub - scottbedard/svelte-heatmap: A light weight and customizable version of GitHub's contribution graph.
The main things to add:
- Add a function to get the range of available years from the plugin data
- Convert data format to fit svelte-heatmap input data (especially the date)
- Create a dropdown to choose the year which would trigger an update on the heatmap to show the year in question
Please feel free to use it.
The main idea behind this plugin is to create a set of plugins that can be incorporated into an activity sheet for a given project (A project Dashboard of sorts), I mention this because next on my list was a block to show recent active / modified files which your plugin is dealing with. to name a few:
- Activity board (this post)
- Recent notes
- Tag stat distribution
- Forgotten notes mention
- Various status tagged note list (#important #modify #update for example)