選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

index.html 21 KiB

9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449
  1. <!doctype html>
  2. <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
  3. <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
  4. <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
  5. <!--[if gt IE 8]><!-->
  6. <html class="no-js">
  7. <!--<![endif]-->
  8. <head>
  9. <meta charset="utf-8">
  10. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  11. <title>transfer.sh - Easy and fast file sharing from the command-line.</title>
  12. <meta name="description" content="Easy and fast file sharing from the command-line.">
  13. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  14. <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
  15. <link rel="stylesheet" href="/styles/main.css">
  16. <link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:100,200,300' rel='stylesheet' type='text/css'>
  17. <link href='//fonts.googleapis.com/css?family=Droid+Sans+Mono' rel='stylesheet' type='text/css'>
  18. <script src="scripts/vendor/modernizr.js"></script>
  19. </head>
  20. <body>
  21. <script>
  22. (function(i, s, o, g, r, a, m) {
  23. i['GoogleAnalyticsObject'] = r;
  24. i[r] = i[r] || function() {
  25. (i[r].q = i[r].q || []).push(arguments)
  26. }, i[r].l = 1 * new Date();
  27. a = s.createElement(o),
  28. m = s.getElementsByTagName(o)[0];
  29. a.async = 1;
  30. a.src = g;
  31. m.parentNode.insertBefore(a, m)
  32. })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
  33. ga('create', 'UA-40833733-1', 'transfer.sh');
  34. ga('send', 'pageview');
  35. </script>
  36. <div id="navigation">
  37. <div class="wrapper">
  38. <a href="/">
  39. <h1>transfer.sh</h1>
  40. </a>
  41. <ul class="hidden-xs">
  42. <li><a href="/">home</a>
  43. </li>
  44. <li><a href="/#samples">sample use cases</a>
  45. </li>
  46. <li><a href="/#contact">contact us</a>
  47. </li>
  48. </ul>
  49. </div>
  50. </div>
  51. <section id="home">
  52. <div class="wrapper">
  53. <h2>
  54. Easy file sharing from the command line</h2>
  55. <div class="row animated fadeInDown">
  56. <div id="from-terminal" class=" box col-md-8 col-md-offset-2 col-xs-12">
  57. <div class="terminal-top">
  58. </div>
  59. <div id="terminal" class="terminal">
  60. <code>
  61. <span class="code-title"># Upload using cURL</span>
  62. <br>$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt https://transfer.sh/66nb8/hello.txt
  63. <br>
  64. <br>
  65. <span class="code-title"># Create an alias</span>
  66. <br>$ transfer hello.txt
  67. <br>##################################################### 100.0% https://transfer.sh/eibhM/hello.txt
  68. </code>
  69. </div>
  70. <div id="web">
  71. <code>
  72. <br>
  73. <span class="code-title"># Upload from web</span>
  74. <br>Drag your files here, or <a class="browse" href="#"> click to browse. <br/></a>
  75. </code>
  76. <input type="file" multiple="multiple" style='display: none;' />
  77. <ul class='queue'>
  78. <li>
  79. </li>
  80. </ul>
  81. <div class='all-files'>
  82. <br>
  83. <div>
  84. <span class="code-title"># Download all your files</span>
  85. <br/>
  86. <br/>
  87. <a class="download-zip btn-cta" href="#">zip</a> <a class="download-tar btn-cta" href="#">tar.gz</a>
  88. </div>
  89. </div>
  90. </div>
  91. </div>
  92. <div>
  93. <a href="#features" class="btn-cta btn-home">learn more</i> </a>
  94. </div>
  95. </div>
  96. </section>
  97. <section id="features">
  98. <div class="wrapper container">
  99. <div class="row animated fadeInDown ">
  100. <div class="col-md-3 col-xs-6">
  101. <i class="icon-terminal"></i>
  102. <h3>Made for use with shell</h3>
  103. </div>
  104. <div class="col-md-3 col-xs-6">
  105. <i class="icon-link"></i>
  106. <h3>Share files with a URL</h3>
  107. </div>
  108. <div class="col-md-3 col-xs-6">
  109. <i class="icon-database"></i>
  110. <h3>Upload up to 5 GB</h3>
  111. </div>
  112. <div class="col-md-3 col-xs-6">
  113. <i class="icon-clock"></i>
  114. <h3>Files stored for 14 days</h3>
  115. </div>
  116. </div>
  117. <div class="row animated fadeInDown">
  118. <div class="col-md-offset-3 col-md-3 col-xs-6">
  119. <i class="icon-tag"></i>
  120. <h3>For free</h3>
  121. </div>
  122. <div class="col-md-3 col-xs-6">
  123. <i class="icon-lock"></i>
  124. <h3>Encrypt your files</h3>
  125. </div>
  126. </div>
  127. </div>
  128. </section>
  129. <section id="samples">
  130. <div class="wrapper">
  131. <h2>
  132. Sample use cases
  133. </h2>
  134. <div class="row">
  135. <div class="col-md-6 ">
  136. <h3>How to upload</h3>
  137. <div class="terminal-top">
  138. </div>
  139. <div class="terminal">
  140. <code>
  141. <span class="code-title"># Uploading is easy using curl</span>
  142. <br>$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt
  143. <br>
  144. <br>
  145. <span class="code-title"># Download the file</span>
  146. <br>$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt
  147. </code>
  148. </div>
  149. </div>
  150. <div class="col-md-6 ">
  151. <h3>Create an alias and add it to .bashrc or .zshrc</h3>
  152. <div class="terminal-top">
  153. </div>
  154. <div class="terminal">
  155. <code>
  156. <span class="code-title"># Add this to .bashrc or its equivalent</span>
  157. <br/>transfer() {
  158. <br># write to output to tmpfile because of progress bar
  159. <br>tmpfile=$( mktemp -t transferXXX ); curl --progress-bar --upload-file $1 https://transfer.sh/$(basename $1) >> $tmpfile; cat $tmpfile; rm -f $tmpfile; }
  160. <br/>
  161. <br/>alias transfer=transfer
  162. <br/>
  163. <br/>
  164. <span class="code-title"># Now you can use transfer command</span>
  165. <br>$ transfer hello.txt
  166. </code>
  167. </div>
  168. </div>
  169. </div>
  170. <a class="btn-cta" data-target="#coll" data-toggle="collapse">More examples</a>
  171. <div class="collapse " id="coll">
  172. <div class="row">
  173. <div class="col-md-6 ">
  174. <h3>Upload multiple files at once</h3>
  175. <div class="terminal-top">
  176. </div>
  177. <div class="terminal">
  178. <code>
  179. <br>$ curl -i -F filedata=@/tmp/hello.txt -F filedata=@/tmp/hello2.txt https://transfer.sh/
  180. <br>
  181. <br>
  182. <span class="code-title"># Combining downloads as zip or tar archive</span>
  183. <br>$ curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).tar.gz
  184. <br/>$ curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).zip
  185. </code>
  186. </div>
  187. </div>
  188. <div class="col-md-6 ">
  189. <h3>Encrypt your files before the transfer</h3>
  190. <div class="terminal-top">
  191. </div>
  192. <div class="terminal">
  193. <code>
  194. <span class="code-title"># Encrypt files with password using gpg</span>
  195. <br>$ cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt
  196. <br>
  197. <br>
  198. <span class="code-title"># Encrypt and upload</span>
  199. <br>$ curl https://transfer.sh/1lDau/test.txt|gpg -o- > /tmp/hello.txt
  200. </code>
  201. </div>
  202. </div>
  203. </div>
  204. <div class="row">
  205. <div class="col-md-6">
  206. <h3>Scan for malware</h3>
  207. <div class="terminal-top">
  208. </div>
  209. <div class="terminal">
  210. <code>
  211. <span class="code-title"># Scan for malware or viruses using Clamav</span>
  212. <br>$ wget http://www.eicar.org/download/eicar.com
  213. <br>$ curl -X PUT --upload-file ./eicar.com https://transfer.sh/eicar.com/scan
  214. <br>
  215. <br>
  216. <span class="code-title"># Upload malware to VirusTotal, get a permalink in return</span>
  217. <br>$ curl -X PUT --upload-file nhgbhhj https://transfer.sh/test.txt/virustotal
  218. <br>
  219. </code>
  220. </div>
  221. </div>
  222. <div class="col-md-6">
  223. <h3>Backup mysql database, encrypt and transfer</h3>
  224. <div class="terminal-top">
  225. </div>
  226. <div class="terminal">
  227. <code>
  228. <span class="code-title"># Backup, encrypt and transfer</span>
  229. <br/>$ mysqldump --all-databases|gzip|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt</code>
  230. </div>
  231. </div>
  232. </div>
  233. <div class="row">
  234. <div class="col-md-6">
  235. <h3>Send email with transfer link (uses alias)</h3>
  236. <div class="terminal-top">
  237. </div>
  238. <div class="terminal">
  239. <code>
  240. <span class="code-title"># Transfer and send email with link (uses alias)</span>
  241. <br/>$ transfer /tmp/hello.txt | mail -s "Hello World" user@yourmaildomain.com
  242. </code>
  243. </div>
  244. </div>
  245. <div class="col-md-6">
  246. <h3>Send us your awesome example</h3>
  247. <div class="terminal-top">
  248. </div>
  249. <div class="terminal">
  250. <code>
  251. <span class="code-title"># Your awesome sample will be put here</span>
  252. </code>
  253. </div>
  254. </div>
  255. </div>
  256. </div>
  257. </div>
  258. </section>
  259. <section id="share">
  260. <div class="wrapper">
  261. <h2>Follow on GitHub</h2>
  262. <br>
  263. <br>
  264. <iframe src="http://ghbtns.com/github-btn.html?user=dutchcoders&repo=transfer.sh&type=follow&count=true&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="250" height="50"></iframe>
  265. <iframe src="http://ghbtns.com/github-btn.html?user=dutchcoders&repo=transfer.sh&type=watch&count=true&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="200" height="50"></iframe>
  266. </div>
  267. </section>
  268. <section id="reviews">
  269. <div class="wrapper">
  270. <div class="row">
  271. <div class="col-md-8 col-md-offset-2 col-xs-12">
  272. <blockquote class="twitter-tweet tweet-xl" lang="en">
  273. <a href="https://twitter.com/FloifyDave/status/517383101425516544">
  274. <img class="twitter-profile" src="images/reviews/dave.jpg" alt="">
  275. </a>
  276. <p><a href="https://twitter.com/dutchcoders">@dutchcoders</a> Thanks for transfer.sh. Just used it for a production purpose for a customer. So great, so easy, so https. :)</p>
  277. <a href="https://twitter.com/FloifyDave/status/517383101425516544">
  278. &mdash; Dave Sims (@FloifyDave)</a>
  279. </blockquote>
  280. </div>
  281. </div>
  282. <div class="row">
  283. <div class="col-md-6 col-xs-12">
  284. <blockquote class="twitter-tweet" lang="en">
  285. <a href="https://twitter.com/kareemk/status/517029789191118849">
  286. <img class="twitter-profile" src="images/reviews/kareem.jpg" alt="">
  287. </a>
  288. <p><a href="https://twitter.com/dutchcoders">@dutchcoders</a> love transfer.sh! any change we can *pay* for a self-hosted version?</p><a href="https://twitter.com/kareemk/status/517029789191118849">&mdash; Kareem Kouddous (@kareemk) </a>
  289. </blockquote>
  290. </div>
  291. <div class="col-md-6 col-xs-12">
  292. <blockquote class="twitter-tweet" lang="en">
  293. <a href="https://twitter.com/drakpz/status/517008058841829376">
  294. <img class="twitter-profile" src="images/reviews/pg.jpeg" alt="">
  295. </a>
  296. <p><a href="http://t.co/JomAmqWYEB">http://t.co/JomAmqWYEB</a> by <a href="https://twitter.com/dutchcoders">@dutchcoders</a> is pure awesomeness! any chance of source on github? :-)</p><a href="https://twitter.com/drakpz/status/517008058841829376">&mdash; PJ Spagnolatti (@drakpz)</a>
  297. </blockquote>
  298. </div>
  299. </div>
  300. <div class="row">
  301. <div class="col-md-6 col-xs-12">
  302. <blockquote class="twitter-tweet" lang="en">
  303. <a href="https://twitter.com/jacoblindgren11/status/516975006501203968">
  304. <img class="twitter-profile" src="images/reviews/jacob.jpg" alt="">
  305. </a>
  306. <p>Love transfer.sh! Will be using it from now on! Thanks for the amazing service we can use from the CLI <a href="https://twitter.com/dutchcoders">@dutchcoders</a>
  307. </p><a href="https://twitter.com/jacoblindgren11/status/516975006501203968">&mdash; Jacob Lindgren (@jacoblindgren11) </a>
  308. </blockquote>
  309. </div>
  310. <div class="col-md-6 col-xs-12">
  311. <blockquote class="twitter-tweet" lang="en">
  312. <a href="https://twitter.com/arvestad/status/519507976491499521">
  313. <img class="twitter-profile" src="images/reviews/lars.jpg" alt="">
  314. </a>
  315. <p>transfer.sh is my latest fav service! Try simple command-line and web file sharing! <a href="https://t.co/FSrsb1JKJd">https://t.co/FSrsb1JKJd</a>&#10;Thanks <a href="https://twitter.com/dutchcoders">@dutchcoders</a> !</p> <a href="https://twitter.com/arvestad/status/519507976491499521">&mdash; Lars Arvestad (@arvestad)</a>
  316. </blockquote>
  317. </div>
  318. </div>
  319. </div>
  320. </section>
  321. <section id="share">
  322. <div class="wrapper">
  323. <h2>Share the love</h2>
  324. <ul class="share-buttons">
  325. <li>
  326. <a href="https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Ftransfer.sh&t=" target="_blank" onclick="window.open('https://www.facebook.com/sharer/sharer.php?u=' + encodeURIComponent(document.URL) + '&t=' + encodeURIComponent(document.URL)); return false;"> <i class="icon-facebook"></i>
  327. </a>
  328. </li>
  329. <li>
  330. <a href="https://twitter.com/intent/tweet?source=http%3A%2F%2Ftransfer.sh&text=:%20http%3A%2F%2Ftransfer.sh" target="_blank" title="Tweet" onclick="window.open('https://twitter.com/intent/tweet?text=' + encodeURIComponent(document.title) + ':%20' + encodeURIComponent(document.URL)); return false;"> <i class="icon-twitter"></i>
  331. </li>
  332. <li>
  333. <a href="https://plus.google.com/share?url=http%3A%2F%2Ftransfer.sh" target="_blank" title="Share on Google+" onclick="window.open('https://plus.google.com/share?url=' + encodeURIComponent(document.URL)); return false;"> <i class="icon-gplus"></i>
  334. </a>
  335. </li>
  336. <li>
  337. <a href="http://www.linkedin.com/shareArticle?mini=true&url=http%3A%2F%2Ftransfer.sh&title=&summary=&source=http%3A%2F%2Ftransfer.sh" target="_blank" title="Share on LinkedIn" onclick="window.open('http://www.linkedin.com/shareArticle?mini=true&url=' + encodeURIComponent(document.URL) + '&title=' + encodeURIComponent(document.title)); return false;"> <i class="icon-linkedin"></i>
  338. </a>
  339. </li>
  340. </ul>
  341. </div>
  342. </section>
  343. <section id="contact">
  344. <div class="wrapper">
  345. <i class="icon-mail"></i>
  346. <h2>
  347. Any questions?
  348. </h2>
  349. <a href="#" data-uv-trigger class="btn-cta">contact us</a>
  350. </div>
  351. </section>
  352. <section id="tor">
  353. <div class="wrapper">
  354. <a href="https://torproject.com"><img src="images/tor.svg" alt=""></a><br/>
  355. <a href="https://jxm5d6emw5rknovg.onion/">https://jxm5d6emw5rknovg.onion/</a>
  356. </div>
  357. </section>
  358. <footer>
  359. <div class="wrapper">
  360. <img src="/images/Logo-orange.png" alt="Founded in Holland">
  361. <p>Made with <i class="icon-heart"></i> by <a href="http://blog.dutchcoders.io/" title="Dutch Coders">Dutch Coders</a>
  362. </p>
  363. </div>
  364. </footer>
  365. <a href="https://github.com/dutchcoders/transfer.sh/">
  366. <img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png">
  367. </a>
  368. <script>
  369. (function() {
  370. var uv = document.createElement('script');
  371. uv.type = 'text/javascript';
  372. uv.async = true;
  373. uv.src = '//widget.uservoice.com/5rkATbLIm8ClJQeOirOhFg.js';
  374. var s = document.getElementsByTagName('script')[0];
  375. s.parentNode.insertBefore(uv, s)
  376. })()
  377. </script>
  378. <!--[if lt IE 7]>
  379. <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
  380. <![endif]-->
  381. <script>
  382. (function(b, o, i, l, e, r) {
  383. b.GoogleAnalyticsObject = l;
  384. b[l] || (b[l] =
  385. function() {
  386. (b[l].q = b[l].q || []).push(arguments)
  387. });
  388. b[l].l = +new Date;
  389. e = o.createElement(i);
  390. r = o.getElementsByTagName(i)[0];
  391. e.src = '//www.google-analytics.com/analytics.js';
  392. r.parentNode.insertBefore(e, r)
  393. }(window, document, 'script', 'ga'));
  394. ga('create', 'UA-40833733-1', 'transfer.sh');
  395. ga('send', 'pageview');
  396. </script>
  397. <script src="/scripts/main.js"></script>
  398. </body>
  399. </html>