/App-drophandler

drag-and-drop URL receiver

Primary LanguagePerl

NAME

App::drophandler - drag-and-drop URL receiver

This app allows you to launch custom actions when you drag and drop data from other browsers into its window. For example, you can download Youtube videos via youtube-dl by configuring the following action in config.yml:

- title: Youtube
  handlers:
      - name: Youtube-download
        url_like: (https?://(?:youtu.be|youtube.com)/.*)
        handler: "youtube-dl \"$1\""

This app also makes it easy to configure bookmarklets for such actions so that you can also trigger the actions from within your browser without needing to leave the browser.

TODO: add a gif animation of the above here

restructure_arguments

Restore the datastructure (AoH) from a series of keys of the form data[n][foo].