[share] Append to Quick Draft

Just in case there are other Quick Draft users here, I just made this small extension to send text to your Quick Draft scratchpad.

(For those who don’t know Quick Draft, it’s a very lightweight scratchpad that lives in the menu bar and syncs instantly with its iOS version via iCloud. I highly recommend it)

2 Likes

Thanks for sharing the extension!

If I may make a suggestion, the extension would be improved by changing it from a shell-script extension to an Open URL extension.

Currently, by using a .sh file, it shows a warning to users and requires them to place great trust in you that your .sh file is not malicious (or verify it themselves, as I did).

However, you can achieve the same outcome by deleting the .sh file and changing the Config.json file as follows:

{
  "name": "Append to Quick Draft",
  "icon": "icon.png",
  "description": "Appends the selected text to Quick Draft, a scratchpad application.",
  "actions": [
      {
          "title": "Append to Quick Draft",
          "url": "quick-draft://x-callback-url/append?text={popclip text}"
      }
  ]
}

This would have the benefit of being simpler, safer, and avoiding the user-facing warning on install.

Of course. I should have re-read the docs instead of just duplicating another extension and replacing the script’s contents. I’ve just updated the file like you suggested.

Thanks a lot for the feedback!

1 Like