DevUtilsApp / DevUtils-app

All-in-one Toolbox for Developers. Native macOS app.
https://devutils.com
Other
4.09k stars 222 forks source link

[Feature] Add Custom URL Scheme Tool Selection & Options #81

Open calendee opened 2 years ago

calendee commented 2 years ago

I'd really love for DevUtils to support macOS Custom URL Schemes so we could use other automation tools to trigger different functionality.

For example:

  1. devutils:///html-format
    • Open the DevUtils app to the HTML Formatting tool
  2. devutils:///html-preview
    • Open the DevUtils app to the HTML Preview
  3. devutils:///htmlformat?icr=true
    • Open the DevUtils app to the HTML Formatting tool and trigger Instant Clipboard Replace
    • Could be another great way to speed up #79 using something like the Raycast Scripts Commands.
    • If you implement this Custom Scheme, I'd jump into Raycast and submit a PR to add some sample commands like:
  4. devutils:///query-to-json?icr=true
    • Open the DevUtils app to the Query String to JSON tool and trigger Instant Keyboard Replace
  5. devutils:///htmlformat?icr=true&output=1-tab or devutils:///htmlformat?icr=true&output=minified, etc.
    • Open the DevUtils app to the HTML Formatting tool and trigger Instant Clipboard Replace using tabs or minify the output.
trungdq88 commented 2 years ago

Hi @calendee, thank you for this!

This is something I planned to add to DevUtils as well. It will make the integration with other apps much easier (Raycast, Alfred, Hammerspoon, etc.)

I'll keep this issue active and will let you know once it's available. Thanks! :)

trungdq88 commented 2 years ago

This is now available!

https://tdinh.notion.site/DevUtils-Integrations-df240e3728ae4ab0b02fbe8f6321b5fb

calendee commented 2 years ago

🎉