isaaclyman / novel-word-count-obsidian

Obsidian plugin. Displays a word count or other statistic for each file, folder and vault in the File Explorer pane.
https://obsidian.md/plugins?id=novel-word-count
MIT License
82 stars 8 forks source link

[Feature Request] Export (or query) statistics generated by the plugin #89

Closed bakuzan closed 3 months ago

bakuzan commented 3 months ago

Problem

The plugin is very good at displaying contextual information against each file, however, it is annoying to do comparisons between many files throughout a vault. At present, I have to type out the information displayed next to each file into its own file to be able to do some comparisons, which has the problem of becoming out of date if files are updated or added.

Idea

I'm not fussed whether the solution is an export or the ability to query within obsidian. For an export, it could be a button in the config section to dump all the statistics that the plugin generates into a JSON file.

For the ability to query within obsidian, it would probably be a much bigger task and could be handled in a number of different ways, which probably rules it out as a solution.

isaaclyman commented 3 months ago

The plugin already maintains a JSON file with the raw data. See {vault}/.obsidian/plugins/novel-word-count/data.json.