Export notebook to json file for local AI applications

Tell us what could be improved in MyInfo
Post Reply
Crystal401
Posts: 128
Joined: Fri Jul 13, 2007 11:59 pm

Export notebook to json file for local AI applications

Post by Crystal401 »

Petko,

Would it be possible to consider to export notebooks
as json files (utf-8 text)?
This would enable users to use local AI applications
to read the content of the mio file, and to come up with interesting use cases. I think this could become
a major selling point.
Regards,

A simple implementation:
1) File>Export>Export to> json file
2) in new window, have option to select attributes using checkboxes

- title
- parent_title
- backlinks
- tags
- content // the note content
- created // yyyy-mm-dd hh:mm:ss format
- updated // yyyy-mm-dd hh:mm:ss format
- comment
... and other meta data

3) for images, tables, attachments in notes, maybe create a placeholder metadata tag like
</image>, </table>

4) Save As
- location to save the json file
Telesto
Posts: 3654
Joined: Fri Dec 15, 2017 5:32 pm

Post by Telesto »

Crystal401 wrote: Sat Jul 26, 2025 3:05 pm to use local AI applications to read the content of the mio file, and to come up with interesting use cases.
It's not clear to me what you exactly mean by this:
A. Letting AI read the content to come up with interesting use cases for the data stored within MyInfo?
B. (I) to use local AI applications to read the content of the mio file (II) Petko/MyInfo giving show cases how MyInfo can be useful to store (small sets) of training data to feed some personal AI model?
C) Exporting the MyInfo data so say Windows Copilot being able to access the information? In that case I would generally prefer direct connection (API), instead of relying on static export, which can be outdated. Nothing having JSON export as alternative though.

---
What of use-cases do you have in mind? It really depends for what purpose you're using MyInfo. So which type of data is stored is inside. Code-snippets, todo-lists, cookbook

---
What seems to be more common: all sorts of AI assistants stuff similar to all the Obidian plugins: https://obsidian.md/plugins?search=ai. Or Evernote Automatic Note Cleanup. All nice to have have if the data being processed locally, IMHO. Although I admit I still lacking trust in AI features, like summary's. It's nice for quick glance, but prefer to read full article myself.

---
A more fundamental question: is there a need for (tree)information organizer. You can in principle have bunch unorganized files on your disk (images, text, source code). AI can crawl index/everything and find the information with simple query (incl search for synonyms) So why bother using an organizer like MyInfo? More concrete example: what's the need to store code-snippets inside MyInfo, if AI being able find it quickly on the web anyhow, regardless how deeply buried within a forum on the web? Or maybe it can even write the code itself?

AI is able to see through chaos/disorganized information; a human isn't. So AI is able to connect dots also in large sets of data and even regardless of how the information being structured (even cross domain). Nice feature. OTOH AI doesn't need to structure information in a human way. So if rely on AI to manage data it might be bunch of files (or single file) without any human recognizable hierarchy. Which makes you deeply depend/reliant of AI to able to retrieve information.
Crystal401
Posts: 128
Joined: Fri Jul 13, 2007 11:59 pm

Post by Crystal401 »

Ideally, I would prefer to have an API that can connect to the MI data directly (mnb file).
It would be much easier to build a MCP service in that manner.
However, realistically speaking, building a robust API would require a lot of time.
Export to json would take much less effort.
I am thinking of a 50% solution, where AI will have read only access to a
snapshot of the data.
I proposed json as AI tools will have a much easier time to parse json format data.
Telesto
Posts: 3654
Joined: Fri Dec 15, 2017 5:32 pm

Post by Telesto »

Crystal401 wrote: Sat Jul 26, 2025 9:37 pm Export to json would take much less effort.
I am thinking of a 50% solution, where AI will have read only access to a
snapshot of the data.
I proposed json as AI tools will have a much easier time to parse json format data.
True. Well +1 from me.
Post Reply