Open nokome opened 7 years ago
As a user I would like to be able to past a URL from my browser's address bar, Dropbox shared folder link etc and the correct protocol be used.
HTTP addresses should get parsed and delegated to other protocols if necessary e.g.
https://github.com/stencila/examples
-> github://stencila/examples
https://www.dropbox.com/sh/el77xzcpr9uqxb1/AABJIkDNXo_-sKnrUtQvCxC4a?dl=0
-> dropbox.com://el77xzcpr9uqxb1/AABJIkDNXo_-sKnrUtQvCxC4a
Moving from https://github.com/stencila/cli to https://github.com/stencila/hub. Please triage there as necessary.
Fetch a document bundle from a HTTP URL. e.g.
This would use
wget --recursive --no-parent ...
, or similar, to get the contents of a web directory. It would rely on the page at the URL having links to files in that directory e.g.<link rel="requires" href="requirements.txt">
<link rel="data" href="data.csv">
Noting that the Alpine Linux version of
wget
does not support those options. Different base image forstencila/sibyl-server
? Different version ofwget
?