Getting data out of obsidian?

For QS purposes I would like to have a web dashboard with my habit streaks, journaling information etc.

For data stored in a web API or say in a Google Sheet I am able to get this data easily and display it on a webpage.

Has anyone done this kind of thing with information stored in YAML frontmatter? Would it be a case of hosting the md files somewhere accessible and then using some kind of API/tool to interact with the frontmatter?

That sounds about right.