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.
 
 
 

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