{"repo":"perfectra1n/triliumnext-cli","free":true,"listed":false,"github":"https://github.com/perfectra1n/triliumnext-cli","clone":"git clone https://github.com/perfectra1n/triliumnext-cli.git","description":"A CLI for TriliumNext's Trilium","language":"TypeScript","stars":15,"topics":["cli","command-line-interface","notes","trilium"],"license":null,"category":"cli-tools","readme_excerpt":"triliumnext-cli A command-line interface for TriliumNext Notes, providing full coverage of the ETAPI (External API). Features - Complete ETAPI coverage -- all 40 endpoints across notes, branches, attributes, attachments, revisions, calendar, auth, and system - Multiple output formats -- JSON (default, pipe to jq ), table (human-readable), and quiet (IDs only) - Binary-safe -- download/upload note content and attachments, export/import ZIP archives - Markdown support -- create or update notes with markdown content, auto-converted to HTML - Flexible configuration -- CLI flags, environment variables, or config file - Single binary -- zero runtime dependencies, bundled with Bun Installation Download a prebuilt binary (recommended) Grab the latest binary for your platform from GitHub Releases: Or download manually: Available binaries: linux-x64 , linux-arm64 , darwin-x64 , darwin-arm64 , windows-x64 . Build from source Requires Bun to build. The compiled binary has no runtime dependencies. Configuration The CLI resolves connection settings in priority order: 1. CLI flags : --server / --token 2. Environment variables : TRILIUM URL / TRILIUM TOKEN 3. Config file : /.config/triliumnext-cli/config.json (or legacy /.trilium-cli.json ) 4. Default : http://localhost:37740 Config file defaultParent , defaultType , and defaultFormat are optional and tune the behavior of notes create and the global --format flag: - defaultParent -- where notes create puts new notes when --parent is omitted.","default_branch":null,"files":null,"tree":[],"storefront":"/r/perfectra1n","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/perfectra1n/triliumnext-cli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}