iMacros for the Chrome extension has a drag and drop file manager and is open source. This is what you need?
Chrome extensions are basically just websites, so the same code will work on a regular website.
On the iMacros Extension Gallery page:

source
share