Hability to create a blog from Joplin Notes

Is there a way to connect to Joplin in real time? I want to implement the new, edit and remove notes operations in my blog. My blog is not dependent on any blog frameworks, it is written by my hands, and until now it is still a dynamic website rather than a package of static pages. Since I used Joplin, I have always wanted to integrate my own set of markdown system with it.

I'm working on the adaptor to Joplin Terminal CLI. It may help.

And I noticed that the CLI doesn't support sub-notebooks so I reply to an issue just now.