CoolFace
Apppublic

kgnkcbs/ai-obsidian-n8n

sourceHugging Faceupdated 5mo agoView on Hugging Face
0likes
App README

AI Obsidian Automation for Hugging Face Spaces

This Space runs n8n on a Hugging Face server and exposes two public endpoints:

  • —POST /webhook/ai-notlar
  • —GET /webhook/health

The workflow accepts voice text and clipboard text from iPhone Shortcuts, sends the note to Claude, Gemini, and ChatGPT, then writes the result into your GitHub-hosted Obsidian vault.

What Changed

This package is now server-ready:

  • —no hard-coded Hugging Face username in the Dockerfile
  • —no hard-coded GitHub username in the workflow
  • —no mandatory manual n8n credential setup for OpenAI, Anthropic, Gemini, or GitHub
  • —runtime config comes from Hugging Face Space Variables and Secrets

Required Hugging Face Variables / Secrets

Copy values from hf-space.env.example:

  • —GITHUB_OWNER
  • —GITHUB_REPO
  • —GITHUB_TOKEN

SPACE_HOST is already provided automatically by Hugging Face Spaces, so you do not need to add it manually.

Optional AI provider secrets:

  • —OPENAI_API_KEY
  • —ANTHROPIC_API_KEY
  • —GEMINI_API_KEY

Optional model variables:

  • —OPENAI_MODEL
  • —CLAUDE_MODEL
  • —GEMINI_MODEL

Deploy

  1. 1.Create a new Hugging Face Space with SDK = Docker.
  2. 2.Upload all files from this folder.
  3. 3.Add the variables/secrets listed above in Space Settings.
  4. 4.Build the Space.
  5. 5.Open the Space URL and create the first n8n owner account.
  6. 6.Import n8n_workflow_hfspace.json into n8n.

Prepare The Workflow

Run this once before uploading if you want the workflow converted to the server-ready version automatically:

powershell
powershell -ExecutionPolicy Bypass -File .\prepare-hfspace.ps1

That command updates n8n_workflow_hfspace.json in place and keeps the original as n8n_workflow_hfspace.original.json.