mirror of
https://github.com/khabaroff-studio/obsidian-webhooks-server.git
synced 2026-07-22 07:16:00 +00:00
- Rename plugin ID to "webhooks-v2" (no "obsidian" in ID per directory rules) - Add normalizePath() to file_handler.ts (required by guidelines) - Add network usage disclosure to README - Add LICENSE, versions.json, version-bump.mjs - Add release-plugin.yml workflow (trigger: plugin-* tags) - Copy manifest.json to repo root (Obsidian validator requirement) - OpenSpec proposal 021 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2 KiB
2 KiB
Webhooks V2
Receive webhooks from external services and create notes in your vault via a self-hosted server with real-time delivery.
Features
- Real-time delivery via Server-Sent Events (SSE) with polling fallback
- Exactly-once delivery with acknowledgment (ACK) system
- Event deduplication prevents duplicate writes
- Append or overwrite mode for file content
- Auto-create folders when target path doesn't exist
- Connection status in the status bar
- Self-hosted — your data stays on your server
Requirements
- A running instance of Webhooks Server
- A client key from the server dashboard
Network usage
This plugin connects to your self-hosted webhook server to receive events via SSE and HTTP polling. All network traffic goes exclusively to the server URL you configure in settings. No data is sent to any third-party service.
Installation
From community plugins
- Open Settings > Community plugins > Browse
- Search for Webhooks V2
- Click Install, then Enable
Manual
- Download
main.js,manifest.json, andstyles.cssfrom the latest release - Create a folder
webhooks-v2in your vault's.obsidian/plugins/directory - Copy the downloaded files into that folder
- Enable the plugin in Settings > Community plugins
Usage
- Register at your server's dashboard to get a client key
- Open plugin settings and paste your client key
- Click Test to verify the connection
- Send a webhook to your server:
curl -X POST "https://your-server.com/webhook/YOUR_WEBHOOK_KEY?path=inbox/note.md" \
-H "Content-Type: text/plain" \
-d "Hello from webhook!"
The content will appear in your vault at the specified path.
Credits
Based on the original obsidian-webhooks plugin by @trashhalo.