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.
 
 
 

250 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() { curl --upload-file $1 https://transfer.sh/$(basename $1); }<br>
  125. alias transfer=transfer</code>
  126. <h4>Now you can just use <strong>transfer</strong> command</h4>
  127. <code>transfer hello.txt</code>
  128. </div>
  129. </div>
  130. <div class="row">
  131. <div class="col-md-6">
  132. <h3>Transfer multiple files</h3>
  133. <h4>Upload multiple files at once
  134. </h4>
  135. <code>curl -i -F filedata=@/tmp/hello.txt -F filedata=@/tmp/hello2.txt https://transfer.sh/</code>
  136. <h4>Combining downloads as zip or tar archive</h4>
  137. <code>curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).tar.gz</code>
  138. <br>
  139. <code>curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).zip</code>
  140. </div>
  141. <div class="col-md-6">
  142. <h3>Encrypt your files before the transfer</h3>
  143. <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>
  144. <h4></h4>
  145. <code>cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt</code>
  146. <h4>Encrypt and upload</h4>
  147. <code>curl https://transfer.sh/1lDau/test.txt|gpg -o- > /tmp/hello.txt</code>
  148. </div>
  149. </div>
  150. </div>
  151. </section>
  152. <section id="share">
  153. <div class="wrapper">
  154. <h2> Share the love </h2>
  155. <ul class="share-buttons">
  156. <li>
  157. <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>
  158. </a>
  159. </li>
  160. <li>
  161. <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>
  162. </li>
  163. <li>
  164. <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>
  165. </a>
  166. </li>
  167. <li>
  168. <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>
  169. </a>
  170. </li>
  171. </ul>
  172. </div>
  173. </section>
  174. <section id="contact">
  175. <div class="wrapper">
  176. <i class="icon-mail"></i>
  177. <h2>
  178. Any questions?
  179. </h2>
  180. <a href="#" data-uv-trigger class="btn-cta">contact us</a>
  181. </div>
  182. </section>
  183. <footer>
  184. <div class="wrapper">
  185. <img src="images/Logo-orange.png" alt="Founded in Holland">
  186. <p>Made with <i class="icon-heart"></i> by <a href="http://dutchcoders.io/" title="Dutch Coders">Dutch Coders</a>
  187. </p>
  188. </div>
  189. </footer>
  190. <a href="https://github.com/dutchcoders/transfer.sh/">
  191. <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">
  192. </a>
  193. <script>
  194. (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)})()
  195. </script>
  196. <!--[if lt IE 7]>
  197. <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>
  198. <![endif]-->
  199. <script>
  200. (function (b, o, i, l, e, r) {
  201. b.GoogleAnalyticsObject = l;
  202. b[l] || (b[l] =
  203. function () {
  204. (b[l].q = b[l].q || []).push(arguments)
  205. });
  206. b[l].l = +new Date;
  207. e = o.createElement(i);
  208. r = o.getElementsByTagName(i)[0];
  209. e.src = '//www.google-analytics.com/analytics.js';
  210. r.parentNode.insertBefore(e, r)
  211. }(window, document, 'script', 'ga'));
  212. ga('create', 'UA-40833733-1', 'transfer.sh');
  213. ga('send', 'pageview');
  214. </script>
  215. <!-- build:js scripts/main.js -->
  216. <script src="bower_components/jquery/dist/jquery.js"></script>
  217. <script src="bower_components/typed.js/js/typed.js"></script>
  218. <script src="scripts/main.js"></script>
  219. <!-- endbuild -->
  220. </body>
  221. </html>