Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 

411 řádky
19 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='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:400' rel='stylesheet' type='text/css'>
  18. <link href='http://fonts.googleapis.com/css?family=Droid+Sans+Mono' rel='stylesheet' type='text/css'>
  19. <!-- build:js scripts/vendor/modernizr.js -->
  20. <script src="bower_components/modernizr/modernizr.js"></script>
  21. <!-- endbuild -->
  22. </head>
  23. <body>
  24. <script>
  25. (function(i, s, o, g, r, a, m) {
  26. i['GoogleAnalyticsObject'] = r;
  27. i[r] = i[r] || function() {
  28. (i[r].q = i[r].q || []).push(arguments)
  29. }, i[r].l = 1 * new Date();
  30. a = s.createElement(o),
  31. m = s.getElementsByTagName(o)[0];
  32. a.async = 1;
  33. a.src = g;
  34. m.parentNode.insertBefore(a, m)
  35. })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
  36. ga('create', 'UA-40833733-1', 'transfer.sh');
  37. ga('send', 'pageview');
  38. </script>
  39. <div id="navigation">
  40. <div class="wrapper">
  41. <h1>transfer.sh</h1>
  42. <ul class="hidden-xs">
  43. <li><a href="#samples">sample use cases</a>
  44. </li>
  45. <li><a href="#contact">contact us</a>
  46. </li>
  47. </ul>
  48. </div>
  49. </div>
  50. <section id="home">
  51. <div class="wrapper">
  52. <h2>
  53. Easy file sharing from the command line</h2>
  54. <div class="row animated fadeInDown">
  55. <div id="from-terminal" class=" box col-md-8 col-md-offset-2 col-xs-12">
  56. <div class="terminal-top">
  57. </div>
  58. <div id="terminal" class="terminal">
  59. <code>
  60. <span class="code-title"># Upload using cURL</span>
  61. <br>$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt https://transfer.sh/66nb8/hello.txt
  62. <br>
  63. <br>
  64. <span class="code-title"># Create an alias</span>
  65. <br>$ transfer hello.txt
  66. <br>##################################################### 100.0% https://transfer.sh/eibhM/hello.txt
  67. </code>
  68. </div>
  69. <div id="web">
  70. <code>
  71. <br>
  72. <span class="code-title"># Upload from web</span>
  73. <br>Drag your files here, or <a class="browse" href="#"> click to browse.</a>
  74. </code>
  75. <input type="file" multiple="multiple" style='display: none;' />
  76. <ul class='queue'>
  77. <li>
  78. </li>
  79. </ul>
  80. <div class='all-files'>
  81. <br>
  82. <div>
  83. <span class="code-title"># Download all your files</span>
  84. <br/>
  85. <br/>
  86. <a class="download-zip btn-cta" href="#">zip</a> <a class="download-tar btn-cta" href="#">tar.gz</a>
  87. </div>
  88. </div>
  89. </div>
  90. </div>
  91. <div>
  92. <a href="#features" class="btn-cta btn-home">learn more</i> </a>
  93. </div>
  94. </div>
  95. </section>
  96. <section id="features">
  97. <div class="wrapper container">
  98. <div class="row animated fadeInDown ">
  99. <div class="col-md-3 col-xs-6">
  100. <i class="icon-terminal"></i>
  101. <h3>Made for use with shell</h3>
  102. </div>
  103. <div class="col-md-3 col-xs-6">
  104. <i class="icon-link"></i>
  105. <h3>Share files with a URL</h3>
  106. </div>
  107. <div class="col-md-3 col-xs-6">
  108. <i class="icon-database"></i>
  109. <h3>Upload up to 5 GB</h3>
  110. </div>
  111. <div class="col-md-3 col-xs-6">
  112. <i class="icon-clock"></i>
  113. <h3>Files stored for 14 days</h3>
  114. </div>
  115. </div>
  116. <div class="row animated fadeInDown">
  117. <div class="col-md-offset-3 col-md-3 col-xs-6">
  118. <i class="icon-tag"></i>
  119. <h3>For free</h3>
  120. </div>
  121. <div class="col-md-3 col-xs-6">
  122. <i class="icon-lock"></i>
  123. <h3>Encrypt your files</h3>
  124. </div>
  125. </div>
  126. </div>
  127. </section>
  128. <section id="samples">
  129. <div class="wrapper">
  130. <h2>
  131. Sample use cases
  132. </h2>
  133. <div class="row">
  134. <div class="col-md-6 ">
  135. <h3>How to upload</h3>
  136. <div class="terminal-top">
  137. </div>
  138. <div class="terminal">
  139. <code>
  140. <span class="code-title"># Uploading is easy using curl</span>
  141. <br>$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt
  142. <br>
  143. <br>
  144. <span class="code-title"># Download the file</span>
  145. <br>$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt
  146. </code>
  147. </div>
  148. </div>
  149. <div class="col-md-6 ">
  150. <h3>Create an alias and add it to .bashrc or .zshrc</h3>
  151. <div class="terminal-top">
  152. </div>
  153. <div class="terminal">
  154. <code>
  155. <span class="code-title"># Add this to .bashrc or its equivalent</span>
  156. <br/>transfer() {
  157. <br># write to output to tmpfile because of progress bar
  158. <br>tmpfile=$( mktemp -t transferXXX ); curl --progress-bar --upload-file $1 https://transfer.sh/$(basename $1) >> $tmpfile; cat $tmpfile; rm -f $tmpfile; }
  159. <br/>
  160. <br/>alias transfer=transfer
  161. <br/>
  162. <br/>
  163. <span class="code-title"># Now you can use transfer command</span>
  164. <br>$ transfer hello.txt
  165. </code>
  166. </div>
  167. </div>
  168. </div>
  169. <a class="btn-cta" data-target="#coll" data-toggle="collapse">More examples</a>
  170. <div class="collapse " id="coll">
  171. <div class="row">
  172. <div class="col-md-6 ">
  173. <h3>Upload multiple files at once</h3>
  174. <div class="terminal-top">
  175. </div>
  176. <div class="terminal">
  177. <code>
  178. <br>$ curl -i -F filedata=@/tmp/hello.txt -F filedata=@/tmp/hello2.txt https://transfer.sh/
  179. <br>
  180. <br>
  181. <span class="code-title"># Combining downloads as zip or tar archive</span>
  182. <br>$ curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).tar.gz
  183. <br/>$ curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).zip
  184. </code>
  185. </div>
  186. </div>
  187. <div class="col-md-6 ">
  188. <h3>Encrypt your files before the transfer</h3>
  189. <div class="terminal-top">
  190. </div>
  191. <div class="terminal">
  192. <code>
  193. <span class="code-title"># Encrypt files with password using gpg</span>
  194. <br>$ cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt
  195. <br>
  196. <br>
  197. <span class="code-title"># Encrypt and upload</span>
  198. <br>$ curl https://transfer.sh/1lDau/test.txt|gpg -o- > /tmp/hello.txt
  199. </code>
  200. </div>
  201. </div>
  202. </div>
  203. <div class="row">
  204. <div class="col-md-6">
  205. <h3>Scan for malware</h3>
  206. <div class="terminal-top">
  207. </div>
  208. <div class="terminal">
  209. <code>
  210. <span class="code-title"># Scan for malware or viruses using Clamav</span>
  211. <br>$ wget http://www.eicar.org/download/eicar.com
  212. <br>$ curl -X PUT --upload-file ./eicar.com https://transfer.sh/eicar.com/scan
  213. <br><br>
  214. <span class="code-title"># Upload malware to VirusTotal, get a permalink in return</span>
  215. <br>$ curl -X PUT --upload-file nhgbhhj https://transfer.sh/test.txt/virustotal
  216. <br>
  217. </code>
  218. </div>
  219. </div>
  220. <div class="col-md-6">
  221. <h3>Backup mysql database, encrypt and transfer</h3>
  222. <div class="terminal-top">
  223. </div>
  224. <div class="terminal">
  225. <code>
  226. <span class="code-title"># Backup, encrypt and transfer</span>
  227. <br/>$ mysqldump --all-databases|gzip|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt </code>
  228. </div>
  229. </div>
  230. </div>
  231. <div class="row">
  232. <div class="col-md-6">
  233. <h3>Send email with transfer link (uses alias)</h3>
  234. <div class="terminal-top">
  235. </div>
  236. <div class="terminal">
  237. <code>
  238. <span class="code-title"># Transfer and send email with link (uses alias)</span>
  239. <br/>$ transfer /tmp/hello.txt | mail -s "Hello World" user@yourmaildomain.com
  240. </code>
  241. </div>
  242. </div>
  243. <div class="col-md-6">
  244. <h3>Send us your awesome example</h3>
  245. <div class="terminal-top">
  246. </div>
  247. <div class="terminal">
  248. <code>
  249. <span class="code-title"># Your awesome sample will be put here</span>
  250. </code>
  251. </div>
  252. </div>
  253. </div>
  254. </div>
  255. </div>
  256. </section>
  257. <section id="reviews">
  258. <div class="wrapper">
  259. <div class="row">
  260. <div class="col-md-8 col-md-offset-2 col-xs-12">
  261. <blockquote class="twitter-tweet tweet-xl" lang="en">
  262. <img class="twitter-profile" src="images/reviews/dave.jpg" alt="">
  263. <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>
  264. <a href="https://twitter.com/FloifyDave/status/517383101425516544">
  265. &mdash; Dave Sims (@FloifyDave)</a>
  266. </blockquote>
  267. </div>
  268. </div>
  269. <div class="row">
  270. <div class="col-md-6 col-xs-12">
  271. <blockquote class="twitter-tweet" lang="en">
  272. <img class="twitter-profile" src="images/reviews/kareem.jpg" alt="">
  273. <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>
  274. </blockquote>
  275. </div>
  276. <div class="col-md-6 col-xs-12">
  277. <blockquote class="twitter-tweet" lang="en">
  278. <img class="twitter-profile" src="images/reviews/pg.jpeg" alt="">
  279. <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>
  280. </blockquote>
  281. </div>
  282. </div>
  283. <div class="row">
  284. <div class="col-md-6 col-xs-12">
  285. <blockquote class="twitter-tweet" lang="en">
  286. <img class="twitter-profile" src="images/reviews/jacob.jpg" alt="">
  287. <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>
  288. </p><a href="https://twitter.com/jacoblindgren11/status/516975006501203968">&mdash; Jacob Lindgren (@jacoblindgren11) </a>
  289. </blockquote>
  290. </div>
  291. <div class="col-md-6 col-xs-12">
  292. <blockquote class="twitter-tweet" lang="en">
  293. <img class="twitter-profile" src="images/reviews/lars.jpg" alt="">
  294. <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>
  295. </blockquote>
  296. </div>
  297. </div>
  298. </div>
  299. </section>
  300. <section id="share">
  301. <div class="wrapper">
  302. <h2>Share the love</h2>
  303. <ul class="share-buttons">
  304. <li>
  305. <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>
  306. </a>
  307. </li>
  308. <li>
  309. <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>
  310. </li>
  311. <li>
  312. <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>
  313. </a>
  314. </li>
  315. <li>
  316. <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>
  317. </a>
  318. </li>
  319. </ul>
  320. </div>
  321. </section>
  322. <section id="contact">
  323. <div class="wrapper">
  324. <i class="icon-mail"></i>
  325. <h2>
  326. Any questions?
  327. </h2>
  328. <a href="#" data-uv-trigger class="btn-cta">contact us</a>
  329. </div>
  330. </section>
  331. <footer>
  332. <div class="wrapper">
  333. <img src="images/Logo-orange.png" alt="Founded in Holland">
  334. <p>Made with <i class="icon-heart"></i> by <a href="http://dutchcoders.io/" title="Dutch Coders">Dutch Coders</a>
  335. </p>
  336. </div>
  337. </footer>
  338. <a href="https://github.com/dutchcoders/transfer.sh/">
  339. <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">
  340. </a>
  341. <script>
  342. (function() {
  343. var uv = document.createElement('script');
  344. uv.type = 'text/javascript';
  345. uv.async = true;
  346. uv.src = '//widget.uservoice.com/5rkATbLIm8ClJQeOirOhFg.js';
  347. var s = document.getElementsByTagName('script')[0];
  348. s.parentNode.insertBefore(uv, s)
  349. })()
  350. </script>
  351. <!--[if lt IE 7]>
  352. <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>
  353. <![endif]-->
  354. <script>
  355. (function(b, o, i, l, e, r) {
  356. b.GoogleAnalyticsObject = l;
  357. b[l] || (b[l] =
  358. function() {
  359. (b[l].q = b[l].q || []).push(arguments)
  360. });
  361. b[l].l = +new Date;
  362. e = o.createElement(i);
  363. r = o.getElementsByTagName(i)[0];
  364. e.src = '//www.google-analytics.com/analytics.js';
  365. r.parentNode.insertBefore(e, r)
  366. }(window, document, 'script', 'ga'));
  367. ga('create', 'UA-40833733-1', 'transfer.sh');
  368. ga('send', 'pageview');
  369. </script>
  370. <!-- build:js scripts/main.js -->
  371. <script src="bower_components/jquery/dist/jquery.js"></script>
  372. <script src="bower_components/uri.js/src/URI.min.js"></script>
  373. <script src="bower_components/bootstrap/js/transition.js"></script>
  374. <script src="bower_components/bootstrap/js/collapse.js"></script>
  375. <script src="scripts/main.js"></script>
  376. <!-- endbuild -->
  377. </body>
  378. </html>