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.
 
 
 

249 lines
11 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="http://fonts.googleapis.com/css?family=Source+Sans+Pro:100,200,300" rel="stylesheet" type="text/css">
  17. <link href="http://fonts.googleapis.com/css?family=Source+Code+Pro:300" 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){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  23. (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  24. m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  25. })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  26. ga('create', 'UA-40833733-1', 'transfer.sh');
  27. ga('send', 'pageview');
  28. </script>
  29. <div id="navigation">
  30. <div class="wrapper">
  31. <h1>transfer.sh</h1>
  32. <ul>
  33. <li><a href="#samples">Sample use cases</a>
  34. </li>
  35. <li><a href="#contact">contact us</a>
  36. </li>
  37. </ul>
  38. </div>
  39. </div>
  40. <section id="home">
  41. <div class="wrapper">
  42. <h2>
  43. Upload and share your files
  44. </h2>
  45. <div class="row">
  46. <div id="from-terminal" class="box">
  47. <h3>Easy sharing from the command-line</h3>
  48. <div id="terminal">
  49. <p style="white-space:pre"></p>
  50. </div>
  51. </div>
  52. <div id="from-web" class="">
  53. <h3>From web</h3>
  54. <div id="web">
  55. <a class="browse" href="#">
  56. <i class="icon-upload-cloud"></i>
  57. <p class="click">Drag your files here to upload or click to browse</p>
  58. </a>
  59. <input type="file" multiple="multiple" style="display: none">
  60. <ul class="queue" style="color: black; list-style-type: none; margin: 0">
  61. <li>
  62. </li>
  63. </ul>
  64. <div class="span8 all-files" style="margin: 0; opacity: 0">
  65. download all files link <a class="download-zip" href="#">zip</a> <a class="download-tar" href="#">tar.gz</a>
  66. </div>
  67. <div>
  68. </div>
  69. </div>
  70. </div>
  71. <a href="#features" class="btn-cta">learn more </a>
  72. </div>
  73. </div></section>
  74. <section id="features">
  75. <div class="wrapper">
  76. <div class="row">
  77. <div class="col-md-3 col-xs-3">
  78. <i class="icon-terminal"></i>
  79. <h3>Made for us with shell</h3>
  80. </div>
  81. <div class="col-md-3 col-xs-3">
  82. <i class="icon-link"></i>
  83. <h3>Share files just with a URL</h3>
  84. </div>
  85. <div class="col-md-3 col-xs-3">
  86. <i class="icon-database"></i>
  87. <h3>Upload up to 5 GB</h3>
  88. </div>
  89. <div class="col-md-3 col-xs-3">
  90. <i class="icon-clock"></i>
  91. <h3>Files are stored for 14 days</h3>
  92. </div>
  93. </div>
  94. <div class="row">
  95. <div class="col-md-offset-3 col-md-3 col-xs-3">
  96. <i class="icon-tag"></i>
  97. <h3>For free</h3>
  98. </div>
  99. <div class="col-md-3 col-xs-3">
  100. <i class="icon-lock"></i>
  101. <h3>Encrypt your files</h3>
  102. </div>
  103. </div>
  104. </div>
  105. </section>
  106. <section id="samples">
  107. <div class="wrapper">
  108. <h2>
  109. Sample use cases
  110. </h2>
  111. <div class="row">
  112. <div class="col-md-6">
  113. <h3>Uploading</h3>
  114. <h4>Uploading is easy using curl.</h4>
  115. <code>curl --upload-file ./hello.txt https://transfer.sh/hello.txt</code>
  116. <h4>Download the file.</h4>
  117. <code>curl --upload-file ./hello.txt https://transfer.sh/hello.txt</code>
  118. </div>
  119. <div class="col-md-6">
  120. <h3>Make an alias</h3>
  121. <h4>Create an alias, and add it to .bashrc for faster use</h4>
  122. <code>transfer() {
  123. # write to output to tmpfile because of progress bar
  124. tmpfile=$( mktemp -t transfer )
  125. curl --progress-bar --upload-file $1 https://transfer.sh/$(basename $1) >> $tmpfile;
  126. cat $tmpfile;
  127. rm -f $tmpfile;
  128. }
  129. alias transfer=transfer</code>
  130. <h4>Now you can just use <strong>transfer</strong> command</h4>
  131. <code>transfer hello.txt</code>
  132. </div>
  133. </div>
  134. <div class="row">
  135. <div class="col-md-6">
  136. <h3>Transfer multiple files</h3>
  137. <h4>Upload multiple files at once
  138. </h4>
  139. <code>curl -i -F filedata=@/tmp/hello.txt -F filedata=@/tmp/hello2.txt https://transfer.sh/</code>
  140. <h4>Combining downloads as zip or tar archive</h4>
  141. <code>curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).tar.gz</code>
  142. <br>
  143. <code>curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).zip</code>
  144. </div>
  145. <div class="col-md-6">
  146. <h3>Encrypt your files before the transfer</h3>
  147. <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>
  148. <h4></h4>
  149. <code>cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt</code>
  150. <h4>Encrypt and upload</h4>
  151. <code>curl https://transfer.sh/1lDau/test.txt|gpg -o- > /tmp/hello.txt</code>
  152. </div>
  153. </div>
  154. </div>
  155. </section>
  156. <section id="share">
  157. <div class="wrapper">
  158. <h2> Share the love </h2>
  159. <ul class="share-buttons">
  160. <li>
  161. <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>
  162. </a>
  163. </li>
  164. <li>
  165. <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>
  166. </a></li>
  167. <li>
  168. <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>
  169. </a>
  170. </li>
  171. <li>
  172. <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>
  173. </a>
  174. </li>
  175. </ul>
  176. </div>
  177. </section>
  178. <section id="contact">
  179. <div class="wrapper">
  180. <i class="icon-mail"></i>
  181. <h2>
  182. Any questions?
  183. </h2>
  184. <a href="#" data-uv-trigger class="btn-cta">contact us</a>
  185. </div>
  186. </section>
  187. <footer>
  188. <div class="wrapper">
  189. <img src="images/Logo-orange.png" alt="Founded in Holland">
  190. <p>Made with <i class="icon-heart"></i> by <a href="http://dutchcoders.io/" title="Dutch Coders">Dutch Coders</a>
  191. </p>
  192. </div>
  193. </footer>
  194. <a href="https://github.com/dutchcoders/transfer.sh/">
  195. <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">
  196. </a>
  197. <script>
  198. (function(){var uv=document.createElement('script');uv.type='text/javascript';uv.async=true;uv.src='//widget.uservoice.com/5rkATbLIm8ClJQeOirOhFg.js';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(uv,s)})()
  199. </script>
  200. <!--[if lt IE 7]>
  201. <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>
  202. <![endif]-->
  203. <script>
  204. (function (b, o, i, l, e, r) {
  205. b.GoogleAnalyticsObject = l;
  206. b[l] || (b[l] =
  207. function () {
  208. (b[l].q = b[l].q || []).push(arguments)
  209. });
  210. b[l].l = +new Date;
  211. e = o.createElement(i);
  212. r = o.getElementsByTagName(i)[0];
  213. e.src = '//www.google-analytics.com/analytics.js';
  214. r.parentNode.insertBefore(e, r)
  215. }(window, document, 'script', 'ga'));
  216. ga('create', 'UA-40833733-1', 'transfer.sh');
  217. ga('send', 'pageview');
  218. </script>
  219. <script src="scripts/main.js"></script>
  220. </body>
  221. </html>