electron-protocol-handler-setup

Solid

Register and handle custom URL protocols (deep linking) across platforms for Electron applications

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# electron-protocol-handler-setup Register and handle custom URL protocols (deep linking) for Electron applications across Windows, macOS, and Linux. This skill enables apps to respond to custom URL schemes like `myapp://` for deep linking and inter-application communication. ## Capabilities - Register custom protocol handlers at OS level - Handle protocol URLs in running application - Configure electron-builder for protocol registration - Implement secure URL parsing and validation - Handle protocol activation on app launch - Support single-instance enforcement with protocol handling - Generate platform-specific registration scripts - Test protocol handling in development ## Input Schema ```json { "type": "object", "properties": { "projectPath": { "type": "string", "description": "Path to the Electron project root" }, "protocols": { "type": "array", "items": { "type": "object", "properties": { "scheme": { "type": "string", "description": "Protocol scheme (e.g., 'myapp')" }, "name": { "type": "string", "description": "Human-readable name" }, "role": { "enum": ["Viewer", "Editor", "Shell", "None"], "default": "Viewer" } }, "required": ["scheme", "name"] } }, "singleInstance": { "type": "boolean", "description": "Enforce single instance with protocol relay", "default": true }, "securityOptions": { "type": "object", "prope...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Related Skills