{"html_url": "https://github.com/simonw/datasette/issues/52#issuecomment-343557070", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/52", "id": 343557070, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzU1NzA3MA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-10T18:57:47Z", "updated_at": "2017-11-10T18:57:47Z", "author_association": "OWNER", "body": "https://file.io/ looks like it could be good for this. It's been around since 2015, and lets you upload a temporary file which can be downloaded once.\r\n\r\n $ curl -s -F \"file=@database.db\" \"https://file.io/?expires=1d\"\r\n {\"success\":true,\"key\":\"ySrl1j\",\"link\":\"https://file.io/ySrl1j\",\"expiry\":\"1 day\"}\r\n\r\nDownloading from that URL serves up the data with a `Content-disposition` header containing the filename:\r\n\r\n simonw$ curl -vv https://file.io/ySrl1j | more\r\n % Total % Received % Xferd Average Speed Time Time Time Current\r\n Dload Upload Total Spent Left Speed\r\n 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 34.232.1.167...\r\n * Connected to file.io (34.232.1.167) port 443 (#0)\r\n * TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256\r\n * Server certificate: file.io\r\n * Server certificate: Amazon\r\n * Server certificate: Amazon Root CA 1\r\n * Server certificate: Starfield Services Root Certificate Authority - G2\r\n > GET /ySrl1j HTTP/1.1\r\n > Host: file.io\r\n > User-Agent: curl/7.43.0\r\n > Accept: */*\r\n > \r\n < HTTP/1.1 200 OK\r\n < Date: Fri, 10 Nov 2017 18:14:38 GMT\r\n < Content-Type: undefined\r\n < Transfer-Encoding: chunked\r\n < Connection: keep-alive\r\n < X-Powered-By: Express\r\n < X-RateLimit-Limit: 5\r\n < X-RateLimit-Remaining: 4\r\n < Access-Control-Allow-Origin: *\r\n < Access-Control-Allow-Headers: Cache-Control,X-reqed-With,x-requested-with\r\n < Content-disposition: attachment; filename=database.db\r\n ...\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 273026602, "label": "Solution for temporarily uploading DB so it can be built by docker"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/52#issuecomment-350521635", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/52", "id": 350521635, "node_id": "MDEyOklzc3VlQ29tbWVudDM1MDUyMTYzNQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-12-10T03:02:56Z", "updated_at": "2017-12-10T03:02:56Z", "author_association": "OWNER", "body": "I don't think this is necessary.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 273026602, "label": "Solution for temporarily uploading DB so it can be built by docker"}, "performed_via_github_app": null}