You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

327 rivejä
14 KiB

  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">
  14. <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
  15. <link rel="stylesheet" href="styles/main.css">
  16. <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:100,200,300" rel="stylesheet" type="text/css">
  17. <link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:300,400" 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. <h1>transfer.sh</h1>
  39. <ul>
  40. <li><a href="#samples">Sample use cases</a>
  41. </li>
  42. <li><a href="#contact">contact us</a>
  43. </li>
  44. </ul>
  45. </div>
  46. </div>
  47. <section id="home">
  48. <div class="wrapper">
  49. <h2>
  50. Easy file sharing from the command line
  51. </h2>
  52. <div class="row animated fadeInDown">
  53. <div id="from-terminal" class="box col-md-6 col-xs-12">
  54. <h3>Share from terminal</h3>
  55. <div id="terminal">
  56. <p style="white-space:pre"></p>
  57. </div>
  58. </div>
  59. <div id="from-web" class="col-md-6 col-xs-12">
  60. <h3>Share from web</h3>
  61. <div id="web">
  62. <a class="browse" href="#">
  63. <i class="icon-upload-cloud"></i>
  64. <p class="click">Drag your files here to upload or click to browse</p>
  65. </a>
  66. <input type="file" multiple="multiple" style="display: none">
  67. <ul class="queue" style="color: black; list-style-type: none; margin: 0">
  68. <li>
  69. </li>
  70. </ul>
  71. <div class="all-files">
  72. <h4>Download your files:</h4>
  73. <a class="download-zip btn-cta" href="#">zip</a> <a class="download-tar btn-cta" href="#">tar.gz</a>
  74. </div>
  75. <div>
  76. </div>
  77. </div>
  78. </div>
  79. </div>
  80. <div>
  81. <br>
  82. <br>
  83. <a href="#features" class="btn-cta">learn more </a>
  84. <br>
  85. <br>
  86. </div>
  87. </div></section>
  88. <section id="features">
  89. <div class="wrapper container">
  90. <div class="row">
  91. <div class="col-md-3 col-xs-6">
  92. <i class="icon-terminal"></i>
  93. <h3>Made for use with shell</h3>
  94. </div>
  95. <div class="col-md-3 col-xs-6">
  96. <i class="icon-link"></i>
  97. <h3>Share files with a URL</h3>
  98. </div>
  99. <div class="col-md-3 col-xs-6">
  100. <i class="icon-database"></i>
  101. <h3>Upload up to 5 GB</h3>
  102. </div>
  103. <div class="col-md-3 col-xs-6">
  104. <i class="icon-clock"></i>
  105. <h3>Files stored for 14 days</h3>
  106. </div>
  107. </div>
  108. <div class="row">
  109. <div class="col-md-offset-3 col-md-3 col-xs-6">
  110. <i class="icon-tag"></i>
  111. <h3>For free</h3>
  112. </div>
  113. <div class="col-md-3 col-xs-6">
  114. <i class="icon-lock"></i>
  115. <h3>Encrypt your files</h3>
  116. </div>
  117. </div>
  118. </div>
  119. </section>
  120. <section id="samples">
  121. <div class="wrapper">
  122. <h2>
  123. Sample use cases
  124. </h2>
  125. <div class="row">
  126. <div class="col-md-6">
  127. <h3>Uploading</h3>
  128. <h4>Uploading is easy using curl.</h4>
  129. <code>$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt</code>
  130. <h4>Download the file.</h4>
  131. <code>$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt</code>
  132. </div>
  133. <div class="col-md-6">
  134. <h3>Make an alias</h3>
  135. <h4>Create an alias, and add it to .bashrc for faster use</h4>
  136. <code>$ transfer() { # write to output to tmpfile because of progress bar tmpfile=$( mktemp -t transfer ) curl --progress-bar --upload-file $1 https://transfer.sh/$(basename $1) >> $tmpfile; cat $tmpfile; rm -f $tmpfile; } alias transfer=transfer</code>
  137. <h4>Now you can just use
  138. <strong>transfer</strong> command</h4>
  139. <code>$ transfer hello.txt</code>
  140. </div>
  141. </div>
  142. <a class="btn-cta" data-target="#coll" data-toggle="collapse">More examples</a>
  143. <div class="collapse" id="coll">
  144. <div class="row">
  145. <div class="col-md-6">
  146. <h3>Transfer multiple files</h3>
  147. <h4>Upload multiple files at once
  148. </h4>
  149. <code>$ curl -i -F filedata=@/tmp/hello.txt -F filedata=@/tmp/hello2.txt https://transfer.sh/</code>
  150. <h4>Combining downloads as zip or tar archive</h4>
  151. <code>$ curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).tar.gz</code>
  152. <br>
  153. <code>$ curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).zip</code>
  154. </div>
  155. <div class="col-md-6">
  156. <h3>Encrypt your files before the transfer</h3>
  157. <h4>You can encrypt files using gpg. The following command will encrypt the data before it leaves your server using the password you enter and upload it to transfer.sh.</h4>
  158. <h4></h4>
  159. <code>$ cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt</code>
  160. <h4>Encrypt and upload</h4>
  161. <code>$ curl https://transfer.sh/1lDau/test.txt|gpg -o- > /tmp/hello.txt</code>
  162. </div>
  163. </div>
  164. </div>
  165. </div>
  166. </section>
  167. <section id="reviews">
  168. <div class="wrapper">
  169. <div class="row">
  170. <div class="col-md-8 col-md-offset-2 col-xs-12">
  171. <blockquote class="twitter-tweet tweet-xl" lang="en">
  172. <img class="twitter-profile" src="images/reviews/dave.jpg" alt="">
  173. <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>
  174. <a href="https://twitter.com/FloifyDave/status/517383101425516544">
  175. &mdash; Dave Sims (@FloifyDave)</a>
  176. </blockquote>
  177. </div>
  178. </div>
  179. <div class="row">
  180. <div class="col-md-6 col-xs-12">
  181. <blockquote class="twitter-tweet" lang="en">
  182. <img class="twitter-profile" src="images/reviews/kareem.jpg" alt="">
  183. <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>
  184. </blockquote>
  185. </div>
  186. <div class="col-md-6 col-xs-12">
  187. <blockquote class="twitter-tweet" lang="en">
  188. <img class="twitter-profile" src="images/reviews/pg.jpeg" alt="">
  189. <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>
  190. </blockquote>
  191. </div>
  192. </div>
  193. <div class="row">
  194. <div class="col-md-6 col-xs-12">
  195. <blockquote class="twitter-tweet" lang="en">
  196. <img class="twitter-profile" src="images/reviews/jacob.jpg" alt="">
  197. <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>
  198. </p><a href="https://twitter.com/jacoblindgren11/status/516975006501203968">&mdash; Jacob Lindgren (@jacoblindgren11) </a>
  199. </blockquote>
  200. </div>
  201. <div class="col-md-6 col-xs-12">
  202. <blockquote class="twitter-tweet" lang="en">
  203. <img class="twitter-profile" src="images/reviews/lars.jpg" alt="">
  204. <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>
  205. </blockquote>
  206. </div>
  207. </div>
  208. </div>
  209. </section>
  210. <section id="share">
  211. <div class="wrapper">
  212. <h2>Share the love</h2>
  213. <ul class="share-buttons">
  214. <li>
  215. <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>
  216. </a>
  217. </li>
  218. <li>
  219. <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>
  220. </a></li>
  221. <li>
  222. <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>
  223. </a>
  224. </li>
  225. <li>
  226. <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>
  227. </a>
  228. </li>
  229. </ul>
  230. </div>
  231. </section>
  232. <section id="contact">
  233. <div class="wrapper">
  234. <i class="icon-mail"></i>
  235. <h2>
  236. Any questions?
  237. </h2>
  238. <a href="#" data-uv-trigger class="btn-cta">contact us</a>
  239. </div>
  240. </section>
  241. <footer>
  242. <div class="wrapper">
  243. <img src="images/Logo-orange.png" alt="Founded in Holland">
  244. <p>Made with <i class="icon-heart"></i> by <a href="http://dutchcoders.io/" title="Dutch Coders">Dutch Coders</a>
  245. </p>
  246. </div>
  247. </footer>
  248. <a href="https://github.com/dutchcoders/transfer.sh/">
  249. <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">
  250. </a>
  251. <script>
  252. (function() {
  253. var uv = document.createElement('script');
  254. uv.type = 'text/javascript';
  255. uv.async = true;
  256. uv.src = '//widget.uservoice.com/5rkATbLIm8ClJQeOirOhFg.js';
  257. var s = document.getElementsByTagName('script')[0];
  258. s.parentNode.insertBefore(uv, s)
  259. })()
  260. </script>
  261. <!--[if lt IE 7]>
  262. <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>
  263. <![endif]-->
  264. <script>
  265. (function(b, o, i, l, e, r) {
  266. b.GoogleAnalyticsObject = l;
  267. b[l] || (b[l] =
  268. function() {
  269. (b[l].q = b[l].q || []).push(arguments)
  270. });
  271. b[l].l = +new Date;
  272. e = o.createElement(i);
  273. r = o.getElementsByTagName(i)[0];
  274. e.src = '//www.google-analytics.com/analytics.js';
  275. r.parentNode.insertBefore(e, r)
  276. }(window, document, 'script', 'ga'));
  277. ga('create', 'UA-40833733-1', 'transfer.sh');
  278. ga('send', 'pageview');
  279. </script>
  280. <script src="scripts/main.js"></script>
  281. </body>
  282. </html>