Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 

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