Open jwillmer opened 7 years ago
If it is only about the looks then it might be easier to redesign the looks of starcounter-upload
But I agree this one looks more mature, with nice configuration options, etc.
My idea is that contributing to the control would give Starcounter a nice looking control with a lot of features and outsources the maintenance.
I think they will not agree, because there is no standard for uploading via WebSocket.
Dissecting starcounter-upload
into two pieces is a nice alternative. Piece 1 reads the file from disk into an array buffer (might be using https://www.webcomponents.org/element/LostInBrittany/granite-file-reader/granite-file-reader), piece 2 uploads the array buffer over WebSocket.
I found a very nice looking upload webcomponent on GitHub. Maybe fork/merge/contribute it and extend the functionality to upload files over WebSocket?