kjgcoop/php-trilium-next-api

A package to make changes to a Trilium Next instance

dev-main 2025-06-04 06:13 UTC

This package is not auto-updated.

Last update: 2025-06-05 04:30:48 UTC


README

Simple API to talk to a Trilium Next instance. To generate the $config variable, create a file like the following:

trilium_endpoint=https://[your domain]/etapi/
trilium_key=[Your key]

zip=[Desired zip]

log=true
echo=true

Have PHP read it with parse_ini_file() and pass that function's output to this package.

The log and echo variables aren't in use right now; I plan to pull in a proper logger.