feat: add Obsidian CLI API service
Build and Push Docker Container / build-and-push (push) Successful in 4m26s

- Add Docker image for the official Obsidian desktop app and CLI.

- Start Obsidian headlessly with Xvfb and DBus setup.

- Expose a safe structured HTTP command API without shell execution.

- Add JWT-based vault, path, and command authorization.

- Support single-vault and multi-vault container mounts.

- Add TypeScript SDK helpers for Obsidian CLI commands.

- Add n8n community node package with Obsidian operations.

- Add docs, compose config, tests, and production image workflow.
This commit is contained in:
2026-06-24 09:11:13 +02:00
commit 902a3df8b5
34 changed files with 5153 additions and 0 deletions
@@ -0,0 +1,50 @@
{
"name": "n8n-nodes-obsidian-api",
"version": "0.1.0",
"description": "n8n community nodes for the Obsidian API Docker service backed by the official Obsidian CLI.",
"license": "MIT",
"homepage": "https://git.yiprawr.dev/Docker/obsidian-api",
"repository": {
"type": "git",
"url": "git+ssh://git@git.yiprawr.dev/Docker/obsidian-api.git",
"directory": "packages/n8n-nodes-obsidian-api"
},
"keywords": [
"n8n-community-node-package",
"n8n",
"obsidian",
"obsidian-cli",
"notes"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc -p tsconfig.json && mkdir -p dist/nodes/ObsidianApi && cp nodes/ObsidianApi/obsidian.svg dist/nodes/ObsidianApi/obsidian.svg",
"typecheck": "tsc -p tsconfig.json --noEmit",
"lint": "eslint nodes credentials shared --ext .ts"
},
"files": [
"dist",
"nodes",
"credentials",
"shared"
],
"n8n": {
"n8nNodesApiVersion": 1,
"credentials": [
"dist/credentials/ObsidianApi.credentials.js"
],
"nodes": [
"dist/nodes/ObsidianApi/ObsidianApi.node.js"
]
},
"devDependencies": {
"@types/node": "^24.0.0",
"eslint": "^9.29.0",
"n8n-workflow": "^1.82.0",
"typescript": "^5.9.0"
},
"peerDependencies": {
"n8n-workflow": "*"
}
}