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.
 
 
 

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