zadam / trilium

Build your personal knowledge base with Trilium Notes
GNU Affero General Public License v3.0
27.2k stars 1.9k forks source link

How to create notes automatically by CLI or API? #928

Closed martinmurciego closed 2 years ago

martinmurciego commented 4 years ago

Could pass examples, I would like to be able to create notes by command line or api. I have notes in many flat text files but also in many other applications. I would like it even as a way to integrate into another app. Especially dealing with the installed desktop version.

zadam commented 4 years ago

Hello, there isn't an official REST / command line API (although REST API is planned), but you can relatively easily use custom request handler using which you kind of define your own custom API for what exactly you need ...

zadam commented 2 years ago

Trilium now has REST API: https://github.com/zadam/trilium/wiki/ETAPI